X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/60d388dfb4838e3a29fd3be78f703b5abfb82a35..7e8d72151230cb14fd8b9dbbaa7f309120ed2721:/static/style.css diff --git a/static/style.css b/static/style.css index e4e2d77..475d41d 100644 --- a/static/style.css +++ b/static/style.css @@ -25,6 +25,9 @@ header { header >:not(h1) { font-size: 0.875em; } +header > p { + margin: 0; +} footer { border-top: 1px solid #bbb; font-size: 0.84em; @@ -40,9 +43,6 @@ h1 { h1 + address { margin-top: 0.75em; } -address + p { - margin: 0; -} h2 { font-size: 1.25em; @@ -52,25 +52,17 @@ h3 { } a { - color: #006cdc; + color: #004caa; padding: 0.3em 0; - text-decoration: none; + text-decoration: underline #ccc; } a:hover, a:focus { - transition-property: background; - transition-duration: 0.1s; - background: #f2f8fa; - color: #0054c0; /* #003ea4 */ + text-decoration: underline #666; } a:active { color: #a10029; + outline: 0; } -/* -a:active { - color: #06d; - box-shadow: 0 1px 1px #ddd; -} -*/ h4 { margin: 0.75em auto; @@ -99,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; @@ -111,7 +112,7 @@ em { } table td { - padding: 0.3em 0; + padding: 0.125em 0.3em; } table td:first-child { padding-left: 0; @@ -119,12 +120,18 @@ table td:first-child { table td:last-child { padding-right: 0 } -tbody tr:hover { - background: #f2f8fa; /* #f6f6f6; */ +#notes { + margin-top: 0.9em; } .post-list { width: 100%; } +.post-list tr:hover { + background: #fafafa; +} +.post-list td { + padding: 0.25em 0; +} .post-list td:nth-child(2) { text-align: right; } @@ -140,9 +147,15 @@ dd { dd:last-child { margin-bottom: 1em; } -.plinks { +small { font-size: 0.875em; } +.muted { + color: #666; +} +.inbox { + margin-top: 2em; +} ul, ol { list-style: none; @@ -160,12 +173,15 @@ ul > li::before { left: 0.5em; } -h2 + ul, h2 + dl, h2 + table { +h2 + ul, h2 + dl, h2 + table, h1 + table, pre + h2 { margin-top: 1em; } -h2 + .post-list { +table + h2, h2 + h3, ul + h3 { margin-top: 0.7em; } +p + table { + margin-top: -0.3em; +} sup, sub { font-size: 0.85em; } sup { vertical-align: super; }