X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/7a1f56a97e50f5f95e3c4b655c739fb0def44ace..7e8d72151230cb14fd8b9dbbaa7f309120ed2721:/static/style.css diff --git a/static/style.css b/static/style.css index d380c6a..475d41d 100644 --- a/static/style.css +++ b/static/style.css @@ -52,7 +52,7 @@ h3 { } a { - color: #204a87; + color: #004caa; padding: 0.3em 0; text-decoration: underline #ccc; } @@ -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; @@ -103,7 +112,7 @@ em { } table td { - padding: 0.2em 0.3em; + padding: 0.125em 0.3em; } table td:first-child { padding-left: 0; @@ -118,10 +127,10 @@ table td:last-child { width: 100%; } .post-list tr:hover { - background: #f8f8f8; + background: #fafafa; } .post-list td { - padding: 0.3em; + padding: 0.25em 0; } .post-list td:nth-child(2) { text-align: right; @@ -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 {