111 lines
4.2 KiB
SCSS
111 lines
4.2 KiB
SCSS
/**
|
|
* Setup of self-hosted material icons font.
|
|
*
|
|
* http://google.github.io/material-design-icons/#icon-font-for-the-web
|
|
*/
|
|
@font-face {
|
|
font-family: 'Material Icons';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/MaterialIcons-Regular.eot'); /* For IE6-8 */
|
|
src: local('Material Icons'),
|
|
local('MaterialIcons-Regular'),
|
|
url('assets/fonts/MaterialIcons-Regular.woff2') format('woff2'),
|
|
url('assets/fonts/MaterialIcons-Regular.woff') format('woff'),
|
|
url('assets/fonts/MaterialIcons-Regular.ttf') format('truetype');
|
|
}
|
|
|
|
.material-icons {
|
|
font-family: 'Material Icons';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px; /* 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';
|
|
}
|
|
|
|
/**
|
|
* Setup of self-hosted roboto font.
|
|
*
|
|
* https://google-webfonts-helper.herokuapp.com/fonts/roboto?subsets=latin
|
|
*/
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/RobotoLatin-Regular.eot'); /* IE9 Compat Modes */
|
|
src: local('Roboto'), local('Roboto-Regular'),
|
|
url('assets/fonts/RobotoLatin-Regular.woff2') format('woff2'), /* Super Modern Browsers */
|
|
url('assets/fonts/RobotoLatin-Regular.woff') format('woff'), /* Modern Browsers */
|
|
url('assets/fonts/RobotoLatin-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
}
|
|
|
|
/* roboto-mono-regular - latin */
|
|
@font-face {
|
|
font-family: 'Roboto Mono';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/RobotoMonoLatin-Regular.eot'); /* IE9 Compat Modes */
|
|
src: local('Roboto Mono'), local('RobotoMono-Regular'),
|
|
url('assets/fonts/RobotoMonoLatin-Regular.woff2') format('woff2'), /* Super Modern Browsers */
|
|
url('assets/fonts/RobotoMonoLatin-Regular.woff') format('woff'), /* Modern Browsers */
|
|
url('assets/fonts/RobotoMonoLatin-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
}
|
|
|
|
|
|
/* montserrat-regular - latin */
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/montserrat-v14-latin-regular.eot'); /* IE9 Compat Modes */
|
|
src: local('Montserrat Regular'), local('Montserrat-Regular'),
|
|
url('assets/fonts/montserrat-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
url('assets/fonts/montserrat-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
|
url('assets/fonts/montserrat-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
|
|
url('assets/fonts/montserrat-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
|
url('assets/fonts/montserrat-v14-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
|
|
}
|
|
|
|
/* Weather icons font - https://erikflowers.github.io/weather-icons/ */
|
|
|
|
@font-face {
|
|
font-family: 'weathericons';
|
|
src: url('assets/fonts/weathericons-regular-webfont.eot');
|
|
src: url('assets/fonts/weathericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
|
url('assets/fonts/weathericons-regular-webfont.woff2') format('woff2'),
|
|
url('assets/fonts/weathericons-regular-webfont.woff') format('woff'),
|
|
url('assets/fonts/weathericons-regular-webfont.ttf') format('truetype'),
|
|
url('assets/fonts/weathericons-regular-webfont.svg#weather_iconsregular') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* JAM icons font - https://github.com/michaelampr/jam */
|
|
|
|
@font-face{
|
|
font-family:'jam-icons';
|
|
src:url("assets/fonts/jam-icons.eot?osflwm");
|
|
src:url("assets/fonts/jam-icons.eot?osflwm#iefix") format("embedded-opentype"),
|
|
url("assets/fonts/jam-icons.ttf?osflwm") format("truetype"),
|
|
url("assets/fonts/jam-icons.woff?osflwm") format("woff"),
|
|
url("assets/fonts/jam-icons.svg?osflwm#Jam-icons") format("svg");
|
|
font-weight:normal;
|
|
font-style:normal
|
|
} |