X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/23760dda4174ba8eced33991c1294fd529e8ad42..958f18f4af9ec5221d266698bd21992227eb630a:/jekyll/css/application.css?ds=inline diff --git a/jekyll/css/application.css b/jekyll/css/application.css index f8b1bf2..43c15f8 100644 --- a/jekyll/css/application.css +++ b/jekyll/css/application.css @@ -1,144 +1,124 @@ -body {background-color: #fff} -a.logo {display: block; margin: 1.538em 0 0 1.538em; width: 44.615em; height: 7.692em; background-image: url(/img/header.gif)} -a.logo span {display:none} -em {color:#99a3a4} +html { + font-size: 10px; +} -nav ul{ - list-style: none; - margin: 1.536em; +body { + margin: 0; + background-color: white; + font-family: times, 'Times New Roman', serif; } -nav ul li{ - display: inline; - font-family: 'Oswald', sans-serif; - text-transform: uppercase; - font-weight: 400; - font-size: 2.769em; - margin: 0.555em; +header a, header a:visited { + color: black; } -nav ul li a{ - color: #54575a; - text-decoration: none; +h1, +h2 { + display: inline-block; + margin-left: 10px; + font-weight: 300; } -nav ul li a:hover, -nav ul li a:active, -nav ul li a:focus { - color: #74777a; - text-decoration: none; +header { + margin: -0.3em 0 0 -0.1em; + font-size: 9.6em; + font-style: italic; + text-transform: uppercase; } -.main-container { - margin: 3.077em 0; +h1 { + font-size: 4.8em; } -.postcontainer{ - margin: 2em 0; - font-family: 'Signika', sans-serif; - letter-spacing: 0.05em; - font-weight: 300; - color: #03090f; +a { + color: blue; } -.postcontainer h1{ - font-family: 'Oswald', sans-serif; - text-transform: uppercase; - font-weight: 300; - color: #d30058; - margin: 0.666em 1.333em 0; +a:visited { + color: purple; } -.postcontainer.blue h1 {color: #0081cb} -.postcontainer.green h1 {color: #43da30} -.postcontainer.grey h1 {color: #9e978e} -.postcontainer.yellow h1 {color: #ffda00} -.postcontainer.orange h1 {color: #fd3839} -.postcontainer.red h1 {color: #f32240} -.postcontainer.cyan h1 {color: #74d0eb} -.postcontainer.purple h1 {color: #400098} +ul, p { + font-size: 1.8em; + line-height: 1.28em; + margin-left: 1em; + max-width: 50em; + font-family: 'Helvetica Neue', Arial, sans-serif; +} -.post-meta { - margin-left: 3.077em; +li { + display: block; } -.post-meta > div { +li article { display: inline-block; - font-size: 1.077em; + line-height: 1.82em; } -.post-meta .post-date{width: 5.714em} -.post-date a {color:#99a3a4} -.post-tags a {color:#d30058; text-decoration: underline} - -.postcontainer.blue .post-tags a {color: #0081cb} -.postcontainer.green .post-tags a {color: #43da30} -.postcontainer.grey .post-tags a {color: #9e978e} -.postcontainer.yellow .post-tags a {color: #ffda00} -.postcontainer.orange .post-tags a {color: #fd3839} -.postcontainer.red .post-tags a {color: #f32240} -.postcontainer.cyan .post-tags a {color: #74d0eb} -.postcontainer.purple .post-tags a {color: #400098} - -.post-image {height: 36.923em; background-color: #d30058; margin-top: 3.077em} - -.postcontainer.blue .post-image {background-color: #0081cb} -.postcontainer.green .post-image {background-color: #43da30} -.postcontainer.grey .post-image {background-color: #9e978e} -.postcontainer.yellow .post-image {background-color: #ffda00} -.postcontainer.orange .post-image {background-color: #fd3839} -.postcontainer.red .post-image {background-color: #f32240} -.postcontainer.cyan .post-image {background-color: #74d0eb} -.postcontainer.purple .post-image {background-color: #400098} - -.postcontent {margin: 1.538em 3.077em; - -webkit-column-width: 36.923em; - -moz-column-width: 36.923em; - column-width: 36.923em; - -webkit-column-gap: 6.154em; - -moz-column-gap: 6.154em; - column-gap: 6.154em; +span { + display: inline; + color: grey; } -.postcontent p, .postcontent li{ - font-size: 1.077em; - line-height: 1.6em; - padding: 8px 0; +img, +video { + display: block; + max-width: 100vw; } -.postcontent strong{ - font-weight: 400; +header a, li article, h2, h3, p { + background-color: white; } -.go-to-top {color:#99a3a4; margin: 1.538em 3.077em; display: block} +/* Dark mode overrides */ +@media (prefers-color-scheme: dark) { + body { + background-color: black; + color: white; + } -.main-container section, -.main-container aside{ text-align: left} + header a, header a:visited { + color: white; + } -/* List pages */ + a { + color: #53FFFF; + } -.related {margin: 0 3.077em} -.related ul {margin: 0 1.538em} -.related li {font-size: 1.077em; font-family: "Lato"} -.related a {color: #d30058} + a:visited { + color: #FF55FF; + } -.related a.blue {color: #0081cb} -.related a.green {color: #43da30} -.related a.grey {color: #9e978e} -.related a.yellow {color: #ffda00} -.related a.orange {color: #fd3839} -.related a.red {color: #f32240} -.related a.cyan {color: #74d0eb} -.related a.purple {color: #400098} + a[href^="telnet"] { + color: #55FF55; + } -.related h1{ - font-family: 'Oswald', sans-serif; - text-transform: uppercase; - font-weight: 300; - padding-bottom: 0.666em; - color:#99a3a4; + span { + color: #FFEC27; + } + + header a, li article, h1, h2, p { + background-color: black; + } } -/* Paginator */ +/* + * Mini header + */ +@media (max-width: 600px) { + header { + font-size: 4.8em; + } +} -.paginator {font-size: 1.077em; margin: 2.857em; font-family: "Lato", sans-serif} +/* + * Breadsticks + */ +canvas.background { + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + z-index: -1; +}