github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/doc/main.scss (about) 1 @import 'variables'; 2 3 @font-face { 4 font-family: 'Menlo'; 5 src: local('Menlo Regular'), local('Menlo-Regular'), 6 url('fonts/Menlo-Regular.woff2') format('woff2'), 7 url('fonts/Menlo-Regular.woff') format('woff'); 8 font-weight: $fontWeightNormal; 9 font-style: normal; 10 font-display: swap; 11 } 12 13 /* cyrillic */ 14 @font-face { 15 font-family: "Inter"; 16 font-style: normal; 17 font-weight: 400; 18 font-display: swap; 19 src: url("https://static.phrase.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa0ZL7SUc.woff2") format("woff2"); 20 unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 21 } 22 23 /* latin */ 24 @font-face { 25 font-family: "Inter"; 26 font-style: normal; 27 font-weight: 400; 28 font-display: swap; 29 src: url("https://static.phrase.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2") format("woff2"); 30 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, 31 U+2215, U+FEFF, U+FFFD; 32 } 33 34 .nav-logo { 35 display: flex; 36 align-items: center; 37 justify-content: center; 38 background-color: $colorAccentBackground; 39 40 &__img { 41 display: block; 42 height: 22px; 43 padding: 0 0 16px 0; 44 } 45 } 46 47 .footer { 48 text-align: center; 49 padding: 8px 0; 50 51 &__link { 52 font-size: 12px; 53 padding: 0 10px; 54 color: $colorAccentBackground; 55 } 56 } 57 58 rapi-doc { 59 --nav-accent-color: #{$colorPrimaryForeground}; 60 --nav-hover-bg-color: #{$colorPrimaryBorder}; 61 } 62 63 rapi-doc::part(btn-search) { 64 padding: 8px; 65 } 66 rapi-doc::part(textbox-nav-filter) { 67 --nav-accent-color: #dadada; 68 }