Parcourir la source

Alegreya font css definition

Hugo Roy il y a 9 ans
Parent
commit
2e9857a1c1
1 fichiers modifiés avec 196 ajouts et 0 suppressions
  1. 196 0
      _sass/vendor/alegreya/alegreya.scss

+ 196 - 0
_sass/vendor/alegreya/alegreya.scss

@@ -0,0 +1,196 @@
+$font-path:        "../fonts" !default;
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreyasc-blackitalic-webfont.eot');
+    src: url('#{$font-path}/alegreyasc-blackitalic-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreyasc-blackitalic-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreyasc-blackitalic-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreyasc-blackitalic-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreyasc-blackitalic-webfont.svg#alegreya_scblack_italic') format('svg');
+    font-weight: 900;
+    font-style: italic;
+    font-variant: small-caps;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreyasc-black-webfont.eot');
+    src: url('#{$font-path}/alegreyasc-black-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreyasc-black-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreyasc-black-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreyasc-black-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreyasc-black-webfont.svg#alegreya_scblack') format('svg');
+    font-weight: 900;
+    font-style: normal;
+    font-variant: small-caps;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreyasc-bolditalic-webfont.eot');
+    src: url('#{$font-path}/alegreyasc-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreyasc-bolditalic-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreyasc-bolditalic-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreyasc-bolditalic-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreyasc-bolditalic-webfont.svg#alegreya_scbold_italic') format('svg');
+    font-weight: 700;
+    font-style: italic;
+    font-variant: small-caps;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreyasc-bold-webfont.eot');
+    src: url('#{$font-path}/alegreyasc-bold-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreyasc-bold-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreyasc-bold-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreyasc-bold-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreyasc-bold-webfont.svg#alegreya_scbold') format('svg');
+    font-weight: 700;
+    font-style: normal;
+    font-variant: small-caps;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreyasc-italic-webfont.eot');
+    src: url('#{$font-path}/alegreyasc-italic-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreyasc-italic-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreyasc-italic-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreyasc-italic-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreyasc-italic-webfont.svg#alegreya_scitalic') format('svg');
+    font-weight: normal;
+    font-style: italic;
+    font-variant: small-caps;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreyasc-regular-webfont.eot');
+    src: url('#{$font-path}/alegreyasc-regular-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreyasc-regular-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreyasc-regular-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreyasc-regular-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreyasc-regular-webfont.svg#alegreya_scregular') format('svg');
+    font-weight: normal;
+    font-style: normal;
+    font-variant: small-caps;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreya-blackitalic-webfont.eot');
+    src: url('#{$font-path}/alegreya-blackitalic-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreya-blackitalic-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreya-blackitalic-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreya-blackitalic-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreya-blackitalic-webfont.svg#alegreyablack_italic') format('svg');
+    font-weight: 900;
+    font-style: italic;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreya-black-webfont.eot');
+    src: url('#{$font-path}/alegreya-black-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreya-black-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreya-black-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreya-black-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreya-black-webfont.svg#alegreyablack') format('svg');
+    font-weight: 900;
+    font-style: normal;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreya-bolditalic-webfont.eot');
+    src: url('#{$font-path}/alegreya-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreya-bolditalic-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreya-bolditalic-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreya-bolditalic-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreya-bolditalic-webfont.svg#alegreyabold_italic') format('svg');
+    font-weight: 700;
+    font-style: italic;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreya-bold-webfont.eot');
+    src: url('#{$font-path}/alegreya-bold-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreya-bold-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreya-bold-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreya-bold-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreya-bold-webfont.svg#alegreyabold') format('svg');
+    font-weight: 700;
+    font-style: normal;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreya-italic-webfont.eot');
+    src: url('#{$font-path}/alegreya-italic-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreya-italic-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreya-italic-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreya-italic-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreya-italic-webfont.svg#alegreyaitalic') format('svg');
+    font-weight: normal;
+    font-style: italic;
+
+}
+
+
+
+
+@font-face {
+    font-family: 'Alegreya';
+    src: url('#{$font-path}/alegreya-regular-webfont.eot');
+    src: url('#{$font-path}/alegreya-regular-webfont.eot?#iefix') format('embedded-opentype'),
+         url('#{$font-path}/alegreya-regular-webfont.woff2') format('woff2'),
+         url('#{$font-path}/alegreya-regular-webfont.woff') format('woff'),
+         url('#{$font-path}/alegreya-regular-webfont.ttf') format('truetype'),
+         url('#{$font-path}/alegreya-regular-webfont.svg#alegreyaregular') format('svg');
+    font-weight: normal;
+    font-style: normal;
+
+}