[www-doc] [Git][VideoLAN.org/websites][master] Use local Raleway Thin fonts
Jean-Baptiste Kempf
gitlab at videolan.org
Mon May 28 12:24:26 CEST 2018
Jean-Baptiste Kempf pushed to branch master at VideoLAN organization / websites
Commits:
f75e2047 by David Loiret at 2018-05-28T12:23:51+02:00
Use local Raleway Thin fonts
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
- - - - -
6 changed files:
- + www.videolan.org/style/fonts/Raleway/Raleway-Thin.eot
- + www.videolan.org/style/fonts/Raleway/Raleway-Thin.svg
- + www.videolan.org/style/fonts/Raleway/Raleway-Thin.ttf
- + www.videolan.org/style/fonts/Raleway/Raleway-Thin.woff
- + www.videolan.org/style/fonts/Raleway/Raleway-Thin.woff2
- www.videolan.org/style/style.scss
Changes:
=====================================
www.videolan.org/style/fonts/Raleway/Raleway-Thin.eot
=====================================
Binary files /dev/null and b/www.videolan.org/style/fonts/Raleway/Raleway-Thin.eot differ
=====================================
www.videolan.org/style/fonts/Raleway/Raleway-Thin.svg
=====================================
The diff for this file was not included because it is too large.
=====================================
www.videolan.org/style/fonts/Raleway/Raleway-Thin.ttf
=====================================
Binary files /dev/null and b/www.videolan.org/style/fonts/Raleway/Raleway-Thin.ttf differ
=====================================
www.videolan.org/style/fonts/Raleway/Raleway-Thin.woff
=====================================
Binary files /dev/null and b/www.videolan.org/style/fonts/Raleway/Raleway-Thin.woff differ
=====================================
www.videolan.org/style/fonts/Raleway/Raleway-Thin.woff2
=====================================
Binary files /dev/null and b/www.videolan.org/style/fonts/Raleway/Raleway-Thin.woff2 differ
=====================================
www.videolan.org/style/style.scss
=====================================
--- a/www.videolan.org/style/style.scss
+++ b/www.videolan.org/style/style.scss
@@ -56,11 +56,19 @@ ul, li
list-style-type: none;
}
+$font-path-raleway: "/style/fonts/Raleway";
+
@font-face {
font-family: "Raleway";
font-style: normal;
font-weight: 100;
- src: local("Raleway Thin"), local("Raleway-Thin"), url("//themes.googleusercontent.com/font?kit=RJMlAoFXXQEzZoMSUteGWKCWcynf_cDxXwCLxiixG1c") format("truetype");
+ src: local("Raleway Thin"), local("Raleway-Thin"),
+ url('#{$font-path-raleway}/Raleway-Thin.eot'),
+ url('#{$font-path-raleway}/Raleway-Thin.eot?#iefix') format('embedded-opentype'),
+ url('#{$font-path-raleway}/Raleway-Thin.woff2') format('woff2'),
+ url('#{$font-path-raleway}/Raleway-Thin.woff') format('woff'),
+ url('#{$font-path-raleway}/Raleway-Thin.ttf') format('truetype'),
+ url('#{$font-path-raleway}/Raleway-Thin.svg#Raleway-Thin') format('svg');
}
@font-face {
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/f75e20475951e0d1252709c2c4db6f4b7e87dd34
---
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/f75e20475951e0d1252709c2c4db6f4b7e87dd34
You're receiving this email because of your account on code.videolan.org.
More information about the www-doc
mailing list