Improve CSS code formatting.

This commit is contained in:
inference 2022-12-25 10:19:05 +00:00
parent 57f086eb6d
commit 0ce02cc8a2
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

48
inf.css
View File

@ -3,7 +3,7 @@
/* Copyright 2022-2023 Inference */ /* Copyright 2022-2023 Inference */
/* SPDX-License-Identifier: BSD-3-Clause-Clear */ /* SPDX-License-Identifier: BSD-3-Clause-Clear */
/* Version: 0.2.0.2 */ /* Version: 0.3.0.3 */
h1 { h1 {
@ -137,25 +137,33 @@ table, th, td {
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.sidebar { .sidebar {
width: 100vw; width: 100vw;
height: auto; height: auto;
font-size: 0px; font-size: 0px;
padding-top: 5px; padding-top: 5px;
} }
.sidebar div {
font-size: min(max(7vw, 20px), 30px); .sidebar div {
display: inline-block; font-size: min(max(7vw, 20px), 30px);
} display: inline-block;
.sidebar img, .sidebar .title { }
display: none;
} .sidebar img, .sidebar .title {
body { display: none;
margin: 15px; }
}
body {
margin: 15px;
}
} }
@media (max-width: 300px) { @media (max-width: 300px) {
body { /*h1 {
padding-top: 80px; text-align: center;
} }*/
body {
padding-top: 80px;
}
} }