--- # Only the main Sass file needs front matter (the dashes are enough) --- @charset "utf-8"; // Our variables $base-font-family: "Liberation Serif", "Tinos", "Times New Roman", serif; $monospace-font-family: "Liberation Mono", "Cousine", "Courier New", monospace; //$base-font-family: "Liberation Sans", "Arimo", "Arial", sans-serif; //$base-font-size: 16px; $base-font-size: revert; //$small-font-size: $base-font-size * 0.875; $small-font-size: revert; $base-line-height: 1.5; $spacing-unit: 30px; $text-color: revert; //#111; $background-color: revert; //#fdfdfd; $brand-color: revert; //#2a7ae2; $grey-color: revert; //#828282; $grey-color-light: revert; //lighten($grey-color, 40%); $grey-color-dark: revert; //darken($grey-color, 25%); // Width of the content area $content-width: 800px; $on-palm: 600px; $on-laptop: 800px; // Using media queries with like this: // @include media-query($on-palm) { // .wrapper { // padding-right: $spacing-unit / 2; // padding-left: $spacing-unit / 2; // } // } @mixin media-query($device) { @media screen and (max-width: $device) { @content; } } // As high in css as can be edited. If I understand correctly, user // preference will take priority over this, but if the user hasn't expressed // it, this will make dark default. :root { color-scheme: dark light; } // Overrides for dark themes @media (prefers-color-scheme: dark) { // Adblocker detection) .ftf-dma-note { color-scheme: only dark !important; color: #ffffff !important; background-color: #1c1b22 !important; } .site-nav { color-scheme: only dark !important; color: #ffffff !important; background-color: #1c1b22 !important; border: 1px solid #ffffff !important; } } // Overrides for light themes @media (prefers-color-scheme: light) { // Adblocker detection .ftf-dma-note { color-scheme: only light !important; color: #000000 !important; background-color: #ffffff !important; } .site-nav { color-scheme: only light !important; color: #000000 !important; background-color: #ffffff !important; border: 1px solid #000000 !important; } } // Import partials from `sass_dir` (defaults to `_sass`) @import "base", "layout", "syntax-highlighting"; // This is used in the index #avatar { margin-left: auto; margin-right: auto; width: 6em; border: 1px solid; //black; } // This is the short bio in the index and all my profiles #bio { text-align: center; //font-weight: bold; font-style: italic; } // At least used in the index .centered { list-style-type: none; margin: 0 auto; text-align: center; } // IRC logs should be formatted with this .irclog { white-space: pre-wrap; font-size: 15px; border: 1px solid; // $grey-color-light; border-radius: 3px; background-color: revert; //#eef; } // Tables belong to CSS, make the HTML5 validator happy table, td, th { border: 1px solid; //black; } // Trying to make images look a little better img { margin-left: auto; margin-right: auto; border: 1px solid; //black; } // Also in index, hidden text //#cake { // color: rgba(0, 0, 0, 0); //}