@import "zola"; // -- color definitions // Hacker //$color-bg : #000000; $color-bg : #202124; $color-fg : #ffffff; $color-link : #50fa7b; //$color-link : #c792ea; // Win98 :^) //$color-bg : #c3c3c3; //$color-fg : #000000; //$color-link : #010081; //$color-link-shadow: rgba(0, 128, 128, .3); // -- root style html { background-color: $color-bg; color: $color-fg; font-family: "Source Code Pro", "Dejavu Sans Mono", "MesloLGS NF", "Liberation Mono", monospace, sans-serif; font-size: clamp(12px, 2vw, 16px); } // -- body style body { max-width: 80ch; padding: 2ch; margin: auto; } // -- header style h1, h2, h3, h4, h5, h6 { font-size: 1rem; } h1, h2 { padding-top: 1rem; } h1::after { content: "--------------------------------------------------------------------------------"; display:block; overflow: hidden; white-space:nowrap; } h2::before { content: "# " } h3::before { content: "## " } h4::before { content: "### " } h5::before { content: "#### " } h6::before { content: "##### " } // -- link style a { color: $color-link; text-decoration: none; border-bottom: 1px solid $color-link; } a:hover { background-color: $color-link; color: $color-bg; @if variable-exists(color-link-shadow) { box-shadow: 6px 6px $color-link-shadow; } } h1 a, h2 a, h3 a, h4 a, h5 a { color: $color-fg; } // -- image style img { width: 100%; height: auto; } // -- list style ul { list-style-type: "- "; padding-left: 2ch; } // -- code style code { font-weight: bold; } code::before, code::after { content: "*"; } pre code { font-weight: normal; } pre code::before, pre code::after { content: none; } // -- misc classes .extra-notes { color: $color-fg; opacity: 0.5; } .line-spacer { padding-bottom: 0.5ch; } // -- playground //nav { // display: flex; // flex-direction: row; //} //nav a { // margin: auto; //} //pre { // max-width: 100ch; //} blockquote { background-color: #25282f; border: dashed 1px #8c8c8c; padding: 0 1ch 0 1ch; margin: 0 2ch 0 2ch; font-size: clamp(10px, 2vw, 14px); } @media (max-width: 500px) { blockquote { margin: 0; } }