Make h3 elements center-aligned on devices with displays less than 600 px wide.

This commit is contained in:
inference 2022-12-26 00:52:37 +00:00
parent 0ce02cc8a2
commit 9266164ed4
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

10
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.3.0.3 */ /* Version: 0.4.0.4 */
h1 { h1 {
@ -153,15 +153,19 @@ table, th, td {
display: none; display: none;
} }
h3 {
text-align: center;
}
body { body {
margin: 15px; margin: 15px;
} }
} }
@media (max-width: 300px) { @media (max-width: 300px) {
/*h1 { h3 {
text-align: center; text-align: center;
}*/ }
body { body {
padding-top: 80px; padding-top: 80px;