[bugzilla-gnome-org-customizations/production] Use Cantarell for non-monospace fonts



commit 4f095982fb72794c97942c6da9303fb38746ed31
Author: Tom Tryfonidis <tomtryf gnome org>
Date:   Mon Mar 6 19:34:56 2017 +0200

    Use Cantarell for non-monospace fonts
    
    Fixes bug #744412

 skins/contrib/Gnome/fonts.css                   |   12 ++++++++++++
 skins/contrib/Gnome/fonts/Cantarell-Bold.otf    |  Bin 0 -> 100112 bytes
 skins/contrib/Gnome/fonts/Cantarell-Regular.otf |  Bin 0 -> 97724 bytes
 skins/contrib/Gnome/global.css                  |    5 +++++
 4 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/skins/contrib/Gnome/fonts.css b/skins/contrib/Gnome/fonts.css
new file mode 100644
index 0000000..4fa8bd6
--- /dev/null
+++ b/skins/contrib/Gnome/fonts.css
@@ -0,0 +1,12 @@
+@font-face {
+  font-family: 'Cantarell';
+  src: local('Cantarell'), local('Cantarell Regular'),
+  url(./fonts/Cantarell-Regular.otf);
+}
+
+@font-face {
+  font-family: 'Cantarell';
+  font-weight: bold;
+  src: local('Cantarell'), local('Cantarell Bold'), local('Cantarell-Bold'),
+  url(./fonts/Cantarell-Bold.otf);
+}
diff --git a/skins/contrib/Gnome/fonts/Cantarell-Bold.otf b/skins/contrib/Gnome/fonts/Cantarell-Bold.otf
new file mode 100644
index 0000000..2279340
Binary files /dev/null and b/skins/contrib/Gnome/fonts/Cantarell-Bold.otf differ
diff --git a/skins/contrib/Gnome/fonts/Cantarell-Regular.otf b/skins/contrib/Gnome/fonts/Cantarell-Regular.otf
new file mode 100644
index 0000000..81ac77f
Binary files /dev/null and b/skins/contrib/Gnome/fonts/Cantarell-Regular.otf differ
diff --git a/skins/contrib/Gnome/global.css b/skins/contrib/Gnome/global.css
index 9414cc0..89c46f5 100644
--- a/skins/contrib/Gnome/global.css
+++ b/skins/contrib/Gnome/global.css
@@ -5,9 +5,14 @@
  * This Source Code Form is "Incompatible With Secondary Licenses", as
  * defined by the Mozilla Public License, v. 2.0.
  */
+@import url("fonts.css");
 
 /* Header */
 
+body, td, th, input {
+    font-family: Cantarell,'Droid Sans',Ubuntu,'DejaVu Sans',Arial,sans-serif;
+}
+
 body {
     background: transparent !important;
     margin: 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]