@use "sass:color"; $grey-vdark: rgb(17, 24, 39); $grey-dark: color.adjust($grey-vdark, $lightness: 5%); $grey-medium: color.adjust($grey-vdark, $lightness: 15%); $grey-light: #4c566a; $white-dark: #d8dee9; $white-light: #eceff4; $blue: #88c0d0; $blue-med: #81a1c1; $blue-dark: #5e81ac; $text-default: $white-light; $primary: $blue; $secondary: $blue-med; body { color: $text-default; background-color: $grey-vdark; font-family: 'Inconsolata', monospace; line-height: 1.3rem; .container { max-width: 900px; margin-left: auto; margin-right: auto; display: block; .blog { max-width: 700px; margin-left: auto; margin-right: auto; &-header { &>* { display: block; } a, a:visited { color: $primary; } small { margin-top: 0.1em; margin-bottom: 0.4em; } } &-content { border-top: 1px solid $grey-medium; margin-top: 1em; } } ol:not(ol *, ul *), ul:not(ol *, ul *) { margin-left: 0rem; margin-top: 0rem; margin-bottom: 1rem; padding-left: 1.5rem; margin-right: 2rem; list-style-position: outside; } ol p, ul p { margin: 0.3rem 0rem; display: inline; } ol { list-style-type: decimal; } ul { list-style-type: "- "; } } .nav { width: 100%; padding-top: 0.2rem; padding-bottom: 0.9em; margin-bottom: 0.6em; border-bottom: 1px $grey-dark solid; display: flex; align-items: center; flex-wrap: wrap; a.main-logo { font-weight: 700; font-size: 1.2em; text-decoration: none; color: $text-default !important; display: flex; align-items: center; margin-right: 1rem; img { height: 20px; width: auto; margin-right: 0.6rem; } } a, a:visited { color: $primary; } } a { color: $primary; &:visited { color: $secondary; } } h1, h2, h3, h4 { font-weight: 700; line-height: 1.6rem; } h1, h2 { margin-bottom: 0.2rem; margin-top: 0.8rem; } h3, h4, h5 { margin-bottom: 0rem; margin-top: 0.3rem; } p { margin-top: 0.4rem; margin-bottom: 1.4rem; } code, pre { background-color: $grey-dark; padding: 0.1rem 0.4rem; display: inline-block; } } .d-inline-block { display: inline-block; } img { max-width: 100%; &[width][height] { height: auto; } } ul.list-dash>li::before { content: "- " } .flex { display: flex; flex-shrink: 0; flex-wrap: wrap; }