about summary refs log tree commit diff
path: root/app/assets/stylesheets/fonts/roboto.scss
diff options
context:
space:
mode:
authorRam Lmn <ramlmn@users.noreply.github.com>2017-04-21 21:39:05 +0530
committerEugen <eugen@zeonfederated.com>2017-04-21 18:09:05 +0200
commit27a99b19e842055b869cb5e99f66b4b1e4688780 (patch)
tree3f3180ed179b5ac3a0428b0a6ebe6952efc6d2f8 /app/assets/stylesheets/fonts/roboto.scss
parentee0c897bba7c332ee3077db7605c9c3781cb4cb1 (diff)
Use local fonts and stop scrollable elements from repainting (#2266)
Diffstat (limited to 'app/assets/stylesheets/fonts/roboto.scss')
-rw-r--r--app/assets/stylesheets/fonts/roboto.scss78
1 files changed, 41 insertions, 37 deletions
diff --git a/app/assets/stylesheets/fonts/roboto.scss b/app/assets/stylesheets/fonts/roboto.scss
index 64d7bf899..fc62869d4 100644
--- a/app/assets/stylesheets/fonts/roboto.scss
+++ b/app/assets/stylesheets/fonts/roboto.scss
@@ -1,48 +1,52 @@
 @font-face {
-	font-family: 'Roboto';
-	src: font-url('roboto/roboto-italic-webfont.eot');
-	src: font-url('roboto/roboto-italic-webfont.eot?#iefix') format('embedded-opentype'),
-		font-url('roboto/roboto-italic-webfont.woff2') format('woff2'),
-		font-url('roboto/roboto-italic-webfont.woff') format('woff'),
-		font-url('roboto/roboto-italic-webfont.ttf') format('truetype'),
-		font-url('roboto/roboto-italic-webfont.svg#roboto-italic-webfont') format('svg');
-	font-weight: normal;
-	font-style: italic;
+  font-family: 'Roboto';
+  src: local('Roboto');
+  src: font-url('roboto/roboto-italic-webfont.eot');
+  src: font-url('roboto/roboto-italic-webfont.eot?#iefix') format('embedded-opentype'),
+    font-url('roboto/roboto-italic-webfont.woff2') format('woff2'),
+    font-url('roboto/roboto-italic-webfont.woff') format('woff'),
+    font-url('roboto/roboto-italic-webfont.ttf') format('truetype'),
+    font-url('roboto/roboto-italic-webfont.svg#roboto-italic-webfont') format('svg');
+  font-weight: normal;
+  font-style: italic;
 }
 
 @font-face {
-	font-family: 'Roboto';
-	src: font-url('roboto/roboto-bold-webfont.eot');
-	src: local('Roboto bold'), local('roboto-bold'),
-		font-url('roboto/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
-		font-url('roboto/roboto-bold-webfont.woff2') format('woff2'),
-		font-url('roboto/roboto-bold-webfont.woff') format('woff'),
-		font-url('roboto/roboto-bold-webfont.ttf') format('truetype'),
-		font-url('roboto/roboto-bold-webfont.svg#roboto-bold-webfont') format('svg');
-	font-weight: bold;
-	font-style: normal;
+  font-family: 'Roboto';
+  src: local('Roboto');
+  src: font-url('roboto/roboto-bold-webfont.eot');
+  src: local('Roboto bold'), local('roboto-bold'),
+    font-url('roboto/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
+    font-url('roboto/roboto-bold-webfont.woff2') format('woff2'),
+    font-url('roboto/roboto-bold-webfont.woff') format('woff'),
+    font-url('roboto/roboto-bold-webfont.ttf') format('truetype'),
+    font-url('roboto/roboto-bold-webfont.svg#roboto-bold-webfont') format('svg');
+  font-weight: bold;
+  font-style: normal;
 }
 
 @font-face {
-	font-family: 'Roboto';
-	src: font-url('roboto/roboto-medium-webfont.eot');
-	src: font-url('roboto/roboto-medium-webfont.eot?#iefix') format('embedded-opentype'),
-		font-url('roboto/roboto-medium-webfont.woff2') format('woff2'),
-		font-url('roboto/roboto-medium-webfont.woff') format('woff'),
-		font-url('roboto/roboto-medium-webfont.ttf') format('truetype'),
-		font-url('roboto/roboto-medium-webfont.svg#roboto-medium-webfont') format('svg');
-	font-weight: 500;
-	font-style: normal;
+  font-family: 'Roboto';
+  src: local('Roboto');
+  src: font-url('roboto/roboto-medium-webfont.eot');
+  src: font-url('roboto/roboto-medium-webfont.eot?#iefix') format('embedded-opentype'),
+    font-url('roboto/roboto-medium-webfont.woff2') format('woff2'),
+    font-url('roboto/roboto-medium-webfont.woff') format('woff'),
+    font-url('roboto/roboto-medium-webfont.ttf') format('truetype'),
+    font-url('roboto/roboto-medium-webfont.svg#roboto-medium-webfont') format('svg');
+  font-weight: 500;
+  font-style: normal;
 }
 
 @font-face {
-	font-family: 'Roboto';
-	src: font-url('roboto/roboto-regular-webfont.eot');
-	src: font-url('roboto/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
-		font-url('roboto/roboto-regular-webfont.woff2') format('woff2'),
-		font-url('roboto/roboto-regular-webfont.woff') format('woff'),
-		font-url('roboto/roboto-regular-webfont.ttf') format('truetype'),
-		font-url('roboto/roboto-regular-webfont.svg#roboto-regular-webfont') format('svg');
-	font-weight: normal;
-	font-style: normal;
+  font-family: 'Roboto';
+  src: local('Roboto');
+  src: font-url('roboto/roboto-regular-webfont.eot');
+  src: font-url('roboto/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
+    font-url('roboto/roboto-regular-webfont.woff2') format('woff2'),
+    font-url('roboto/roboto-regular-webfont.woff') format('woff'),
+    font-url('roboto/roboto-regular-webfont.ttf') format('truetype'),
+    font-url('roboto/roboto-regular-webfont.svg#roboto-regular-webfont') format('svg');
+  font-weight: normal;
+  font-style: normal;
 }