Files
gramps-web/fonts/fonts.css
David Straub 92d52f4ded Self-host all fonts, replace Roboto with Inter (#127)
* Use self-hosted fonts

* tmp

* Revert "tmp"

This reverts commit fa4c0121630c9eea00ecf09be28f1b5e5ebd0fd2.

* Add Roboto Slab

* Add Material Icon font
2022-11-13 11:49:17 +01:00

80 lines
1.9 KiB
CSS

@font-face {
font-family: 'Inter var';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('Inter-roman.var.woff2?v=3.19') format('woff2');
font-named-instance: 'Regular';
}
@font-face {
font-family: 'Inter var';
font-style: italic;
font-weight: 100 900;
font-display: swap;
src: url('Inter-italic.var.woff2?v=3.19') format('woff2');
font-named-instance: 'Italic';
}
@font-face {
font-style: normal;
font-family: 'EB Garamond x';
font-display: swap;
src: url('EBGaramond12-Regular.woff') format('woff');
}
@font-face {
font-style: italic;
font-family: 'EB Garamond x';
font-display: swap;
src: url('EBGaramond12-Italic.woff') format('woff');
}
@font-face {
font-family: 'Roboto Slab';
font-style: normal;
font-weight: 300;
src: local(''),
url('../fonts/roboto-slab-v24-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.woff2') format('woff2');
}
@font-face {
font-family: 'Roboto Slab';
font-style: normal;
font-weight: 400;
src: local(''),
url('../fonts/roboto-slab-v24-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2');
}
@font-face {
font-family: 'Roboto Slab';
font-style: normal;
font-weight: 500;
src: local(''),
url('../fonts/roboto-slab-v24-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff2') format('woff2');
}
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
font-display: block;
src: url('MaterialIcons.woff2') format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}