Added custom fonts
This commit is contained in:
parent
350c75cfdb
commit
5c1d97e267
3 changed files with 15 additions and 13 deletions
|
|
@ -7,11 +7,3 @@
|
||||||
src: url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofINeaBTMnFcQ.woff2) format('woff2');
|
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;
|
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;
|
|
||||||
}
|
|
||||||
9
static/css/fonts/roboto-slab.css
Normal file
9
static/css/fonts/roboto-slab.css
Normal 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;
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
@import url('fonts/nunito.css');
|
@import url('fonts/nunito.css');
|
||||||
|
@import url('fonts/roboto-slab.css');
|
||||||
|
|
||||||
html {
|
html {
|
||||||
color: rgba(53,53,53,1)!important;
|
color: rgba(53,53,53,1)!important;
|
||||||
|
|
@ -11,13 +12,13 @@ body {
|
||||||
font-family: var(--bs-body-font-family);
|
font-family: var(--bs-body-font-family);
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
font-size: 1rem;
|
font-size: 1.125rem;
|
||||||
/* letter-spacing: .25px; */
|
letter-spacing: .125px;
|
||||||
-webkit-font-smoothing: antialiased;
|
/* -webkit-font-smoothing: antialiased; */
|
||||||
font-variant-ligatures: no-common-ligatures;
|
font-variant-ligatures: no-common-ligatures;
|
||||||
font-weight: 400;
|
/* font-weight: 400; */
|
||||||
}
|
}
|
||||||
h1,h2,h3,h4{
|
h1, h2, h3, h4{
|
||||||
font-family: 'Roboto Slab';
|
font-family: 'Roboto Slab';
|
||||||
}
|
}
|
||||||
/* ::selection, ::-moz-selection {
|
/* ::selection, ::-moz-selection {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue