diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-11 14:53:18 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-11 14:53:18 -0700 |
| commit | 2ea09c36e53c30127122b10341394efb4e8f70fd (patch) | |
| tree | 9c7b15117c9237e3eda72fa9487b58cd0aca918a /style.scss | |
| parent | 9ed3176a5f627f488ee3804cfcca248620ad299b (diff) | |
| parent | e52cf6c709dff76974580c01761f3a556c7a4883 (diff) | |
Merge branch 'feat/csp'
Diffstat (limited to 'style.scss')
| -rw-r--r-- | style.scss | 27 |
1 files changed, 15 insertions, 12 deletions
@@ -102,6 +102,11 @@ body { flex-direction: column; align-items: center; min-height: 100vh; + + @media (max-width: 1250px) { + padding-left: 0; + font-size: 20px; + } } h1, h2, h3 { line-height: 1.2; font-family: var(--font-header), serif; } @@ -123,7 +128,14 @@ h1 { line-height: 1.3; } -h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: 0.6rem; } +h2 { + font-size: 1.6rem; + margin-top: 2.5rem; + margin-bottom: 0.6rem; + + @media (max-width: 768px) { font-size: 1.5rem; } +} + h3 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.4rem; letter-spacing: 0.02em; } h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-main); } h5 { font-size: 1rem; font-weight: 700; color: var(--link-color); } @@ -616,23 +628,14 @@ pre { } h2 { display: none !important; } + + @media (max-width: 1250px) { display: none !important; } } #postamble { text-align: center; } -@media (max-width: 1250px) { - body { - padding-left: 0; - font-size: 20px; - } - #table-of-contents { display: none !important; } - h1 { font-size: 1.8rem; } - h2 { font-size: 18px; } -} @media (max-width: 768px) { - h2 { font-size: 1.5rem; } - blockquote, .src, .example { max-width: 100%; width: 100%; |
