aboutsummaryrefslogtreecommitdiffstats
path: root/static/material_icons.css
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-07-28 20:40:06 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-07-28 20:40:06 +0200
commit8c8981891e1fccc4a4491ffe02c26a9d4279f0e6 (patch)
tree7f73b6ae37bfa9edf43aae177e6b4fb0b66feb4c /static/material_icons.css
parentabout page and licence (diff)
downloadscout-subs-8c8981891e1fccc4a4491ffe02c26a9d4279f0e6.tar.gz
scout-subs-8c8981891e1fccc4a4491ffe02c26a9d4279f0e6.zip
local font feching, list for non interactive items
Diffstat (limited to 'static/material_icons.css')
-rw-r--r--static/material_icons.css36
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