diff --git a/static/css/fonts/nunito.css b/static/css/fonts/nunito.css index 71c3a57..a802a6f 100644 --- a/static/css/fonts/nunito.css +++ b/static/css/fonts/nunito.css @@ -6,12 +6,4 @@ font-display: block; src: url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofINeaBTMnFcQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -@font-face { - font-family: 'Roboto Slab'; - font-style: normal; - font-weight: 100 900; - font-display: block; - src: url(https://fonts.gstatic.com/s/robotoslab/v34/BngMUXZYTXPIvIBgJJSb6ufN5qWr4xCC.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } \ No newline at end of file diff --git a/static/css/fonts/roboto-slab.css b/static/css/fonts/roboto-slab.css new file mode 100644 index 0000000..720bf5e --- /dev/null +++ b/static/css/fonts/roboto-slab.css @@ -0,0 +1,9 @@ +/* latin */ +@font-face { + font-family: 'Roboto Slab'; + font-style: normal; + font-weight: 100 900; + font-display: block; + src: url(https://fonts.gstatic.com/s/robotoslab/v34/BngMUXZYTXPIvIBgJJSb6ufN5qWr4xCC.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index f52593f..680663c 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,4 +1,5 @@ @import url('fonts/nunito.css'); +@import url('fonts/roboto-slab.css'); html { color: rgba(53,53,53,1)!important; @@ -11,13 +12,13 @@ body { font-family: var(--bs-body-font-family); background-color: var(--background); overflow-x: hidden; - font-size: 1rem; -/* letter-spacing: .25px; */ - -webkit-font-smoothing: antialiased; + font-size: 1.125rem; + letter-spacing: .125px; +/* -webkit-font-smoothing: antialiased; */ font-variant-ligatures: no-common-ligatures; - font-weight: 400; +/* font-weight: 400; */ } -h1,h2,h3,h4{ +h1, h2, h3, h4{ font-family: 'Roboto Slab'; } /* ::selection, ::-moz-selection {