summaryrefslogtreecommitdiffstats
path: root/template/admin/rsrc/main.css
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-09-16 18:26:48 +0200
committerThomas Lange <code@nerdmind.de>2017-09-16 18:26:48 +0200
commit8cadbf7ed2778634ad51357f61851ed78d96ea58 (patch)
treecaae8db7eddb74d3c9837711e1c4d976b246dc85 /template/admin/rsrc/main.css
parent54516e1178c34b0a68b96edab024a6b0184d36cb (diff)
downloadblog-8cadbf7ed2778634ad51357f61851ed78d96ea58.tar.gz
blog-8cadbf7ed2778634ad51357f61851ed78d96ea58.tar.xz
blog-8cadbf7ed2778634ad51357f61851ed78d96ea58.zip
The original font "Font Awesome" has been replaced by a minimized version from Fontello.com, which contains only the absolutely necessary icons. This reduces the size of the font file to download to approximately 70 kilobytes. This is beneficial for smartphone users who have an extremely throttled data connection (for example, 32 KBit/s – yes, no joke!), which is not unusual in Germany where mobile internet is still expensive. On the other hand, it is always a good idea to load only what is really necessary. And why always (with cold browser cache) download unnecessary 70 kilobytes, when it is not necessary?
Diffstat (limited to 'template/admin/rsrc/main.css')
-rw-r--r--template/admin/rsrc/main.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css
index c115605..0666c63 100644
--- a/template/admin/rsrc/main.css
+++ b/template/admin/rsrc/main.css
@@ -219,7 +219,7 @@ label:after{content:":";}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* FontAwesome Main
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-.fa{display:inline-block;font:normal normal normal 14px/1 "FontAwesome";font-size:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
+.fa{font:normal normal normal 14px/1 FontAwesome;font-size:inherit;speak:none;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* FontAwesome Icons
@@ -279,9 +279,9 @@ label:after{content:":";}
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-/* Font "Font Awesome" [4.7.0]: SIL Open Font License (OFL)
+/* Font "Font Awesome" [4.7.0] (by Fontello): SIL Open Font License (OFL)
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-@font-face{font-family:"FontAwesome";font-weight:400;src:url("font/font-awesome.woff2") format("woff2");}
+@font-face{font-family:FontAwesome;font-weight:400;src:url("font/font-awesome-fontello.woff2") format("woff2");}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Font "Kadwa": SIL Open Font License (OFL)