@import "colors"; @import "fonts"; .holiday-greetings { display: none; } // @import "holidays"; * { box-sizing: border-box; } html, body { margin: 0; padding: 0; width: 100%; min-height: 100vh; font-size: 14px; background-color: $bg0; } ul, ol, li, p, sup, sub { color: $white; } ol, ul, li, a, p { line-height: 1.4; font-family: $font_mono; } h1 { color: $red; font-family: $font_serif; font-variant-caps: small-caps; font-weight: 500; font-size: 2.5em; } h2 { font-size: 1.7em; } h3 { font-size: 1.5em; } h2, h3, h4, h5, h6, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a { font-family: $font_serif; font-weight: 500; } h2, h3, h4, h5, h6 { color: $white; } a, a:visited { color: $cyan1; } a:hover, a:hover:visited { color: $cyan; } hr { border-style: solid; border-color: $white; border-width: 1px 0 0 0; margin: 2em 0; } pre { padding: 1em 0; overflow-x: auto; font-family: $font_mono; background-color: $bg0; } p > code { color: $green; font-family: $font_mono; } figcaption { color: $gray; font-family: $font_mono; text-align: center; } video { max-width: 90%; } span.extra-link { color: $gray; } h1 > span.extra-link, h2 > span.extra-link { font-size: 0.6em; } span.extra-link > a ~ a::before { display: inline-block; color: $white; content: "|"; margin: 0 0.2em; text-decoration: none; } span.icon { display: inline-block; height: 1em; text-decoration: none; } span.icon > img { height: 1em; width: 1em; } .publish-date { color: $gray; font-family: $font_mono; font-weight: normal; font-style: italic; } span.publish-date { margin-left: 1em; display: inline-block; font-size: 0.8em; } .main-container { max-width: 990px; margin: 1em auto; min-height: 90vh; height: auto; border-top: 1px solid $white; border-bottom: 1px solid $white; } .landing-header { text-align: center; } .nav-container { padding: 0.2em; text-align: center; list-style: none; } .nav-container a { background: #000; } .nav-container > li { display: inline-block; } .nav-container > li ~ li::before { display: inline-block; color: $white; content: " ยท "; margin: 0 0.4em; text-decoration: none; } .header-container { padding: 0 2em; } .header-container .nav-container { text-align: left; } .content-container { background-color: $bg0; min-height: 90vh; } .album-container { padding: 1em 2em; } .album-container a { text-decoration: none; } .album-container a img { max-height: 180px; } a.see-more { font-weight: bold; } .landing-container, .post-container { padding: 1em 2em; overflow: auto; } .post-container.partial img { float: left; max-width: 50%; padding-right: 1em; } .post-container.full img { display: block; margin: 0 auto; max-width: 100%; max-height: 50vh; } .post-container.full img:nth-of-type(1) { max-height: 60vh; } .footnote-definition { margin-bottom: 1em; } .footnote-definition:first-of-type { border-top: 1px solid $gray; padding-top: 1em; } .footnote-definition p { display: inline; } .paginator { padding: 2em; text-align: center; } .paginator a { display: inline-block; padding: 0.3em; background-color: $cyan1; color: $bg0; text-decoration: none; border: 2px outset $cyan1; } .paginator a:hover { background-color: $cyan; color: $bg0; } .cryptoqr { width: 100%; max-width: 240px; } pre.literal { color: $gray; } .foot-container { background: #000 repeat center fixed url("/img/grid.png"); border-top: 1px solid $white; text-align: center; padding: 1em; } .foot-container p { display: inline-block; background: $bg0; } .foot-container p::after { content: '\A'; white-space: pre; } @media (max-width: 768px){ .landing-page-container { font-size: 1em; } .main-container { padding: 0; border: none; } .header-container, .content-container, .sidebar-container { grid-column-start: 1; grid-column-end: 3; } .sidebar-container { border-top: 1px solid $white; border-left: 0; } .sidebar-container, .foot-container { grid-row-start: auto; grid-row-end: auto; } } @media print { html, body, .main-container { background: none; font-size: 16px; } h1, h2, h3, h4, h5, h6, ul, ol, li, p, a[href], sup, sub, .publish-date { color: #000; font-family: $font_serif; } a[href] { text-decoration: none; } .landing-page-container, .main-container, .header-container, .content-container, .foot-container, { background: none; border: none; } .foot-container p { background: none; } .nav-container a { background: none; } .header-container, .content-container { grid-column-start: 1; grid-column-end: 3; } .publish-date, pre, figcaption, code { color: #777; } }