[static-web] css: Add Source San Pro fontfaces to fonts.css
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [static-web] css: Add Source San Pro fontfaces to fonts.css
- Date: Fri, 26 May 2017 11:00:29 +0000 (UTC)
commit 9b1504899148d0bce85aea92c3a3525f826e031c
Author: Tom Tryfonidis <tomtryf gnome org>
Date: Fri May 26 13:59:32 2017 +0300
css: Add Source San Pro fontfaces to fonts.css
css/fonts.css | 144 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 144 insertions(+), 0 deletions(-)
---
diff --git a/css/fonts.css b/css/fonts.css
index e0349cf..edcf3ae 100644
--- a/css/fonts.css
+++ b/css/fonts.css
@@ -1,4 +1,148 @@
@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 200;
+ font-style: normal;
+ font-stretch: normal;
+ src: local('SourceSansPro-ExtraLight'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-ExtraLight.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-ExtraLight.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-ExtraLight.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 300;
+ font-style: normal;
+ font-stretch: normal;
+ src: local('SourceSansPro-Light'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-Light.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-Light.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-Light.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 400;
+ font-style: normal;
+ font-stretch: normal;
+ src: local('SourceSansPro-Regular'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-Regular.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-Regular.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 600;
+ font-style: normal;
+ font-stretch: normal;
+ src: local('SourceSansPro-Semibold'),
+ local('Source Sans Pro Semibold'),
+ url('../fonts/SourceSansPro-Semibold.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-Semibold.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-Semibold.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 700;
+ font-style: normal;
+ font-stretch: normal;
+ src: local('SourceSansPro-Bold'),
+ local('Source Sans Pro Bold'),
+ url('../fonts/SourceSansPro-Bold.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-Bold.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-Bold.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 900;
+ font-style: normal;
+ font-stretch: normal;
+ src: local('SourceSansPro-Black'),
+ local('Source Sans Pro Black'),
+ url('../fonts/SourceSansPro-Black.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-Black.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-Black.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 200;
+ font-style: italic;
+ font-stretch: normal;
+ src: local('SourceSansPro-ExtraLightIt'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-ExtraLightIt.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-ExtraLightIt.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-ExtraLightIt.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 300;
+ font-style: italic;
+ font-stretch: normal;
+ src: local('SourceSansPro-LightIt'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-LightIt.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-LightIt.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-LightIt.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 400;
+ font-style: italic;
+ font-stretch: normal;
+ src: local('SourceSansPro-It'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-It.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-It.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-It.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 600;
+ font-style: italic;
+ font-stretch: normal;
+ src: local('SourceSansPro-SemiboldIt'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-SemiboldIt.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-SemiboldIt.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-SemiboldIt.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 700;
+ font-style: italic;
+ font-stretch: normal;
+ src: local('SourceSansPro-BoldIt'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-BoldIt.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-BoldIt.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-BoldIt.ttf') format('truetype');
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-weight: 900;
+ font-style: italic;
+ font-stretch: normal;
+ src: local('SourceSansPro-BlackIt'),
+ local('Source Sans Pro'),
+ url('../fonts/SourceSansPro-BlackIt.otf.woff') format('woff'),
+ url('../fonts/SourceSansPro-BlackIt.otf.woff2') format('woff2'),
+ url('../fonts/SourceSansPro-BlackIt.ttf') format('truetype');
+}
+
+@font-face {
font-family: 'Cantarell';
src: local('Cantarell'), local('Cantarell Regular'),
url(../fonts/Cantarell-Regular.otf);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]