font, refactor file and adjust some more sizes.

This commit is contained in:
me committed 2026-10-05 08:42:12 -07:00
1 parent a5bcf0c054
commit fc2668008d
1 file changed
+38 -37
+38 -37
View File
@@ -19,24 +19,7 @@
}
/* */
/*** Font Sizes ***/
html {
font-size: 16px;
/* Prevent Firefox Reader Inconsistency */
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
font-size: 1rem;
}
code, pre {
font-size: 0.8rem;
code, pre, .mono {
font-family:
ui-monospace,
SFMono-Regular,
@@ -48,28 +31,46 @@
;
}
p, li, a {
font-size: 1rem;
/*** Font Sizes ***/
html {
font-size: 16px;
/* Prevent Firefox Reader Inconsistency */
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
}
b, figcaption {
font-size: 1.1rem;
font-weight: bold;
}
code, pre { font-size: 0.8rem; }
strong, img {
font-size: 1.2rem;
font-weight: bolder;
}
body { font-size: 1rem; }
p, li, a { font-size: 1rem; }
h6, h5 {
font-size: 1.5rem;
}
b { font-size: 1.05rem; }
figcaption { font-size: 1.1rem; }
strong { font-size: 1.2rem; }
img { font-size: 1.25rem; }
h4, h3 {
font-size: 1.75rem;
}
/* More Subtle */
h6 { font-size: 1.3rem; }
h5 { font-size: 1.4rem; }
h4 { font-size: 1.5rem; }
h3 { font-size: 1.6rem; }
h2 { font-size: 1.7rem; }
h1 { font-size: 1.8rem; }
/* */
h2, h1 {
font-size: 2rem;
}
/* More Pronounced * /
h6 { font-size: 1.30rem; }
h5 { font-size: 1.55rem; }
h4 { font-size: 1.80rem; }
h3 { font-size: 1.95rem; }
h2 { font-size: 2.10rem; }
h1 { font-size: 2.35rem; }
/* */
/*** Font Weights ***/
b, figcaption { font-weight: bold; }
strong, img { font-weight: bolder; }