@import "_breakpoints"; @import "_mixins"; $display-font : "Space Grotesk"; $body-font : "Space Grotesk"; $mono-font : "Inconsolata"; $green : #4CB963; $dark-green : #157f1f; $ptsize : 16px; $scalefactor : 1.414; @function pow($number, $exponent) { $value: 1; @if $exponent > 0 { @for $i from 1 through $exponent { $value: $value * $number; } } @return $value; } * { box-sizing: border-box; text-rendering: optimizeLegibility; font-kerning: auto; } .logo { width: 50px; } h1, h2, h3, h4, h5, h6, blockquote { font-family: $display-font; // line-height: 1.5em; } a { text-decoration: none; color: $green; padding-bottom: 0.005em; border-bottom: 1px solid lightgray; } a:hover { color: $dark-green; border-bottom: 1px solid $dark-green; } h1 { font-size: $ptsize * pow($scalefactor, 3); // line-height: 120%; margin-top: 80px; margin-bottom: 40px; // font-weight: 700; font-family: $body-font; } h1.title { a { border: none; color: black; } } h2 { color: $green; font-size: $ptsize * pow($scalefactor, 2); // line-height: 160%; margin-top: 60px; margin-bottom: 40px; } h2.subtitle { // font-weight: 200; // font-style: italic; font-size: $ptsize * pow($scalefactor, 2); // font-family: $body-font; margin-top: -30px; font-weight: 300; } h3 { font-size: $ptsize * pow($scalefactor, 1); // line-height: 150%; margin-top: 40px; margin-bottom: 20px; } h4 { font-size: $ptsize * pow($scalefactor, 1); line-height: 140%; } h5 { font-size: $ptsize * pow($scalefactor, 1); letter-spacing: 1px; text-transform: uppercase; // line-height: 140%; } h6 { font-size: $ptsize; letter-spacing: 2px; text-transform: uppercase; // line-height: 140%; } p { color: rgb(68, 68, 68); font-size: $ptsize; font-weight: 400; line-height: 1.6; margin-top: 40px; margin-bottom: 40px; } ul, ol, dl { line-height: 200%; font-size: 20px; } body { font-family: $body-font; margin: 0; width: 100%; background-color: white; } img, audio, video, figure { width: 100%; margin-left: 0; } iframe { width: 100%; } .container { background-color: white; margin: 2em auto 2em auto; padding: 0 2em 0 2em; max-width: 760px; @include sm { margin: 2em auto 2em auto; padding: 0 2em 0 2em; } @include xl { margin: 8em auto 8em auto; } } nav { margin-top: 40px; margin-bottom: 40px; font-family: $display-font; font-size: $ptsize; a { color: black; margin-right: 30px; line-height: 40px; text-decoration: none !important; border-bottom: none; padding-bottom: 0.3em; } a: hover { text-decoration: none !important; padding-bottom: 0.3em; } a.active { text-decoration: none; color: $green; padding-bottom: 0.3em; border-bottom: 1px solid $green; } } .center { text-align: center; align-content: center; justify-content: center; } .fixed { position: fixed; } .filler { background-color: white; width: 100%; height: 100%; } table { text-align: left; font-size: $ptsize; caption { text-align: left; } } li { list-style-type: "■"; padding-inline-start: 1ch; } blockquote { font-family: $body-font; color: black; font-size: $ptsize * pow($scalefactor, 1); // font-style: italic; line-height: 140%; margin-top: 40px; margin-bottom: 40px; p { color: inherit; font-style: italic; } } mono, pre, samp, code, kbd { font-family: $mono-font; font-size: inherit; font-weight: 400; } pre { font-size: $ptsize; } cite { font-family: $body-font; font-style: normal; } hr { height: 1px; border-width: 0; background-color: lightgray; } footer { margin-top: 80px; font-size: $ptsize/1.2; margin-bottom: 160px; color: grey; p { color: inherit; font-size: inherit; } } figcaption { font-family: $display-font; margin-top: 10px; color: grey; text-align: center; } .meta { font-family: $body-font; margin-top: -20px; margin-bottom: 40px; p { color: grey; } } .post { margin-bottom: 80px; } .kicker { font-family: $display-font; color: grey; margin-top: 80px; margin-bottom: -70px; text-transform: none; letter-spacing: 0; font-weight: 400; text-transform: uppercase; } strong, b { color: black; }