mediawiki-skins-Citizen/resources/font-face.less

65 lines
2 KiB
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
// Font-face stylesheet
// Directory of hosted font
@font-directory: 'fonts/';
@font-face {
2019-12-20 18:12:31 +00:00
font-family: 'Roboto';
src: local('Roboto'), local('Roboto-Regular'),
url('@{font-directory}Roboto-Regular.woff2') format('woff2'),
url('@{font-directory}Roboto-Regular.woff') format('woff');
2019-08-15 17:40:13 +00:00
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
2019-12-20 18:12:31 +00:00
src: local('Roboto Bold'), local('Roboto-Bold'),
url('@{font-directory}Roboto-Bold.woff2') format('woff2'),
url('@{font-directory}Roboto-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
2019-08-15 17:40:13 +00:00
src: local('Roboto Italic'), local('Roboto-Italic'),
url('@{font-directory}Roboto-Italic.woff2') format('woff2'),
2019-12-20 18:12:31 +00:00
url('@{font-directory}Roboto-Italic.woff') format('woff');
2019-08-15 17:40:13 +00:00
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Titillium Web';
2019-12-20 18:12:31 +00:00
src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'),
url('@{font-directory}TitilliumWeb-Regular.woff2') format('woff2'),
url('@{font-directory}TitilliumWeb-Regular.woff') format('woff');
font-weight: normal;
2019-08-15 17:40:13 +00:00
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Titillium Web';
2019-12-20 18:12:31 +00:00
src: local('Titillium Web Bold'), local('TitilliumWeb-Bold'),
url('@{font-directory}TitilliumWeb-Bold.woff2') format('woff2'),
url('@{font-directory}TitilliumWeb-Bold.woff') format('woff');
2019-08-15 17:40:13 +00:00
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
2019-12-20 18:12:31 +00:00
font-family: 'Titillium Web';
src: local('Titillium Web Italic'), local('TitilliumWeb-Italic'),
url('@{font-directory}TitilliumWeb-Italic.woff2') format('woff2'),
url('@{font-directory}TitilliumWeb-Italic.woff') format('woff');
2019-08-15 17:40:13 +00:00
font-weight: normal;
2019-12-20 18:12:31 +00:00
font-style: italic;
2019-08-15 17:40:13 +00:00
font-display: swap;
}