Use Roboto for body text
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This is what the native font stack in Bootstrap v4 was using and I think it looks better than Cantarell in Bootstrap v5 on Linux.
This commit is contained in:
parent
8bcca9be7c
commit
bd97c3eb3b
@ -8,3 +8,69 @@
|
||||
url('../fonts/playfair-display-v21-latin-ext_latin_cyrillic-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/playfair-display-v21-latin-ext_latin_cyrillic-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* roboto-300 - latin-ext_latin_cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local(''),
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* roboto-300italic - latin-ext_latin_cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-display: swap;
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
src: local(''),
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* roboto-regular - latin-ext_latin_cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* roboto-italic - latin-ext_latin_cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-display: swap;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* roboto-700 - latin-ext_latin_cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
||||
/* roboto-700italic - latin-ext_latin_cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-display: swap;
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
url('../fonts/roboto-v20-latin-ext_latin_cyrillic-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
||||
}
|
||||
|
@ -24,3 +24,7 @@ figcaption {
|
||||
font-style: italic;
|
||||
color: #727272;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300.woff
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300.woff2
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300.woff2
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300italic.woff
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300italic.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300italic.woff2
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-300italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700.woff
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700.woff2
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700.woff2
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700italic.woff
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700italic.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700italic.woff2
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-700italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-italic.woff
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-italic.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-italic.woff2
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-regular.woff
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-regular.woff
Normal file
Binary file not shown.
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-regular.woff2
Normal file
BIN
static/fonts/roboto-v20-latin-ext_latin_cyrillic-regular.woff2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user