X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/a13e3f352670f257091618723ec47c9645c2caec..633769f975494594b8d30e99d824b99b838cc487:/jekyll/css/application.css diff --git a/jekyll/css/application.css b/jekyll/css/application.css index 5084deb..8afbd73 100644 --- a/jekyll/css/application.css +++ b/jekyll/css/application.css @@ -12,20 +12,20 @@ header a, header a:visited { color: black; } -h2, -h3 { - margin-left: 10px; +h1 { + display: inline-block; + margin-left: 1rem; 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; } @@ -38,31 +38,38 @@ a:visited { } ul, p { - font-size: 1.8em; + font-size: 1.8rem; line-height: 1.28em; margin-left: 1em; max-width: 50em; font-family: 'Helvetica Neue', Arial, sans-serif; } -ul { - list-style: square; +li { + display: block; } -li { +li p { + display: inline-block; line-height: 1.82em; + margin: 0; } -aside { +span { display: inline; color: grey; } img, video { + display: block; max-width: 100vw; } +header a, h1, 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, h1, 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; }