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

Unified Diff: static/css/fonts.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: Update licence file Created March 13, 2018, 1:48 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
Index: static/css/fonts.css
===================================================================
new file mode 100644
--- /dev/null
+++ b/static/css/fonts.css
@@ -0,0 +1,255 @@
+/******************************************************************************
+ * Fonts
+ *****************************************************************************/
+
+/* cyrillic-ext
juliandoucette 2018/03/14 17:08:38 Can't we use a jinja template to place these style
saroyanm 2018/03/14 17:56:30 That's an interesting approach, but you can't dete
ire 2018/03/14 18:10:31 We don't need to. The fonts should only be loaded
juliandoucette 2018/03/14 18:18:00 Acknowledged.
juliandoucette 2018/03/14 18:18:01 Acknowledged.
+ ******************************************************************************/
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 300;
+ src: local("Source Sans Pro Light"),
+ local("SourceSansPro-Light")
+ url("../fonts/Source-Sans-Pro/300/cyrillic-ext.woff2") format("woff2");
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 400;
+ src: local("Source Sans Pro Regular"),
+ local("SourceSansPro-Regular")
+ url("../fonts/Source-Sans-Pro/400/cyrillic-ext.woff2") format("woff2");
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 700;
+ src: local("Source Sans Pro Bold"),
+ local("SourceSansPro-Bold")
+ url("../fonts/Source-Sans-Pro/700/cyrillic-ext.woff2") format("woff2");
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
+}
+
+/* cyrillic
+ ******************************************************************************/
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 300;
+ src: local("Source Sans Pro Light"),
+ local("SourceSansPro-Light")
+ url("../fonts/Source-Sans-Pro/300/cyrillic.woff2") format("woff2");
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 400;
+ src: local("Source Sans Pro Regular"),
+ local("SourceSansPro-Regular")
+ url("../fonts/Source-Sans-Pro/400/cyrillic.woff2") format("woff2");
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 700;
+ src: local("Source Sans Pro Bold"),
+ local("SourceSansPro-Bold")
+ url("../fonts/Source-Sans-Pro/700/cyrillic.woff2") format("woff2");
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
+}
+
+/* greek-ext
+ ******************************************************************************/
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 300;
+ src: local("Source Sans Pro Light"),
+ local("SourceSansPro-Light")
+ url("../fonts/Source-Sans-Pro/300/greek-ext.woff2") format("woff2");
+ unicode-range: U+1F00-1FFF;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 400;
+ src: local("Source Sans Pro Regular"),
+ local("SourceSansPro-Regular")
+ url("../fonts/Source-Sans-Pro/400/greek-ext.woff2") format("woff2");
+ unicode-range: U+1F00-1FFF;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 700;
+ src: local("Source Sans Pro Bold"),
+ local("SourceSansPro-Bold")
+ url("../fonts/Source-Sans-Pro/700/greek-ext.woff2") format("woff2");
+ unicode-range: U+1F00-1FFF;
+}
+
+/* greek
+ ******************************************************************************/
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 300;
+ src: local("Source Sans Pro Light"),
+ local("SourceSansPro-Light")
+ url("../fonts/Source-Sans-Pro/300/greek.woff2") format("woff2");
+ unicode-range: U+0370-03FF;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 400;
+ src: local("Source Sans Pro Regular"),
+ local("SourceSansPro-Regular")
+ url("../fonts/Source-Sans-Pro/400/greek.woff2") format("woff2");
+ unicode-range: U+0370-03FF;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 700;
+ src: local("Source Sans Pro Bold"),
+ local("SourceSansPro-Bold")
+ url("../fonts/Source-Sans-Pro/700/greek.woff2") format("woff2");
+ unicode-range: U+0370-03FF;
+}
+
+/* vietnamese
+ ******************************************************************************/
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 300;
+ src: local("Source Sans Pro Light"),
+ local("SourceSansPro-Light")
+ url("../fonts/Source-Sans-Pro/300/vietnamese.woff2") format("woff2");
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 400;
+ src: local("Source Sans Pro Regular"),
+ local("SourceSansPro-Regular")
+ url("../fonts/Source-Sans-Pro/400/vietnamese.woff2") format("woff2");
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 700;
+ src: local("Source Sans Pro Bold"),
+ local("SourceSansPro-Bold")
+ url("../fonts/Source-Sans-Pro/700/vietnamese.woff2") format("woff2");
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
+}
+
+/* latin-ext
+ ******************************************************************************/
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 300;
+ src: local("Source Sans Pro Light"),
+ local("SourceSansPro-Light")
+ url("../fonts/Source-Sans-Pro/300/latin-ext.woff2") format("woff2");
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 400;
+ src: local("Source Sans Pro Regular"),
+ local("SourceSansPro-Regular")
+ url("../fonts/Source-Sans-Pro/400/latin-ext.woff2") format("woff2");
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 700;
+ src: local("Source Sans Pro Bold"),
+ local("SourceSansPro-Bold")
+ url("../fonts/Source-Sans-Pro/700/latin-ext.woff2") format("woff2");
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
+}
+
+/* latin
+ ******************************************************************************/
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 300;
+ src: local("Source Sans Pro Light"),
+ local("SourceSansPro-Light")
+ url("../fonts/Source-Sans-Pro/300/latin.woff2") format("woff2");
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 400;
+ src: local("Source Sans Pro Regular"),
+ local("SourceSansPro-Regular")
+ url("../fonts/Source-Sans-Pro/400/latin.woff2") format("woff2");
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
+}
+
+@font-face
+{
+ font-family: "Source Sans Pro";
+ font-style: normal;
+ font-weight: 700;
+ src: local("Source Sans Pro Bold"),
+ local("SourceSansPro-Bold")
+ url("../fonts/Source-Sans-Pro/700/latin.woff2") format("woff2");
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
+}

Powered by Google App Engine
This is Rietveld