// @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Rubik:wght@400;700&display=swap'); // @import url('https://cdn-uicons.flaticon.com/uicons-regular-straight/css/uicons-regular-straight.css'); @import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap'); $h1_font_size: 2.0rem; $h2_font_size: 1.7rem; $header_size: 1.2rem; $font_size: 1.1rem; $code_font_size: 1rem; $code_line_height: 1.4rem; $line-height: 1.6rem; $word-spacing: 0.1em; $background: #ffffff; $backdrop: $background; $text: #301800; $links: #1585e0; $footer: $text; $meta: $text; $header: $text; $highlight: $links; $code_background: $background; $code_border_color: $background; $code: #ff9327; html, body { background-color: $backdrop; color: $text; font-family: Lora, Georgia, "Bitstream Charter", "Times New Roman", serif; font-size: $font_size; line-height: $line-height; word-spacing: $word-spacing; } code, pre { font-family: monospace; } .important { width: 100%; display: block; font-style: italic; } .important::before { content: '\f0a4'; font-family: "Font Awesome 6 Free"; font-size: 1rem; margin-right: 0.7rem; } .container { background-color: $background; padding: 1rem 1.5rem; margin: 1rem auto; max-width: 40rem; } a, a:hover { color: $links; text-decoration: none; } nav a { font-weight: normal; } h1, h2, h3, h4, h5 { font-family: Lora, Georgia, "Bitstream Charter", "Times New Roman", serif; font-size: $header_size; font-weight: bold; // font-variant: small-caps; line-height: $header_size * 1.7; color: $header; margin: 0.67rem 0; } h1 { font-size: $h1_font_size; color: $text; margin-bottom: 1.6rem; } h2 { font-size: $h2_font_size; } b, strong { font-weight: bold; } blockquote { border-left: 5px solid $code_border_color; padding-left: 1rem; } .auto-width img { width: auto; } img { width: 98%; border-radius: 1.6rem; margin: 0 auto; display: block; } .img--caption { display: block; font-style: italic; font-size: 0.92rem; text-align: center; } .gallery-view { display: flex; flex-flow: row wrap; figure { max-width: 48%; min-width: 48%; margin: 0.5rem 0; flex: 1; img { width: 90%; } .img--caption { margin: 0 auto; padding-top: 0.5rem; max-width: 80%; line-height: 1.1rem; } } } ol { list-style-position: outside; } ul { list-style-position: outside; } span.begin-task-list + ul { list-style-type: none; padding-left: 1rem; input[type="checkbox"] { margin-right: 0.4rem; list-style-image:url("/images/unchecked.png"); } input[type="checkbox"]:checked { list-style-image:url("/images/checked.png"); } } header { margin-bottom: 1.5rem; } footer { color: $footer; border-top: 1px solid $footer; margin-top: 1.5rem; em { background-color: $background; color: $text; } } small { font-size: 100%; color: $footer; } .meta { color: $meta; font-weight: normal; } code { color: $code; } pre, code { font-family: 'IBM Plex Mono', monospace; font-size: $code_font_size; line-height: $code_line_height; } pre > code { overflow-wrap: normal; white-space: pre; color: $text; background-color: $background !important; } pre { background-color: $code_background !important; padding: 1rem 1rem 1rem 2.5rem; overflow-x: auto; overflow-y: hidden; line-height: $line-height; border: 2px solid $code_border_color; } table td, table th { padding: 0.2rem 1rem; } @media(min-width:768px) { .flex-columns { display: flex; // flex-direction: row; flex-flow: row wrap; } .flex-column { width: 50%; &#popular_posts { order: 1; } &#recent_posts { order: 2; } } } img.about-avatar { width: 16rem; float: right; border-radius: 50%; margin-left: 1rem; margin-bottom: 1rem; } .fi { font-size: $font_size * 1.2; padding-top: 0.5rem; } // bootstrap SVG-Icons .bi { display: inline-block; vertical-align: middle; padding-bottom: 0.25rem; } .bi-link { width: 1.4rem; height: 1.4rem; color: $links; }