Added custom fonts

This commit is contained in:
ericb 2024-11-27 17:25:02 +01:00
parent 350c75cfdb
commit 5c1d97e267
3 changed files with 15 additions and 13 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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 {