From: Ruben Beltran del Rio Date: Mon, 23 Sep 2024 20:19:32 +0000 (+0200) Subject: Use arruti style for css X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/543450957feb24a6b0dcaec554bb6cecaca2d534?ds=sidebyside Use arruti style for css --- diff --git a/css/style.css b/css/style.css index 5b9a312..8d98dea 100644 --- a/css/style.css +++ b/css/style.css @@ -1,6 +1,4 @@ -html { - scroll-behavior: smooth; -} +html { scroll-behavior: smooth } body { font-size: 1em; @@ -23,33 +21,20 @@ aside { } @media only screen and (min-width: 500px) { - body { - overflow-x: auto; - } - - main { - padding: 0 0 0 66px - } - - .columned { - width: max-content; - } + body { overflow-x: auto } + main { padding: 0 0 0 74px } + .columned { width: max-content } .columned .h2:not(:only-child) { float: left; margin: 0 40px; } - .columned .h2:not(:only-child) h2 { - width: 14.6em; - } + .columned .h2:not(:only-child) h2 { width: 14.6em } .columned .h2:not(:only-child) .h3, .columned .h2:not(:only-child) li, - .columned .h2:not(:only-child) p { - width: 24em; - } - + .columned .h2:not(:only-child) p { width: 24em } .columned .h2:not(:only-child) pre { width: 25em } header { @@ -58,9 +43,7 @@ aside { } } -.columned .h2:first-of-type pre { - line-height: 1; -} +.columned .h2:first-of-type pre { line-height: 1 } blockquote, p, article > div { margin: 0 0.3em; @@ -116,11 +99,7 @@ canvas { min-height: 48px; } - a:visited { - color: #ed6eff; - } + a:visited { color: #ed6eff } - pre { - background-color: #222; - } + pre { background-color: #222 } }