From 8c8981891e1fccc4a4491ffe02c26a9d4279f0e6 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Tue, 28 Jul 2020 20:40:06 +0200 Subject: local font feching, list for non interactive items --- static/fonts/MaterialIcons-Regular.eot | Bin 0 -> 143258 bytes static/fonts/MaterialIcons-Regular.ttf | Bin 0 -> 128180 bytes static/fonts/MaterialIcons-Regular.woff | Bin 0 -> 57620 bytes static/fonts/MaterialIcons-Regular.woff2 | Bin 0 -> 44300 bytes static/material_icons.css | 36 +++++++++++++++++++++++++++++++ 5 files changed, 36 insertions(+) create mode 100644 static/fonts/MaterialIcons-Regular.eot create mode 100644 static/fonts/MaterialIcons-Regular.ttf create mode 100644 static/fonts/MaterialIcons-Regular.woff create mode 100644 static/fonts/MaterialIcons-Regular.woff2 create mode 100644 static/material_icons.css (limited to 'static') diff --git a/static/fonts/MaterialIcons-Regular.eot b/static/fonts/MaterialIcons-Regular.eot new file mode 100644 index 0000000..70508eb Binary files /dev/null and b/static/fonts/MaterialIcons-Regular.eot differ diff --git a/static/fonts/MaterialIcons-Regular.ttf b/static/fonts/MaterialIcons-Regular.ttf new file mode 100644 index 0000000..7015564 Binary files /dev/null and b/static/fonts/MaterialIcons-Regular.ttf differ diff --git a/static/fonts/MaterialIcons-Regular.woff b/static/fonts/MaterialIcons-Regular.woff new file mode 100644 index 0000000..b648a3e Binary files /dev/null and b/static/fonts/MaterialIcons-Regular.woff differ diff --git a/static/fonts/MaterialIcons-Regular.woff2 b/static/fonts/MaterialIcons-Regular.woff2 new file mode 100644 index 0000000..9fa2112 Binary files /dev/null and b/static/fonts/MaterialIcons-Regular.woff2 differ 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 -- cgit v1.2.1