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: Remove unused font formats Created Feb. 14, 2018, 8:42 a.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
Index: static/css/main.css
===================================================================
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -1,18 +1,34 @@
-*
+@font-face
saroyanm 2018/02/14 16:49:29 Question: How much effort it would be to include F
ire 2018/02/15 17:21:47 I think we would ideally want to have this font in
juliandoucette 2018/02/19 11:32:48 Acknowledged.
{
- font-family: Arial, sans;
- font-size: 16px;
+ font-family: "Source Sans Pro";
saroyanm 2018/02/14 16:49:30 Suggestion/Note: Doesn't necessarily need to be in
ire 2018/02/15 17:21:46 From my tests (viewing the homepage in all the dif
juliandoucette 2018/02/19 11:32:48 I think that we can start with Latin only in main.
+ font-weight: 400;
+ font-style: normal;
+ src: 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");
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-weight: 600;
+ font-style: normal;
+ src: 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");
}
body
{
+ font-family: "Source Sans Pro", Arial, sans-serif;
margin: 0;
- line-height: 1.5;
}
#content
{
padding-bottom: 2em;
}
a img
« no previous file with comments | « no previous file | static/fonts/Source-Sans-Pro-400/LICENSE.txt » ('j') | static/fonts/Source-Sans-Pro-600/LICENSE.txt » ('J')

Powered by Google App Engine
This is Rietveld