You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
website/blog/public/dist/site.css

200 lines
12 KiB
CSS

@import url(https://fonts.googleapis.com/css2?family=Share:wght@700&family=Ubuntu+Mono&family=Ubuntu:wght@300;700&display=swap);
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
main { display: block; }
h1 { font-size: 2em; margin: .67em 0; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring, [type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: .35em .75em .625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none; }
html, body { height: 100%; }
body { background: #fefefe; color: #424242; font-family: "Ubuntu", sans-serif; font-weight: 300; font-size: 18px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Share', cursive; font-weight: 700; margin-bottom: 20px; text-transform: none; }
h1 { font-size: 26px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; margin-bottom: 20px; }
h4 { font-size: 18px; margin-bottom: 18px; }
h5 { font-size: 16px; margin-bottom: 15px; }
h6 { font-size: 14px; margin-bottom: 12px; }
p { line-height: 1.8; margin: 0 0 30px; }
a { color: #f03838; text-decoration: none; }
ul, ol { line-height: 1.4; margin: 0 0 20px; }
ul ul, ul ol, ol ul, ol ol { margin: 10px 0 0 20px; }
ul li, ol li { margin: 0 0 2px; }
ul li:last-of-type, ol li:last-of-type { margin-bottom: 0; }
blockquote { border-left: 1px dotted #f03838; margin: 40px 0; padding: 5px 30px; }
blockquote p { color: #aeadad; display: block; font-style: italic; margin: 0; width: 100%; }
img { display: block; margin: 40px 0; width: auto; max-width: 100%; }
img[src$="align-center"] { margin: auto; }
img[src$="align-left"] { float: left; margin-right: 40px; }
img[src$="align-right"] { float: right; margin-left: 40px; }
pre { border: 1px solid #dddbcc; border-radius: 3px; margin: 0 0 20px; overflow-x: auto; padding: 10px; font-size: 17px; background-color: #f1f0ea; }
pre code { padding: 0; background: none; }
code { padding: 2px 4px; font-size: 95%; border-radius: 4px; background-color: #f1f0ea; font-family: 'Ubuntu mono', monospace; }
hr { border: none; border-bottom: 1px dotted #303030; margin: 45px 0; }
table { margin-bottom: 40px; width: 100%; }
table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th { background-color: #f7f7f3; }
table th { padding: 0 10px 10px; text-align: left; }
table td { padding: 10px; }
table tr { border-bottom: 1px dotted #aeadad; }
::selection { background: #fff5b8; color: #000; display: block; }
::-moz-selection { background: #fff5b8; color: #000; display: block; }
.fluid-width-video-wrapper { margin-bottom: 40px; }
.hidden { text-indent: -9999px; visibility: hidden; display: none; }
.clearfix:after { content: ""; display: table; clear: both; }
.container { margin: 0 auto; position: relative; width: 100%; max-width: 889px; }
#wrapper { height: auto; min-height: 100%; margin-bottom: -265px; }
#wrapper:after { content: ""; display: block; height: 265px; }
.button { background: #303030; border: none; border-radius: 3px; color: #fefefe; font-size: 14px; font-weight: 700; padding: 10px 12px; text-transform: uppercase; }
.button:hover { background: #f03838; }
.button-square { background: #f03838; color: #fff; float: left; font-size: 17px; margin: 0 0 0 10px; padding: 3px 8px 4px; }
.button-square:hover { background: #303030; }
.error { text-align: center; }
.comments { margin-top: 10px; }
.site-header { padding: 40px 0 0; overflow: auto; text-align: center; text-transform: uppercase; }
.site-title-wrapper { display: table; margin: 0 auto; }
.site-title { float: left; font-size: 14px; font-weight: 600; margin: 0; text-transform: uppercase; }
.site-title a { float: left; background: #f03838; color: #fefefe; padding: 5px 10px 6px; }
.site-title a:hover { background: #303030; }
.site-logo { display: block; }
.site-logo img { margin: 0; }
.site-nav { list-style: none; margin: 28px 0 10px; padding: 0; }
.site-nav-item { display: inline-block; font-size: 17px; font-weight: 700; margin: 0 10px; }
.site-nav-item a:hover { color: #424242; }
#latest-post { display: none; }
.post-container { margin: 0 40px; }
.post-header { border-bottom: 6px solid #303030; margin: 0 0 20px; padding: 0 0 20px; text-align: center; }
.post-title, .page-title { font-size: 52px; font-weight: 700; margin: 15px 0; text-align: center; }
.post-subtitle { font-size: 32px; font-weight: 700; margin: 15px 0; text-align: center; }
.page-title { margin: 15px 40px; }
.post-date, .post-reading, .blog-description { color: #aeadad; font-size: 14px; font-weight: 600; line-height: 1; margin: 25px 0 0; }
.post-date a, .post-reading a, .blog-description a { color: #aeadad; }
.post-date a:hover, .post-reading a:hover, .blog-description a:hover { color: #f03838; }
.post-line:after { border-bottom: 1px dotted #303030; content: ""; display: block; margin: 40px auto 0; width: 100px; }
.post-content a:hover { border-bottom: 1px dotted #f03838; padding: 0 0 2px; }
.post-content:last-child { margin-bottom: 0; }
.post-content .footnote { border-spacing: 0; margin-bottom: 0; }
.post-content .footnote .label + td { width: 100%; }
.post-content .gist tr { border-bottom: 0; }
.post-footer { margin-top: 5px; }
.post-tags, .share { color: #aeadad; font-size: 14px; }
.post-tags span, .share span { font-weight: 600; }
.post-tags { float: left; margin: 3px 0 0; }
.post-tags a:hover { color: #303030; }
.share { float: right; }
.share a { background: #f03838; color: #fff; display: inline-block; font-size: 16px; margin-left: 5px; padding: 5px 0 4px; width: 30px; text-align: center; }
.share a:hover { background: #303030; }
.post-navigation { display: table; margin: 70px auto 100px; }
.newer-posts, .older-posts { float: left; background: #f03838; color: #fefefe; font-size: 14px; font-weight: 600; margin: 0 5px; padding: 5px 10px 6px; }
.newer-posts:hover, .older-posts:hover { background: #303030; }
.page-number { display: none; }
.post-list { list-style: none; padding: 0; }
.post-stub { border-bottom: 1px dotted #303030; margin: 0; position: relative; }
.post-stub:first-child { padding-top: 0; }
.post-stub a { -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; transition: all .2s ease-in-out; display: block; color: #424242; padding: 20px 5px; }
.post-stub a:hover { background: #fcf5f5; color: #f03838; padding: 20px 12px; }
.post-stub a:hover .post-stub-tag { background: #f03838; }
.post-stub-tag { background: #303030; border-radius: 3px; color: #fff; float: right; font-size: 10px; margin: 7px 0 0; padding: 0 5px; text-transform: uppercase; }
.post-stub-title { display: block; margin: 0; text-transform: none; font-size: 18px; }
.post-stub-description { display: block; margin: 0; font-size: 16px; text-transform: none; }
.post-stub-date { display: block; font-size: 13px; color: #666; }
.next-posts-link a, .previous-posts-link a { display: block; padding: 8px 11px; }
.author-profile { margin: 0 40px; }
.author-profile:after { border-bottom: 1px dotted #303030; content: ""; display: block; margin: 40px auto 0; width: 100px; }
.author-heading { margin: 15px auto; text-align: center; width: 100%; }
.author-avatar { border-radius: 50px; display: inline; height: 50px; margin: 5px 10px 0 0; width: 50px; vertical-align: middle; }
.author-name { display: inline; font-size: 52px; font-weight: 700; text-align: center; text-transform: uppercase; vertical-align: middle; }
.author-meta { color: #aeadad; font-size: 14px; font-weight: 600; line-height: 1; margin: 25px 0 0; text-align: center; text-transform: uppercase; }
.author-meta span { display: inline-block; margin: 0 10px 8px; }
.author-meta i { margin-right: 8px; }
.author-meta a { color: #aeadad; }
.author-meta a:hover { color: #f03838; }
.author-bio { margin: 20px auto 0; text-align: center; max-width: 700px; }
.footer { background: #303030; color: #d3d3d3; height: 265px; margin-top: 95px; overflow: auto; }
.footer .site-title-wrapper { margin: 80px auto 35px; }
.footer .site-title a:hover, .footer .button-square:hover { background: #121212; }
.footer-copyright { color: #656565; font-size: 14px; margin: 0; text-align: center; text-transform: uppercase; }
.footer-copyright a { color: #656565; font-weight: 700; }
.footer-copyright a:hover { color: #fefefe; }
#nprogress .bar { background: #f03838; }
#nprogress .peg { box-shadow: 0 0 10px #f03838, 0 0 5px #f03838; }
#nprogress .spinner-icon { border-top-color: #f03838; border-left-color: #f03838; }
@media only screen and (max-width: 800px) {
.post-stub-tag { display: none; }
}
@media only screen and (max-width: 600px) {
h1, h2 { margin-bottom: 20px; }
p { margin-bottom: 20px; }
ul, ol { margin-bottom: 20px; }
img { margin: 30px 0; }
blockquote { margin: 30px 0; }
pre { margin: 20px 0; }
hr { margin: 35px 0; }
.site-header { padding-top: 40px; }
.site-title { float: none; margin-bottom: 15px; }
.site-title a { float: none; }
.site-title + .button-square { margin-left: 0; }
.site-nav-item { display: block; margin: 15px 0; }
.post-header { margin-bottom: 20px; padding-bottom: 20px; }
.post-header p { word-wrap: break-word; overflow-wrap: break-word; }
.post-title, .page-title, .author-name, .author-heading { font-size: 42px; margin-top: 5px; word-wrap: break-word; overflow-wrap: break-word; }
.post-date, .blog-description, .author-meta { margin-top: 20px; }
.post-date:after, .post-date:before, .blog-description:after,
.blog-description:before, .author-meta:after, .author-meta:before { margin-top: 30px; }
.author-profile:after, .author-profile:before { margin-top: 20px; }
.post-stub-title { display: block; }
.post-stub-date:before { content: ""; display: block; }
.post-list { margin-top: 20px; }
.post-container, .post-list, .author-profile { margin-right: 25px; margin-left: 25px; }
.post-tags { width: 100%; }
.post-stub a, .post-stub a:hover { padding-top: 12px; padding-bottom: 12px; }
.share { float: left; margin-top: 20px; }
.share a { margin: 0 5px 0 0; }
.footer { margin-top: 50px; }
.footer .site-title-wrapper { text-align: center; }
.footer .button-jump-top { clear: both; display: inline-block; float: none; }
}
@media only screen and (max-width: 400px) {
.site-header { padding-top: 40px; }
.post-title, .page-title, .author-name, .author-heading { font-size: 30px; line-height: 1.2; word-wrap: break-word; overflow-wrap: break-word; }
.post-date, .blog-description, .author-meta { line-height: 1.6; }
.post-date, .blog-description, .author-meta { margin-top: 10px; }
.post-date:after, .post-date:before, .blog-description:after,
.blog-description:before, .author-meta:after, .author-meta:before { margin-top: 20px; }
.author-profile:after, .author-profile:before { margin-top: 10px; }
.post-container, .post-list, .author-profile { margin-right: 15px; margin-left: 15px; }
.author-avatar { display: block; margin: 0 auto 18px; }
.author-meta span { display: block; margin: 18px 0; }
.footer-copyright { padding: 0 10px; }
}