X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/efc85b029e4ac7f9c3a80f6a61af85fc0b40d4e7..e6aee9be6b70daf4d3b4e0b1f0f41ce0626adaf0:/jekyll/css/application.css diff --git a/jekyll/css/application.css b/jekyll/css/application.css index d8fb2df..24f5ca2 100644 --- a/jekyll/css/application.css +++ b/jekyll/css/application.css @@ -1,11 +1,14 @@ 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 {display: block; margin: 1.538em auto 0; max-width: 60em; background-size: 100% 100%; height: 6.667em; background-image: url(/img/unlimited-pizza-animated-logo.gif)} a.logo span {display:none} em {color:#99a3a4} nav ul{ list-style: none; - margin: 1.536em; + margin: 1.536em auto; + max-width: 60em; + justify-content: space-between; + display: flex; } nav ul li{ @@ -14,7 +17,7 @@ nav ul li{ text-transform: uppercase; font-weight: 400; font-size: 2.769em; - margin: 0.555em; + margin: 0.555em 0; } nav ul li a{ @@ -52,6 +55,8 @@ nav ul li a:focus { .postcontainer h1{ color: #d30058; margin: 0.666em 1.333em 0; + font-size: 3.692em; + line-height: 1.0833em; } .postcontainer h2 { @@ -74,7 +79,8 @@ nav ul li a:focus { .postcontainer.purple h1 {color: #400098} .post-meta { - margin-left: 3.077em; + margin: 0.714em 4.643em 4.285em; + font-size: 1.077em; } .post-meta > div { @@ -89,13 +95,13 @@ nav ul li a:focus { .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.yellow .post-tags a {color: #e4c50d} .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} +.post-image {max-height: 36.923em; background-color: #d30058; margin-top: 3.077em; background-size: auto 100%; overflow: hidden} .postcontainer.blue .post-image {background-color: #0081cb} .postcontainer.green .post-image {background-color: #43da30} @@ -106,29 +112,28 @@ nav ul li a:focus { .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; +.postcontent {margin: 1.538em 4.923em; + max-width: 64.615em; } .related p, .related li, .postcontent p, .postcontent li{ - font-size: 1.077em; + font-size: 1.307em; line-height: 1.6em; padding: 5px 0; color: #54575a; font-family: "Lato", sans-serif; } +.related p, .postcontent p { + padding: 10px 0; +} + .postcontent a {color: #d30058} .blue .postcontent a {color: #0081cb} .green .postcontent a {color: #43da30} .grey .postcontent a {color: #9e978e} -.yellow .postcontent a {color: #ffda00} +.yellow .postcontent a {color: #e4c50d} .orange .postcontent a {color: #fd3839} .red .postcontent a {color: #f32240} .cyan .postcontent a {color: #74d0eb} @@ -151,14 +156,17 @@ nav ul li a:focus { .related {margin: 0 3.077em} .related ul {margin: 0 1.538em} -.related li {font-size: 1.077em; font-family: "Lato"} .related a {color: #d30058} .related a.blue {color: #0081cb} +.related a.python, .related a.green {color: #43da30} +.related a.etc, .related a.grey {color: #9e978e} -.related a.yellow {color: #ffda00} +.related a.javascript, +.related a.yellow {color: #e4c50d} .related a.orange {color: #fd3839} +.related a.ruby, .related a.red {color: #f32240} .related a.cyan {color: #74d0eb} .related a.purple {color: #400098} @@ -175,3 +183,142 @@ nav ul li a:focus { .paginator {font-size: 1.077em; margin: 2.857em; font-family: "Lato", sans-serif} .paginator a{color:#99a3a4} + +.postcontent pre code {font-size: 1.333em; line-height: 1.5em} +code {overflow-wrap: normal} + +/* Guestbook */ +.guestbook-feed, .guestbook-form ul { + list-style: none; +} + +.guestbook-form li { + display: block; +} + +.guestbook-form .guestbook-label { + width: 8.571em; + float: left; + text-align: right; + padding: 0.5em 1.071em; + text-transform: uppercase; +} + +.guestbook-form .guestbook-control { + float: left; +} + +.guestbook-form .guestbook-control-group { + clear: both; +} + +.guestbook-form .comment-control { + width: 42.857em; + height: 10em; +} + +.guestbook-content, .guestbook-form { + clear: both; + padding: 2.142em 0; +} + +.guestbook-feed .guestbook-post { + display: block; + border-bottom: 0.071em solid #99a3a4; + padding: 1.071em; +} + +.guestbook-post .author { + font-weight: bold; +} + +/* + * The Recorder CSS + */ +.pepperoni-widget { + justify-content: space-between; + display: flex; +} + +.pepperoni-widget .record-button { + display: flex; + font-size: 1.538461em; + padding: 1em; + margin: 1em; + height: 1em; + background-color: #f1f1f1; + cursor: pointer; + transition: background-color 0.2s ease, color 0.2s ease; +} + +.record-info { + margin: 1em 0; +} + +.pepperoni-widget .record-button.recording { + background-color: #00cc12; + color: white; + padding: 1em 1.1em 1em 0.68em; +} + +.pepperoni-widget .record-button:hover { + text-decoration: none; + background-color: #fafafa; +} + +.pepperoni-widget .record-button.recording:hover { + background-color: #d30058; + color: #f1f1f1; +} + +.pepperoni-widget .record-progress { + justify-content: space-between; + display: flex; + margin: 0.5em 0.76em; +} + +.record-progress-bar-container { + background-color: #f1f1f1; + height: 2em; + width: 15.385em; + margin-right: 0.76em; +} + +.record-progress-bar { + height: 2em; + background-color: #d30058; + width: 0; +} + +.record-clear { + margin-top: 0.1em; + text-transform: uppercase; + font-size: 1em; + width: 4em; + cursor: pointer; +} + +.record-clear:hover { + text-decoration: none; +} + +.record-preview { + margin: 0.76em; + width: 15.385em; + height: 2em; +} + +.guestbook-submit { + border-radius: 0; + border: 0; + background-color: #d30058; + font-family: 'Oswald', sans-serif; + color: #fff; + padding: 1em; + margin-left: 15em; +} + +.filter-switches label { + display: inline; + margin-right: 2em; +}