X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/4efce86dda416d04c48406724fa51de24a8adb72..5246053b9fff0ab2a96d02be3df3f68ce749b7bf:/css/style.css?ds=inline diff --git a/css/style.css b/css/style.css index 33483e0..0164b1f 100644 --- a/css/style.css +++ b/css/style.css @@ -71,7 +71,7 @@ pre { overflow-x: auto; padding: 1em; } -pre[role="img"] { display: none } +pre[aria-label="rbdr"] { display: none } blockquote, p, article > div { max-width: 45em } @@ -79,13 +79,14 @@ blockquote { border-left: 4px solid #ccc; padding-left: 10px; } -br { display: none } +p { margin: 1em 0 } +ul { padding-left: 2em } +br, p:empty { display: none } h1, h2, h3 { - font-family: "Avenir Next"; + font-family: "Avenir Next", "Montserrat", "Segoe UI Variable Display", "Noto Sans", "Roboto", "Segoe UI", sans-serif; font-weight: 900 } -h1 { font-size: 4em } -h2 { +h1, h2 { font-size: 2em; text-transform: lowercase; } @@ -95,32 +96,9 @@ h3 { margin-top: 1em } -h2, h3, a { color: #00f } -[data-title="/index.html"] { - .h2:nth-of-type(n+5):nth-of-type(-n+6) { - h2, h3, a { color: #EE0700 } - } - - .h2:nth-of-type(n+7):nth-of-type(-n+9) { - h2, h3, a { color: #6A5ACD } - } - - .h2:nth-of-type(10) { - h2, h3, a { color: #A76905 } - } - - .h2:nth-of-type(11) { - h2, h3, a { color: #398557 } - } - - .h2:nth-of-type(n+12):nth-of-type(-n+16) { - h2, h3, a { color: #D505C6 } - } - - .h2:nth-of-type(17) { - h2, h3, a { color: #6A788A } - } -} +h1, h2, h3, a { color: #00f } +.a a { text-decoration: underline silver } +.a a:hover { text-decoration: underline #00f } .h2 a { display: inline-block; @@ -172,10 +150,9 @@ canvas { background-color: #fff; border: 1px solid #fff; } - h2, h3, a { color: #5dc1fd } - [data-title="/index.html"] .h2:nth-of-type(n+7):nth-of-type(-n+9) { - h2, h3, a { color: #675CFB } - } + h1, h2, h3, a { color: #5dc1fd } + .a a { text-decoration: underline dimgray } + .a a:hover { text-decoration: underline #5dc1fd } pre { background-color: #222 } header h1 a { -webkit-text-stroke: 1px #fff;