Move body CSS to top of sections since it is most prevalent.

This commit is contained in:
inference 2023-04-05 07:48:53 +01:00
parent 855766da91
commit 49f3128e39
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

76
inf.css
View File

@ -3,7 +3,37 @@
/* Copyright 2022-2023 Jake Winters */
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
/* Version: 9.1.0.26 */
/* Version: 9.1.1.27 */
/* Body */
body {
padding-top: 40px;
margin-left: min(400px, 45vw);
margin-right: min(150px, 12vw);
font-family: Roboto, sans-serif;
font-size: 20px;
line-height: 120%;
background-color: #262626;
}
.body-link {
font-family: Roboto, sans-serif;
font-size: 18px;
text-decoration: none;
}
.body-link:link {
color: #5dade2;
}
.body-link:visited {
color: #bb8fce;
}
.body-link:hover {
text-decoration: underline;
}
/* Heading 1 */
@ -55,36 +85,6 @@ h6, .h6 {
}
/* Body */
body {
padding-top: 40px;
margin-left: min(400px, 45vw);
margin-right: min(150px, 12vw);
font-family: Roboto, sans-serif;
font-size: 20px;
line-height: 120%;
background-color: #262626;
}
.body-link {
font-family: Roboto, sans-serif;
font-size: 18px;
text-decoration: none;
}
.body-link:link {
color: #5dade2;
}
.body-link:visited {
color: #bb8fce;
}
.body-link:hover {
text-decoration: underline;
}
/* Paragraph */
p {
font-family: Roboto, sans-serif;
@ -205,6 +205,13 @@ strong {
overflow-x: hidden;
}
body {
padding-top: 80px;
margin: 15px;
position: relative;
overflow-x: hidden;
}
.sidebar {
width: 100vw;
height: 40px;
@ -251,11 +258,4 @@ strong {
.update_date {
text-align: center;
}
body {
padding-top: 80px;
margin: 15px;
position: relative;
overflow-x: hidden;
}
}