hugo-book-theme/assets/_fonts.scss

40 lines
1.2 KiB
SCSS
Raw Normal View History

2019-06-10 17:39:46 +02:00
/* roboto-regular - latin */
@font-face {
2019-06-10 17:39:46 +02:00
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
2019-11-16 22:00:50 +01:00
font-display: swap;
2021-05-20 11:28:51 +02:00
src: local(''),
url('fonts/roboto-v27-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/roboto-v27-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
2019-06-10 17:39:46 +02:00
}
/* roboto-700 - latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
2019-11-16 22:00:50 +01:00
font-display: swap;
2021-05-20 11:28:51 +02:00
src: local(''),
url('fonts/roboto-v27-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/roboto-v27-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
2019-06-10 17:39:46 +02:00
/* roboto-mono-regular - latin */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
2019-11-16 22:00:50 +01:00
font-display: swap;
2021-05-20 11:28:51 +02:00
src: local(''),
url('fonts/roboto-mono-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('fonts/roboto-mono-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
body {
2019-06-10 17:39:46 +02:00
font-family: 'Roboto', sans-serif;
}
2019-06-10 17:09:43 +02:00
code {
2019-06-10 17:39:46 +02:00
font-family: 'Roboto Mono', monospace;
2019-06-10 17:09:43 +02:00
}