/* * Fonts ********************************************************************** */ @font-face { font-family: 'Geomanist Book'; src: url("../assets/fonts/geomanist/hinted-Geomanist-Book.eot"); src: url("../assets/fonts/geomanist/hinted-Geomanist-Book.eot?#iefix") format("embedded-opentype"), url("../assets/fonts/geomanist/hinted-Geomanist-Book.woff2") format("woff2"), url("../assets/fonts/geomanist/hinted-Geomanist-Book.woff") format("woff"), url("../assets/fonts/geomanist/hinted-Geomanist-Book.ttf") format("truetype"), url("../assets/fonts/geomanist/hinted-Geomanist-Book.svg#Geomanist-Book") format("svg"); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Geomanist Regular'; src: url("../assets/fonts/geomanist/hinted-Geomanist-Regular.eot"); src: url("../assets/fonts/geomanist/hinted-Geomanist-Regular.eot?#iefix") format("embedded-opentype"), url("../assets/fonts/geomanist/hinted-Geomanist-Regular.woff2") format("woff2"), url("../assets/fonts/geomanist/hinted-Geomanist-Regular.woff") format("woff"), url("../assets/fonts/geomanist/hinted-Geomanist-Regular.ttf") format("truetype"), url("../assets/fonts/geomanist/hinted-Geomanist-Book.svg#Geomanist-Regular") format("svg"); font-weight: normal; font-style: normal; font-display: swap; } /* * inlining the style from https://fonts.googleapis.com/css?family=Open+Sans&display=swap * * We're only including the "latin" glyphs. While including @font-faces for more * glyphs would not cause the fonts to be loaded, it would make the stylesheet * itself larger, and we don't need those glyhps for our purpose as the website * is written in US-English; https://stackoverflow.com/a/14897846/1811501 */ /* latin */ /*@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: fallback; src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFVZ0bf8pkAg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } h1,h2,h3,h4,h5,h6 { font-family: $headings; clear: both; line-height: 26px; margin-top: 30px; margin-bottom: 0; font-weight: 600; } h1 { font-size: 36px; line-height: 48px; } h2 { font-size: 28px; line-height: 38px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { color: #82949e; font-size: 14px; } dd, dt { line-height: 25px; } ol, ul { padding-left: 25px; } /* latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* latin */ @font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/robotomono/v22/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSh0mQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } html, body { font-family: 'Roboto', sans-serif; font-size: 14px; } h1, .h1 { font-size: 2.5rem; font-weight: 500; line-height: 1.167; } h2, .h2 { font-size: 2rem; font-weight: 500; line-height: 1.2; } h3, .h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.167; } h4, .h4 { font-size: 1.286rem; font-weight: 500; line-height: 1.235; } .subtitle1 { font-size: 1.143rem; font-weight: 500; line-height: 1.75; } p, .body1 { font-size: 1rem; line-height: 1.5; } p { margin: 0 0 16px; } .body2 { font-size: 0.86rem; line-height: 1.43; } code, pre { font-size: 1rem; font-family: 'Roboto Mono', monospace; } .overline { font-size: 0.72rem; font-weight: 500; line-height: 2.66; text-transform: uppercase; } .inline-code { font-size: 1rem; font-family: 'Roboto Mono', monospace; background-color: white; /* black if dark mode */ border: 1px solid #E1E2E6; /* grey.200 */ padding: 0.2em 0.4em; border-radius: 4px; } .code-block { font-size: 1rem; font-family: 'Roboto Mono', monospace; background-color: white; /* black if dark mode */ border: 1px solid #E1E2E6; /* grey.200 */ padding: 8px; border-radius: 4px; display: block; }