Browse code

fix for @import + subset

Jimako authored on 2020/03/03 03:03:49
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+<?php
2
+
3
+ // @import is not working correctly on mobile devices, sometimes subset is ignored
4
+ 
5
+?>
6
+
7
+
8
+<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700&display=swap&subset=latin-ext' rel='stylesheet'>
9
+<link href='https://fonts.googleapis.com/css?family=Courgette&display=swap&subset=latin-ext' rel='stylesheet'>
10
+<link href='https://netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css'>
11
+
12
+ 
0 13
\ No newline at end of file
... ...
@@ -5,11 +5,7 @@
5 5
 		Author: Nadia Volkrodt
6 6
 		Author E-Mail: nadia@artphilia.de
7 7
 */
8
-
9
-
10
-/* import fonts */
11
-@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700|Courgette);
12
-@import url(http://netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css); 
8
+ 
13 9
 
14 10
 /* import basic settings, IE-fixes and grids */
15 11
 @import url(base.css);