aboutsummaryrefslogtreecommitdiff
path: root/p/themes/base-theme/template.css
diff options
context:
space:
mode:
authorGravatar Pavel Pletenev <cpp.create@gmail.com> 2017-12-02 21:01:29 +0300
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-12-02 19:01:29 +0100
commitac73ba3accd8f5638b330002d002460067c4e012 (patch)
treefc8bec3e851d1f40d711884c659b0c214d2c8291 /p/themes/base-theme/template.css
parentf71ad3f0822f3b3dd8d3bf911e0e23977244a3b3 (diff)
Add more glyphs for opensans font (#1032)
* Add more glyphs for opensans font * Update .htaccess to support woff2 file format * Fixed browser support for new font face * Fixed Origine theme css and .htaccess * Deleted unneeded fonts * Added stylefiles for OpenSans font * Fixed all themes with new font css * Avoid additional CSS file * htaccess cache control public * Font casing bug * Remove TTF font Too big, low need https://caniuse.com/#search=woff * Changelog 1032 https://github.com/FreshRSS/FreshRSS/pull/1032 https://github.com/FreshRSS/FreshRSS/pull/1028
Diffstat (limited to 'p/themes/base-theme/template.css')
-rw-r--r--p/themes/base-theme/template.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index 320ad2d9b..e5e1bca05 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -2,9 +2,19 @@
/*=== GENERAL */
/*============*/
+@font-face {
+ font-family: 'OpenSans';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Open Sans'), local('OpenSans'),
+ url('../fonts/OpenSans.woff2') format('woff2'),
+ url('../fonts/OpenSans.woff') format('woff');
+}
+
html, body {
margin: 0;
padding: 0;
+ font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
font-size: 100%;
}