X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=build%2Fstylesheets%2Froot.css;h=20db9171a531c244431e4cbab4fdc93309856b17;hb=3fb96a0bce3eb4f1dd64884bf524efc26a4f0aaa;hp=18ad2b0819dd13d6c5b7a83ce6e0d16eb5ca9d3c;hpb=2c2e491fc65d159d57de6121776b2b0424588a29;p=pinopress.git diff --git a/build/stylesheets/root.css b/build/stylesheets/root.css index 18ad2b0..20db917 100644 --- a/build/stylesheets/root.css +++ b/build/stylesheets/root.css @@ -51,7 +51,13 @@ body { height: 100%; margin: 0; - padding: 2rem; + padding: 0; +} + +nav { + background-color: var(--bg-light); + padding: 1rem; + text-align: right; } h1, h2, h3, h4, h5, h6 { @@ -71,13 +77,8 @@ strong { } pre { - background-color: var(--bg-light); - padding: 0.75rem; - - /* border: 1px solid var(--text-light); */ - /* border-radius: 0.5rem; */ } code { @@ -85,3 +86,9 @@ code { background-color: var(--bg-light); } +.article-container, .rolling-container, .archive-container { + margin: 0 auto; + margin-top: 2rem; + width: clamp(40ch, 50%, 80ch); +} +