summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-11 14:53:18 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-03-11 14:53:18 -0700
commit2ea09c36e53c30127122b10341394efb4e8f70fd (patch)
tree9c7b15117c9237e3eda72fa9487b58cd0aca918a /style.scss
parent9ed3176a5f627f488ee3804cfcca248620ad299b (diff)
parente52cf6c709dff76974580c01761f3a556c7a4883 (diff)
Merge branch 'feat/csp'
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss27
1 files changed, 15 insertions, 12 deletions
diff --git a/style.scss b/style.scss
index db04896..dc90ab0 100644
--- a/style.scss
+++ b/style.scss
@@ -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%;