mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-27 03:44:19 +00:00
40 lines
1.2 KiB
CSS
40 lines
1.2 KiB
CSS
/* https://google.github.io/material-design-icons/#setup-method-2-self-hosting */
|
|
|
|
@font-face {
|
|
font-family: 'Material Icons';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Material Icons'),
|
|
local('MaterialIcons-Regular'),
|
|
url(../fonts/material_icons/MaterialIcons-Regular.ttf) format('truetype'),
|
|
url(../fonts/material_icons/MaterialIconsOutlined-Regular.otf) format('opentype'),
|
|
url(../fonts/material_icons/MaterialIconsRound-Regular.otf) format('opentype'),
|
|
url(../fonts/material_icons/MaterialIconsSharp-Regular.otf) format('opentype'),
|
|
url(../fonts/material_icons/MaterialIconsTwoTone-Regular.otf) format('opentype');
|
|
}
|
|
|
|
.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';
|
|
}
|