X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/36197f917b82270b039836404126a684dae80c3e..eaa68f7fa8201b90d202a2da273888b418292edc:/css/style.css diff --git a/css/style.css b/css/style.css index 1a14f32..fa3b951 100644 --- a/css/style.css +++ b/css/style.css @@ -81,7 +81,7 @@ blockquote { } p { margin: 1em 0 } ul { padding-left: 2em } -p:empty { display: none } +br, p:empty { display: none } h1, h2, h3 { font-family: "Avenir Next", "Montserrat", "Segoe UI Variable Display", "Noto Sans", "Roboto", "Segoe UI", sans-serif; font-weight: 900 @@ -97,31 +97,8 @@ h3 { } h1, 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 } - } -} +a { text-decoration: underline silver } +a:hover { text-decoration: underline #00f } .h2 a { display: inline-block; @@ -174,9 +151,8 @@ canvas { border: 1px solid #fff; } h1, 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 } - } + a { text-decoration: underline dimgray } + a:hover { text-decoration: underline #5dc1fd } pre { background-color: #222 } header h1 a { -webkit-text-stroke: 1px #fff;