Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/css/main.css

Issue 29693561: Noissue - Update font-family to Source Sans Pro on abp.org (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Feb. 9, 2018, 12:32 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | static/fonts/Source-Sans-Pro-400/LICENSE.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/css/main.css
===================================================================
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -1,16 +1,42 @@
-*
+@font-face
{
- font-family: Arial, sans;
- font-size: 16px;
+ font-family: "Source Sans Pro";
+ font-weight: 400;
+ font-style: normal;
+ src: url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.eot");
juliandoucette 2018/02/13 18:32:06 I don't think this isn't necessary unless we want
ire 2018/02/14 08:43:42 Done.
+ src: url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.eot?#iefix") format("embedded-opentype"),
juliandoucette 2018/02/13 18:32:05 I don't think that this isn't necessary unless we
ire 2018/02/14 08:43:42 Done.
+ local("Source Sans Pro"),
+ local("Source-Sans-Pro-400"),
+ url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.woff2") format("woff2"),
+ url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.woff") format("woff"),
+ url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.ttf") format("truetype"),
juliandoucette 2018/02/13 18:32:06 I don't think this is necessary unless we want to
ire 2018/02/14 08:43:42 Done.
+ url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.svg#SourceSansPro") format("svg");
juliandoucette 2018/02/13 18:32:06 I don't think that this is necessary unless we wan
ire 2018/02/14 08:43:42 Done.
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-weight: 600;
+ font-style: normal;
+ src: url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.eot");
+ src: url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.eot?#iefix") format("embedded-opentype"),
+ local("Source Sans Pro Semibold"),
+ local("Source-Sans-Pro-600"),
+ url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.woff2") format("woff2"),
+ url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.woff") format("woff"),
+ url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.ttf") format("truetype");
}
body
{
+ font-family: "Source Sans Pro", Arial, sans-serif;
+ font-size: 16px;
juliandoucette 2018/02/13 18:32:06 I think we can rely on website-defaults to set (or
ire 2018/02/14 08:43:42 Done.
+ font-weight: 400;
margin: 0;
line-height: 1.5;
}
#content
{
padding-bottom: 2em;
}
« no previous file with comments | « no previous file | static/fonts/Source-Sans-Pro-400/LICENSE.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld