45 lines
1.3 KiB
CSS
45 lines
1.3 KiB
CSS
|
@font-face {
|
||
|
font-family: 'Material Icons';
|
||
|
font-style: normal;
|
||
|
font-weight: 400;
|
||
|
src: local('Material Icons'),
|
||
|
local('MaterialIcons-Rounded'),
|
||
|
url(/static/MaterialSymbolsRounded.woff2) format('woff2'),
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
|
||
|
/* Rules for sizing the icon. */
|
||
|
.material-icons.md-18 { font-size: 18px; }
|
||
|
.material-icons.md-24 { font-size: 24px; }
|
||
|
.material-icons.md-36 { font-size: 36px; }
|
||
|
.material-icons.md-48 { font-size: 48px; }
|
||
|
|
||
|
/* Rules for using icons as black on a light background. */
|
||
|
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
|
||
|
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
|
||
|
|
||
|
/* Rules for using icons as white on a dark background. */
|
||
|
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
|
||
|
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
|