*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { background: #fff; font-family: 'Source Sans 3', Georgia, sans-serif; color: #111; font-size: 15px; line-height: 1.6; } .page { max-width: 780px; margin: 0 auto; padding: 3rem 2.5rem 5rem; } /* BACK BUTTON */ .back { position: fixed; top: 1.2rem; left: 1.5rem; font-family: 'Source Sans 3', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: #aaa; transition: color 0.15s; z-index: 101; } .back:hover { color: #111; } /* HEADER */ .page-header { margin-bottom: 1.5rem; } .page-header h1 { font-family: 'EB Garamond', Georgia, serif; font-size: 2rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #111; margin-bottom: 0.3rem; } .page-header .subtitle { font-family: 'EB Garamond', Georgia, serif; font-size: 1rem; font-style: italic; color: #666; } hr.thick { border: none; border-top: 2px solid #111; margin: 1rem 0 0; } /* ARTICLE LIST */ .articles { margin-top: 2rem; display: flex; flex-direction: column; } .article { padding: 2rem 0; border-bottom: 0.5px solid #ddd; } .article:last-child { border-bottom: none; } .article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.6rem; } .article-date { font-family: 'Source Sans 3', sans-serif; font-size: 0.72rem; color: #aaa; letter-spacing: 0.06em; } .article-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; } .tag { font-family: 'Source Sans 3', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #888; border: 0.5px solid #ddd; padding: 0.15rem 0.5rem; border-radius: 2px; } .article-title { font-family: 'EB Garamond', Georgia, serif; font-size: 1.3rem; font-weight: 600; color: #111; line-height: 1.3; margin-bottom: 0.5rem; } .todo { font-family: 'Source Sans 3', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #aaa; vertical-align: middle; margin-left: 0.6rem; } .article-summary { font-size: 0.88rem; color: #555; line-height: 1.7; margin-bottom: 1rem; } /* ARTICLE BODY — visible when expanded */ .article-body { display: none; font-size: 0.88rem; color: #333; line-height: 1.8; border-left: 2px solid #111; padding-left: 1.25rem; margin-bottom: 1rem; } .article-body p { margin-bottom: 0.75rem; } .article-body p:last-child { margin-bottom: 0; } .article-body code { font-family: 'Courier New', monospace; font-size: 0.82rem; background: #f5f5f5; padding: 0.1rem 0.35rem; border-radius: 2px; color: #333; } .article-body pre { background: #f5f5f5; padding: 1rem 1.25rem; border-radius: 3px; overflow-x: auto; margin: 0.75rem 0; font-size: 0.8rem; font-family: 'Courier New', monospace; line-height: 1.6; } .article-body h3 { font-family: 'Source Sans 3', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #111; margin: 1.25rem 0 0.5rem; padding-bottom: 0.2rem; border-bottom: 1px solid #eee; } .article-body ul { list-style: disc; margin-left: 1.2rem; display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.75rem; } /* READ MORE / CLOSE toggle */ .toggle-btn { background: none; border: none; cursor: pointer; font-family: 'Source Sans 3', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #111; padding: 0; display: flex; align-items: center; gap: 0.4rem; transition: opacity 0.15s; } .toggle-btn:hover { opacity: 0.6; } .toggle-arrow { display: inline-block; transition: transform 0.2s; font-size: 0.8rem; } .toggle-btn.open .toggle-arrow { transform: rotate(90deg); } /* FOOTER */ .page-footer { margin-top: 3rem; padding-top: 0.65rem; border-top: 0.5px solid #ccc; display: flex; justify-content: space-between; font-size: 0.72rem; color: #aaa; } @media (max-width: 560px) { .page { padding: 3rem 1.5rem 4rem; } .article-meta { flex-direction: column; align-items: flex-start; gap: 0.4rem; } } @media print { .back { display: none; } .article-body { display: block !important; } .toggle-btn { display: none; } }