X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/a13e3f352670f257091618723ec47c9645c2caec..958f18f4af9ec5221d266698bd21992227eb630a:/jekyll/css/application.css?ds=sidebyside diff --git a/jekyll/css/application.css b/jekyll/css/application.css index 5084deb..43c15f8 100644 --- a/jekyll/css/application.css +++ b/jekyll/css/application.css @@ -12,20 +12,21 @@ header a, header a:visited { color: black; } -h2, -h3 { +h1, +h2 { + display: inline-block; margin-left: 10px; font-weight: 300; } -h1 { +header { margin: -0.3em 0 0 -0.1em; font-size: 9.6em; font-style: italic; text-transform: uppercase; } -h2 { +h1 { font-size: 4.8em; } @@ -45,24 +46,30 @@ ul, p { font-family: 'Helvetica Neue', Arial, sans-serif; } -ul { - list-style: square; +li { + display: block; } -li { +li article { + display: inline-block; line-height: 1.82em; } -aside { +span { display: inline; color: grey; } img, video { + display: block; max-width: 100vw; } +header a, li article, h2, h3, p { + background-color: white; +} + /* Dark mode overrides */ @media (prefers-color-scheme: dark) { body { @@ -70,7 +77,7 @@ video { color: white; } - h1 a, h1 a:visited { + header a, header a:visited { color: white; } @@ -86,7 +93,32 @@ video { color: #55FF55; } - aside { + span { color: #FFEC27; } + + header a, li article, h1, h2, p { + background-color: black; + } +} + +/* + * Mini header + */ +@media (max-width: 600px) { + header { + font-size: 4.8em; + } +} + +/* + * Breadsticks + */ +canvas.background { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + z-index: -1; }