X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/f9e7c27738608755d80d450252f1ca079551d02e..e4b339cf6dd220563690b44c92cc08b34a5cffaa:/static/style.css?ds=sidebyside diff --git a/static/style.css b/static/style.css index f891207..f236c92 100644 --- a/static/style.css +++ b/static/style.css @@ -91,9 +91,18 @@ article h3 { bottom: 0.05em; } +pre, code { + background: #f3f3f3; + padding: 1em; +} +pre > code { + padding: 0; + background: initial; +} code { font: 1.15em monospace; text-transform: none; + padding: .2em .3em; } strong { font-weight: bold; @@ -164,7 +173,7 @@ ul > li::before { left: 0.5em; } -h2 + ul, h2 + dl, h2 + table, h1 + table { +h2 + ul, h2 + dl, h2 + table, h1 + table, pre + h2 { margin-top: 1em; } table + h2, h2 + h3, ul + h3 { @@ -174,6 +183,27 @@ p + table { margin-top: -0.3em; } +.feed-icon { + margin-right: 3px +} +.feed-icon-h2 { + margin-left: 5px; + position: relative; + top: 2px +} + +.tag-list { + padding-left: 0; +} +.tag-list li { + margin-right: 0.75em; + white-space: nowrap; + display: inline-block; +} +.tag-list > li::before { + content: ''; +} + sup, sub { font-size: 0.85em; } sup { vertical-align: super; } sub { vertical-align: sub; }