mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-04-17 20:58:14 -04:00
* Use self-hosted fonts * tmp * Revert "tmp" This reverts commit fa4c0121630c9eea00ecf09be28f1b5e5ebd0fd2. * Add Roboto Slab * Add Material Icon font
80 lines
1.9 KiB
CSS
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;
|
|
} |