Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Jun 18, 2024
1 parent 2e3a18d commit 968065d
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions 2024/template/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 968065d

Please sign in to comment.