home/src/scss/_icons.scss

34 lines
955 B
SCSS

@font-face {
font-family: 'andrew';
src: url('icons/andrew.eot?9vzntv');
src: url('icons/andrew.eot?9vzntv#iefix') format('embedded-opentype'),
url('icons/andrew.woff2?9vzntv') format('woff2'),
url('icons/andrew.ttf?9vzntv') format('truetype'),
url('icons/andrew.woff?9vzntv') format('woff'),
url('icons/andrew.svg?9vzntv#andrew') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'andrew' !important; // !i to prevent issues with browser extensions that change fonts
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
// better rendering
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-github:before {
content: "\e900";
}
.icon-mastodon:before {
content: "\e901";
}