fix: making font size 10% smaller.

This commit is contained in:
ajspig 2025-12-11 15:40:19 -05:00
parent fef2330945
commit 66d18f9fd7
2 changed files with 15 additions and 15 deletions

View File

@ -156,7 +156,7 @@ a {
margin: 0 auto; margin: 0 auto;
& article { & article {
& > h1 { & > h1 {
font-size: 2rem; font-size: 1.8rem;
} }
& li:has(> input[type="checkbox"]) { & li:has(> input[type="checkbox"]) {
@ -389,19 +389,19 @@ h6 {
// typography improvements // typography improvements
h1 { h1 {
font-size: 1.75rem; font-size: 1.58rem;
margin-top: 2.25rem; margin-top: 2.25rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
h2 { h2 {
font-size: 1.4rem; font-size: 1.26rem;
margin-top: 1.9rem; margin-top: 1.9rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
h3 { h3 {
font-size: 1.12rem; font-size: 1.01rem;
margin-top: 1.62rem; margin-top: 1.62rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@ -409,7 +409,7 @@ h3 {
h4, h4,
h5, h5,
h6 { h6 {
font-size: 1rem; font-size: 0.9rem;
margin-top: 1.5rem; margin-top: 1.5rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@ -422,7 +422,7 @@ figure[data-rehype-pretty-code-figure] {
& > [data-rehype-pretty-code-title] { & > [data-rehype-pretty-code-title] {
font-family: var(--codeFont); font-family: var(--codeFont);
font-size: 0.9rem; font-size: 0.81rem;
padding: 0.1rem 0.5rem; padding: 0.1rem 0.5rem;
border: 1px solid var(--lightgray); border: 1px solid var(--lightgray);
width: fit-content; width: fit-content;
@ -451,7 +451,7 @@ pre {
& > code { & > code {
background: none; background: none;
padding: 0; padding: 0;
font-size: 0.85rem; font-size: 0.77rem;
counter-reset: line; counter-reset: line;
counter-increment: line 0; counter-increment: line 0;
display: grid; display: grid;
@ -506,7 +506,7 @@ code {
tbody, tbody,
li, li,
p { p {
line-height: 1.6rem; line-height: 1.44rem;
} }
.table-container { .table-container {

View File

@ -71,27 +71,27 @@ iframe {
/* } */ /* } */
.explorer { .explorer {
font-size: 0.85rem; font-size: 0.77rem;
.folder, .file { .folder, .file {
a { a {
font-size: 0.85rem; font-size: 0.77rem;
font-weight: 200 !important; font-weight: 200 !important;
} }
} }
} }
.toc { .toc {
font-size: 0.85rem; font-size: 0.77rem;
a { a {
font-size: 0.85rem; font-size: 0.77rem;
font-weight: 600 !important; font-weight: 600 !important;
} }
} }
body { body {
font-size: 0.95rem; font-size: 0.86rem;
} }
input[type="search"] { input[type="search"] {