summaryrefslogtreecommitdiff
path: root/site/tufte.css
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2025-06-05 21:30:33 +0200
committerThomas Bracht Laumann Jespersen <t@laumann.xyz>2025-06-05 21:30:33 +0200
commit84b690692c55a8a57bf2b039926b4acfe3071e64 (patch)
tree9c2a8a386fceec8dc58c773e30a4f0536d7c4ce4 /site/tufte.css
parent40f76d2636d3ec443323d96479768b5a34403c6d (diff)
site: adjusting some styling, primarily use 'sans' for headersHEADmaster
Diffstat (limited to 'site/tufte.css')
-rw-r--r--site/tufte.css21
1 files changed, 13 insertions, 8 deletions
diff --git a/site/tufte.css b/site/tufte.css
index c0588fd..a2832a3 100644
--- a/site/tufte.css
+++ b/site/tufte.css
@@ -65,11 +65,12 @@ body {
}
h1 {
- font-weight: 400;
+ font-weight: bold;
margin-top: 4rem;
margin-bottom: 1.5rem;
font-size: 3.2rem;
line-height: 1;
+ font-family: sans;
}
h2 {
@@ -79,6 +80,7 @@ h2 {
margin-bottom: 1.4rem;
font-size: 1.5rem;
line-height: 1;
+ font-family: sans;
}
h3 {
@@ -88,6 +90,7 @@ h3 {
margin-top: 2rem;
margin-bottom: 1.4rem;
line-height: 1;
+ font-family: sans;
}
hr {
@@ -101,12 +104,13 @@ hr {
}
p.subtitle {
- font-style: italic;
+ /* font-style: italic; */
margin-top: 1rem;
margin-bottom: 1rem;
- font-size: 1.8rem;
+ font-size: 1.4rem;
display: block;
line-height: 1;
+ font-family: sans;
}
.numeral {
@@ -265,7 +269,8 @@ img {
}
.sidenote-number:before {
- content: " " " [";
+ content: " [";
+ white-space: pre;
}
.sidenote-number:after {
content: counter(sidenote-counter) "] ";
@@ -320,10 +325,10 @@ h3 > code {
font-size: 0.80em;
}
-.marginnote > code,
-.sidenote > code {
- font-size: 1rem;
-}
+/* .marginnote > code, */
+/* .sidenote > code { */
+/* font-size: 1rem; */
+/* } */
pre > code {
font-size: 0.9rem;