src

Go monorepo.
Log | Files | Refs

commit 55d746107242c5e0f7c1db2319375f6fa725ec38
parent ce8debcc2bb295fd7730975bd62624065070ac1b
Author: dwrz <dwrz@dwrz.net>
Date:   Wed, 18 Jan 2023 16:45:40 +0000

Refactor web css

Diffstat:
Mcmd/web/site/static/css/dwrz.css | 16++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/cmd/web/site/static/css/dwrz.css b/cmd/web/site/static/css/dwrz.css @@ -257,13 +257,18 @@ pre > code { .text-right { text-align: right; } + +.text-right-if-wide { + text-align: left; +} + .text-small { font-size: 0.75em; } .split-row { display: grid; - grid-template-columns: auto auto; + grid-template-columns: auto; max-width: 100%; } @@ -542,6 +547,12 @@ pre > code { body { max-width: 66%; } + .split-row { + grid-template-columns: auto auto; + } + .text-right-if-wide { + text-align: right; + } .timeline-row { grid-template-columns: 1fr 1fr; } @@ -551,7 +562,4 @@ pre > code { body { max-width: 50%; } - .timeline-row { - grid-template-columns: 1fr 1fr; - } }