From 968065da02dfd9a84ffcd199f447be4c62205890 Mon Sep 17 00:00:00 2001 From: Juan Carlos Ponce Campuzano <37394697+jcponce@users.noreply.github.com> Date: Tue, 18 Jun 2024 14:28:40 +1000 Subject: [PATCH] Update style.css --- 2024/template/css/style.css | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/2024/template/css/style.css b/2024/template/css/style.css index 173e26ca..88054c49 100644 --- a/2024/template/css/style.css +++ b/2024/template/css/style.css @@ -76,21 +76,9 @@ html { font-size: 1.5rem; } -@media (prefers-reduced-motion: no-preference) { - html { - scroll-behavior: smooth; - } -} -/* Media query for smaller screens - Top bar */ -@media only screen and (max-width: 500px) { - html { - font-size: 0.9rem; - } -} body { - font-family: 'Latin Modern', Georgia, Cambria, 'Times New Roman', Times, serif; line-height: 1.5; background-color: var(--body-bg-color); @@ -116,6 +104,19 @@ p { margin-top: 1rem; } +@media (prefers-reduced-motion: no-preference) { + html { + scroll-behavior: smooth; + } +} + +/* Media query for smaller screens - Top bar */ +@media only screen and (max-width: 400px) { + html { + font-size: 0.9rem; + } +} + /* Indents paragraphs like in LaTeX documents*/ .indent-pars p { text-indent: var(--text-indent-size); @@ -413,7 +414,7 @@ summary { .head-1.head-1-level2 { counter-increment: subsection-1; - font-size: 1.775rem; + font-size: 1.5rem; } .head-1.head-1-level2::before { @@ -422,7 +423,7 @@ summary { .head-1.head-1-level3 { counter-increment: subsubsection-1; - font-size: 1.4rem; + font-size: 1.3rem; } .head-1.head-1-level3::before { @@ -442,7 +443,7 @@ summary { .head-2.head-2-level2 { counter-increment: subsection-2; - font-size: 1.875rem; + font-size: 1.5rem; } .head-2.head-2-level2::before { @@ -451,7 +452,7 @@ summary { .head-2.head-2-level3 { counter-increment: subsubsection-2; - font-size: 1.5rem; + font-size: 1.3rem; } .head-2.head-2-level3::before { @@ -471,7 +472,7 @@ summary { .head-3.head-3-level2 { counter-increment: subsection-3; - font-size: 1.875rem; + font-size: 1.5rem; } .head-3.head-3-level2::before { @@ -480,7 +481,7 @@ summary { .head-3.head-3-level3 { counter-increment: subsubsection-3; - font-size: 1.5rem; + font-size: 1.3rem; } .head-3.head-3-level3::before {