X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=build%2Fstylesheets%2Froot.css;h=20db9171a531c244431e4cbab4fdc93309856b17;hb=3fb96a0bce3eb4f1dd64884bf524efc26a4f0aaa;hp=67f9a2618d0bf581c91331f07d3ef880c9eb4c54;hpb=6ec6ed4c15ad3c37fbe1076aa33d26e9c21050a9;p=pinopress.git diff --git a/build/stylesheets/root.css b/build/stylesheets/root.css index 67f9a26..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 { @@ -69,3 +75,20 @@ a:hover { strong { color: var(--text-light); } + +pre { + background-color: var(--bg-light); + padding: 0.75rem; +} + +code { + color: var(--text-light); + background-color: var(--bg-light); +} + +.article-container, .rolling-container, .archive-container { + margin: 0 auto; + margin-top: 2rem; + width: clamp(40ch, 50%, 80ch); +} +