diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-09-19 20:05:31 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-09-19 20:08:00 +0300 |
commit | c374f87b3baea17c86aa6d71ca16c91f7f2b13d4 (patch) | |
tree | e1c7284c29a2285f93be402d9f6cc15007f49a07 /community/homer-ui/0002-css-fonts-expand.patch | |
parent | 01be5b4d0b8d610119006371e67d084c952a2a92 (diff) | |
download | aports-c374f87b3baea17c86aa6d71ca16c91f7f2b13d4.tar.bz2 aports-c374f87b3baea17c86aa6d71ca16c91f7f2b13d4.tar.xz |
community/homer-ui: backport local fonts
Diffstat (limited to 'community/homer-ui/0002-css-fonts-expand.patch')
-rw-r--r-- | community/homer-ui/0002-css-fonts-expand.patch | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/community/homer-ui/0002-css-fonts-expand.patch b/community/homer-ui/0002-css-fonts-expand.patch new file mode 100644 index 0000000000..18a0cfc4a3 --- /dev/null +++ b/community/homer-ui/0002-css-fonts-expand.patch @@ -0,0 +1,157 @@ +From 84ea585f60acb668099947451a1d817bb73f9d77 Mon Sep 17 00:00:00 2001 +From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +Date: Tue, 19 Sep 2017 14:54:29 +0300 +Subject: [PATCH 2/3] css: fonts: expand + +--- + css/fonts.css | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++- + css/fonts.min.css | 2 +- + 2 files changed, 129 insertions(+), 3 deletions(-) + +diff --git a/css/fonts.css b/css/fonts.css +index 5ef6d2f..c5cac6b 100644 +--- a/css/fonts.css ++++ b/css/fonts.css +@@ -1,2 +1,128 @@ +-@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:300, 400, 600, 300italic, 400italic, 600italic); +-@import url(//fonts.googleapis.com/css?family=Kaushan+Script); ++/* latin-ext */ ++@font-face { ++ font-family: 'Kaushan Script'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Kaushan Script'), local('KaushanScript-Regular'), url(http://fonts.gstatic.com/s/kaushanscript/v5/qx1LSqts-NtiKcLw4N03IO87R-l0-Xx_7cYc0ZX1ifE.woff2) format('woff2'); ++ unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; ++} ++/* latin */ ++@font-face { ++ font-family: 'Kaushan Script'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Kaushan Script'), local('KaushanScript-Regular'), url(http://fonts.gstatic.com/s/kaushanscript/v5/qx1LSqts-NtiKcLw4N03IEd0sm1ffa_JvZxsF_BEwQk.woff2) format('woff2'); ++ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; ++} ++/* cyrillic-ext */ ++@font-face { ++ font-family: 'Source Sans Pro'; ++ font-style: normal; ++ font-weight: 300; ++ src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGKhisFFF-0ifc-Simo8uwJs.woff2) format('woff2'); ++ unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; ++} ++/* cyrillic */ ++@font-face { ++ font-family: 'Source Sans Pro'; ++ font-style: normal; ++ font-weight: 300; ++ src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGNJvocFWY_5VFjYFbAOOIik.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(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGLGN1mc631ObjHzqJB_dFFA.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(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGI3P6ux3HwbL10a8ofNXGLA.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(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGD_j0nMiB9fPhg_k1wdK2h0.woff2) format('woff2'); ++ unicode-range: U+0102-0103, 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(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGDRVvBvQIc1z78c__uoBcyI.woff2) format('woff2'); ++ unicode-range: U+0100-024F, 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(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGOode0-EuMkY--TSyExeINg.woff2) format('woff2'); ++ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; ++} ++/* cyrillic-ext */ ++@font-face { ++ font-family: 'Source Sans Pro'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlAC5S7WFEeHRqL6ObGQGT8o.woff2) format('woff2'); ++ unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; ++} ++/* cyrillic */ ++@font-face { ++ font-family: 'Source Sans Pro'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlMgmx_L9kV4w6g8dYQOLFUI.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: 400; ++ src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlMODs9238LZG2v64UiBIjng.woff2) format('woff2'); ++ unicode-range: U+1F00-1FFF; ++} ++/* greek */ ++@font-face { ++ font-family: 'Source Sans Pro'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlFjqPhnWKseBf12Mt9_m7kc.woff2) format('woff2'); ++ unicode-range: U+0370-03FF; ++} ++/* vietnamese */ ++@font-face { ++ font-family: 'Source Sans Pro'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlNOAHFN6BivSraYkjhveRHY.woff2) format('woff2'); ++ unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; ++} ++/* latin-ext */ ++@font-face { ++ font-family: 'Source Sans Pro'; ++ font-style: normal; ++ font-weight: 400; ++ src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlC2Q8seG17bfDXYR_jUsrzg.woff2) format('woff2'); ++ unicode-range: U+0100-024F, 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: 400; ++ src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2) format('woff2'); ++ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; ++} +diff --git a/css/fonts.min.css b/css/fonts.min.css +index 26a9b4c..ecc6114 100644 +--- a/css/fonts.min.css ++++ b/css/fonts.min.css +@@ -1 +1 @@ +-@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,300italic,400italic,600italic);@import url(//fonts.googleapis.com/css?family=Kaushan+Script); +\ No newline at end of file ++@font-face{font-family:'Kaushan Script';font-style:normal;font-weight:400;src:local('Kaushan Script'),local('KaushanScript-Regular'),url(http://fonts.gstatic.com/s/kaushanscript/v5/qx1LSqts-NtiKcLw4N03IO87R-l0-Xx_7cYc0ZX1ifE.woff2) format('woff2');unicode-range:U+0100-024F,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Kaushan Script';font-style:normal;font-weight:400;src:local('Kaushan Script'),local('KaushanScript-Regular'),url(http://fonts.gstatic.com/s/kaushanscript/v5/qx1LSqts-NtiKcLw4N03IEd0sm1ffa_JvZxsF_BEwQk.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2212,U+2215}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGKhisFFF-0ifc-Simo8uwJs.woff2) format('woff2');unicode-range:U+0460-052F,U+20B4,U+2DE0-2DFF,U+A640-A69F}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGNJvocFWY_5VFjYFbAOOIik.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:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGLGN1mc631ObjHzqJB_dFFA.woff2) format('woff2');unicode-range:U+1F00-1FFF}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGI3P6ux3HwbL10a8ofNXGLA.woff2) format('woff2');unicode-range:U+0370-03FF}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGD_j0nMiB9fPhg_k1wdK2h0.woff2) format('woff2');unicode-range:U+0102-0103,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGDRVvBvQIc1z78c__uoBcyI.woff2) format('woff2');unicode-range:U+0100-024F,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:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/toadOcfmlt9b38dHJxOBGOode0-EuMkY--TSyExeINg.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,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(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlAC5S7WFEeHRqL6ObGQGT8o.woff2) format('woff2');unicode-range:U+0460-052F,U+20B4,U+2DE0-2DFF,U+A640-A69F}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;src:local('Source Sans Pro Regular'),local('SourceSansPro-Regular'),url(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlMgmx_L9kV4w6g8dYQOLFUI.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(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlMODs9238LZG2v64UiBIjng.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(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlFjqPhnWKseBf12Mt9_m7kc.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(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlNOAHFN6BivSraYkjhveRHY.woff2) format('woff2');unicode-range:U+0102-0103,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(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlC2Q8seG17bfDXYR_jUsrzg.woff2) format('woff2');unicode-range:U+0100-024F,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(http://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2212,U+2215} +\ No newline at end of file +-- +2.9.5 + |