salix/front/core/styles/font-family.scss

47 lines
1.1 KiB
SCSS

@font-face {
font-family: vn-font-medium;
src: url(./fonts/Roboto-Medium.ttf);
}
@font-face {
font-family: vn-font;
src: url(./fonts/Roboto-Regular.ttf);
}
@font-face {
font-family: vn-font-bold;
src: url(./fonts/Roboto-Bold.ttf);
}
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(./fonts/MaterialIcons-Regular.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 1.5rem; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
[class^="icon-"] {
padding: .1em;
font-size: .833em;
}