diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-28 20:40:06 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-28 20:40:06 +0200 |
commit | 8c8981891e1fccc4a4491ffe02c26a9d4279f0e6 (patch) | |
tree | 7f73b6ae37bfa9edf43aae177e6b4fb0b66feb4c /static/material_icons.css | |
parent | about page and licence (diff) | |
download | scout-subs-8c8981891e1fccc4a4491ffe02c26a9d4279f0e6.tar.gz scout-subs-8c8981891e1fccc4a4491ffe02c26a9d4279f0e6.zip |
local font feching, list for non interactive items
Diffstat (limited to '')
-rw-r--r-- | static/material_icons.css | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/static/material_icons.css b/static/material_icons.css new file mode 100644 index 0000000..86d60d7 --- /dev/null +++ b/static/material_icons.css @@ -0,0 +1,36 @@ +@font-face { + font-family: 'Material Icons'; + font-style: normal; + font-weight: 400; + src: url(/static/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */ + src: local('Material Icons'), + local('MaterialIcons-Regular'), + url(/static/fonts/MaterialIcons-Regular.woff2) format('woff2'), + url(/static/fonts/MaterialIcons-Regular.woff) format('woff'), + url(/static/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'; +}
\ No newline at end of file |