X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/a94ee76a3a5422fb0d3a3d8a9725da264eb3c74a..aa2e4e1be337cca14cf423cbdf97be954014489e:/css/style.css diff --git a/css/style.css b/css/style.css index 0a34a02..2572c67 100644 --- a/css/style.css +++ b/css/style.css @@ -79,25 +79,27 @@ blockquote { border-left: 4px solid #ccc; padding-left: 10px; } +p { margin: 1em 0 } +ul { padding-left: 2em } br { 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: 2em } +h1, h2 { + font-size: 2em; + text-transform: lowercase; +} h3 { + display: inline-block; font-weight: 600; margin-top: 1em } -h2, h3, a { color: #00f } +h1, h2, h3, a { color: #00f } [data-title="/index.html"] { - .h2:nth-of-type(n+2):nth-of-type(-n+4) { - h2, h3, a { color: #EE0700 } - } - .h2:nth-of-type(n+5):nth-of-type(-n+6) { - h2, h3, a { color: #398557 } + h2, h3, a { color: #EE0700 } } .h2:nth-of-type(n+7):nth-of-type(-n+9) { @@ -109,7 +111,7 @@ h2, h3, a { color: #00f } } .h2:nth-of-type(11) { - h2, h3, a { color: #1D76DB } + h2, h3, a { color: #398557 } } .h2:nth-of-type(n+12):nth-of-type(-n+16) { @@ -127,6 +129,11 @@ h2, h3, a { color: #00f } margin: 0.25em 0; } +header { position: relative } +main { + position: relative; + z-index: 1 +} header h1 { font-size: min(7.5rem, 17vw); font-weight: 900; @@ -166,7 +173,7 @@ canvas { background-color: #fff; border: 1px solid #fff; } - h2, h3, a { color: #5dc1fd } + 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 } }