omegamma/assets/scss/font.scss

54 lines
1.8 KiB
SCSS

/**
* Omegamma - Hugo theme for ad5001.eu and related websites.
* Copyright (C) 2021 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// Metropolis font
@font-face {
font-family: "Metropolis";
src: local('Metropolis'),
url(/fonts/metropolis/Metropolis-Regular.otf) format("opentype");
font-display: swap;
}
@font-face {
font-family: "Metropolis";
src: local('Metropolis Bold'),
url(/fonts/metropolis/Metropolis-Bold.otf) format("opentype");
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "Metropolis Light";
src: local('Metropolis Light'),
url(/fonts/metropolis/Metropolis-Light.otf) format("opentype");
font-display: swap;
}
// Omegicons font
@font-face {
font-family: 'omegicons';
src: url('../fonts/omegicons/omegicons.eot?54316140');
src: url('../fonts/omegicons/omegicons.eot?54316140#iefix') format('embedded-opentype'),
url('../fonts/omegicons/omegicons.woff2?54316140') format('woff2'),
url('../fonts/omegicons/omegicons.woff?54316140') format('woff'),
url('../fonts/omegicons/omegicons.ttf?54316140') format('truetype'),
url('../fonts/omegicons/omegicons.svg?54316140#omegicons') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}