From 060491c4a6138b0eb8f771ace4d0f92efa483855 Mon Sep 17 00:00:00 2001 From: Dawid Potocki Date: Mon, 9 Sep 2019 10:21:33 +1200 Subject: [PATCH] Add our new custom icon font and fix platform links Fixes #1250, #1249 --- .gitignore | 2 + _includes/cardv2.html | 102 ++++-- .../sections/browser-recommendation.html | 27 +- _includes/sections/cloud-storage.html | 18 +- _includes/sections/dns.html | 6 +- _includes/sections/email-clients.html | 4 +- _includes/sections/password-managers.html | 1 + _includes/sections/social-networks.html | 38 ++- .../sections/social-news-aggregator.html | 28 +- _sass/ptio-font.scss | 52 ++++ assets/css/style.scss | 15 +- assets/webfonts/ptio-font-preview.html | 294 ++++++++++++++++++ assets/webfonts/ptio-font.eot | Bin 0 -> 4376 bytes assets/webfonts/ptio-font.svg | 123 ++++++++ assets/webfonts/ptio-font.ttf | Bin 0 -> 4200 bytes assets/webfonts/ptio-font.woff | Bin 0 -> 2976 bytes assets/webfonts/ptio-font.woff2 | Bin 0 -> 2384 bytes font/Gemfile | 5 + font/Gemfile.lock | 27 ++ font/LICENSE | 13 + font/Makefile | 11 + font/README.md | 12 + font/fontcustom.yml | 15 + font/svg/f-droid.svg | 2 + font/svg/ios.svg | 2 + font/svg/macos.svg | 2 + font/svg/netbsd.svg | 2 + font/svg/openbsd.svg | 2 + font/svg/sailfish-os.svg | 2 + 29 files changed, 709 insertions(+), 96 deletions(-) create mode 100644 _sass/ptio-font.scss create mode 100644 assets/webfonts/ptio-font-preview.html create mode 100644 assets/webfonts/ptio-font.eot create mode 100644 assets/webfonts/ptio-font.svg create mode 100644 assets/webfonts/ptio-font.ttf create mode 100644 assets/webfonts/ptio-font.woff create mode 100644 assets/webfonts/ptio-font.woff2 create mode 100644 font/Gemfile create mode 100644 font/Gemfile.lock create mode 100644 font/LICENSE create mode 100644 font/Makefile create mode 100644 font/README.md create mode 100644 font/fontcustom.yml create mode 100644 font/svg/f-droid.svg create mode 100644 font/svg/ios.svg create mode 100644 font/svg/macos.svg create mode 100644 font/svg/netbsd.svg create mode 100644 font/svg/openbsd.svg create mode 100644 font/svg/sailfish-os.svg diff --git a/.gitignore b/.gitignore index bd3e973d..fab475b9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ _site/ .sass-cache/ .jekyll-metadata .DS_Store +font/assets/ +font/.fontcustom-manifest.json diff --git a/_includes/cardv2.html b/_includes/cardv2.html index bc055202..bfe97090 100644 --- a/_includes/cardv2.html +++ b/_includes/cardv2.html @@ -92,7 +92,7 @@
{% if include.windows %} {% if include.windows != "" %} - + {% else %} @@ -102,17 +102,17 @@ {% if include.mac %} {% if include.mac != "" %} - - + + {% else %} - + {% endif %} {% endif %} {% if include.linux %} {% if include.linux != "" %} - + {% else %} @@ -120,9 +120,9 @@ {% endif %} {% endif %} - {% if include.bsd %} - {% if include.bsd != "" %} - + {% if include.freebsd %} + {% if include.freebsd != "" %} + {% else %} @@ -130,9 +130,29 @@ {% endif %} {% endif %} + {% if include.openbsd %} + {% if include.openbsd != "" %} + + + + {% else %} + + {% endif %} + {% endif %} + + {% if include.netbsd %} + {% if include.netbsd != "" %} + + + + {% else %} + + {% endif %} + {% endif %} + {% if include.firefox %} {% if include.firefox != "" %} - + {% else %} @@ -142,7 +162,7 @@ {% if include.chrome %} {% if include.chrome != "" %} - + {% else %} @@ -152,7 +172,7 @@ {% if include.safari %} {% if include.safari != "" %} - + {% else %} @@ -162,7 +182,7 @@ {% if include.opera %} {% if include.opera != "" %} - + {% else %} @@ -172,7 +192,7 @@ {% if include.edge %} {% if include.edge != "" %} - + {% else %} @@ -182,7 +202,7 @@ {% if include.android %} {% if include.android != "" %} - + {% else %} @@ -190,33 +210,53 @@ {% endif %} {% endif %} - {% if include.ios %} - {% if include.ios != "" %} - - + {% if include.fdroid %} + {% if include.fdroid != "" %} + + {% else %} - + {% endif %} {% endif %} - {% if include.fire %} - {% if include.fire != "" %} - - + {% if include.googleplay %} + {% if include.googleplay != "" %} + + {% else %} - + + {% endif %} + {% endif %} + + {% if include.ios %} + {% if include.ios != "" %} + + + + {% else %} + + {% endif %} + {% endif %} + + {% if include.sailfish %} + {% if include.sailfish != "" %} + + + + {% else %} + {% endif %} {% endif %} {% if include.web %} {% if include.web != "" %} - - + + {% else %} - + {% endif %} {% endif %} @@ -225,25 +265,25 @@ {{include.icon3}} {% if include.github %} - + {% endif %} {% if include.gitlab %} - + {% endif %} {% if include.git %} - + {% endif %} {% if include.source %} - + {% endif %} diff --git a/_includes/sections/browser-recommendation.html b/_includes/sections/browser-recommendation.html index e4dde461..e1969768 100644 --- a/_includes/sections/browser-recommendation.html +++ b/_includes/sections/browser-recommendation.html @@ -8,12 +8,15 @@ recommendations: WebRTC and Worth Mentioning diff --git a/_includes/sections/social-news-aggregator.html b/_includes/sections/social-news-aggregator.html index 753727a9..20969791 100644 --- a/_includes/sections/social-news-aggregator.html +++ b/_includes/sections/social-news-aggregator.html @@ -8,15 +8,12 @@ title="Aether" image="/assets/img/tools/aether.png" description='Free/libre and open source decentralized social news aggregator with a built in voting system.' -website="https://github.com/nehbit/aether" +website="https://getaether.net/" forum="https://forum.privacytools.io/t/discussion-aether/1256" github="https://github.com/nehbit/aether" -windows="" -mac="" -linux="" -android="" -ios="" -bsd="" +windows="https://getaether.net/download/" +mac="https://getaether.net/download/" +linux="https://getaether.net/download/" %} {% include cardv2.html @@ -25,13 +22,8 @@ image="/assets/img/tools/tildes.png" description='Tildes is a web-based self-hostable online bulletin board. It is licensed under GPL 3.0.' website="https://tildes.net" forum="https://forum.privacytools.io/t/discussion-tildes/1257" -git="https://gitlab.com/tildes/" -windows="" -mac="" -linux="" -android="" -ios="" -bsd="" +gitlab="https://gitlab.com/tildes/tildes" +web="https://tildes.net" %} {% include cardv2.html @@ -40,12 +32,8 @@ image="/assets/img/tools/raddle.png" description="Raddle is a public Postmill instance focused on privacy and anti-censorship." website="https://raddle.me" forum="https://forum.privacytools.io/t/discussion-raddle/1258" -git="https://gitlab.com/postmill/" -windows="" -mac="" -linux="" -android="" -ios="" +gitlab="https://gitlab.com/postmill/" +web="https://raddle.me" %}

Worth Mentioning

diff --git a/_sass/ptio-font.scss b/_sass/ptio-font.scss new file mode 100644 index 00000000..6318fc70 --- /dev/null +++ b/_sass/ptio-font.scss @@ -0,0 +1,52 @@ +/* + Icon Font: ptio-font +*/ + +@font-face { + font-family: "ptio-font"; + src: url("../webfonts/ptio-font.eot"); + src: url("../webfonts/ptio-font.eot?#iefix") format("embedded-opentype"), + url("../webfonts/ptio-font.woff2") format("woff2"), + url("../webfonts/ptio-font.woff") format("woff"), + url("../webfonts/ptio-font.ttf") format("truetype"), + url("../webfonts/ptio-font.svg#ptio-font") format("svg"); + font-weight: normal; + font-style: normal; +} + +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: "ptio-font"; + src: url("../webfonts/ptio-font.svg#ptio-font") format("svg"); + } +} + +[data-icon]:before { content: attr(data-icon); } + +[data-icon]:before, +.ptio-f-droid:before, +.ptio-ios:before, +.ptio-macos:before, +.ptio-netbsd:before, +.ptio-openbsd:before, +.ptio-sailfish-os:before { + display: inline-block; + font-family: "ptio-font"; + font-style: normal; + font-weight: normal; + font-variant: normal; + line-height: 1; + text-decoration: inherit; + text-rendering: optimizeLegibility; + text-transform: none; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-smoothing: antialiased; +} + +.ptio-f-droid:before { content: "\f100"; } +.ptio-ios:before { content: "\f101"; } +.ptio-macos:before { content: "\f102"; } +.ptio-netbsd:before { content: "\f103"; } +.ptio-openbsd:before { content: "\f104"; } +.ptio-sailfish-os:before { content: "\f106"; } diff --git a/assets/css/style.scss b/assets/css/style.scss index 1591b926..601fb38b 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -5,6 +5,7 @@ @import 'bootstrap'; @import 'flag-icon'; @import 'fontawesome'; +@import 'ptio-font'; @import 'sortable-theme-bootstrap'; body { @@ -188,6 +189,15 @@ footer { } } +.hover-text-decoration-none:hover { + text-decoration: none; + -webkit-text-decoration-skip: object; +} + +.table td, .table th { + vertical-align: middle; +} + /* * Navbar @@ -353,8 +363,3 @@ input#nav-toggle, font-size: 0.875em; content: "\f186"; } - -.table td, .table th { - vertical-align: middle; -} - diff --git a/assets/webfonts/ptio-font-preview.html b/assets/webfonts/ptio-font-preview.html new file mode 100644 index 00000000..a820c2be --- /dev/null +++ b/assets/webfonts/ptio-font-preview.html @@ -0,0 +1,294 @@ + + + + ptio-font glyphs preview + + + + + + + + + +
+
+

ptio-font contains 6 glyphs:

+ Toggle Preview Characters +
+ + +
+
+ PpPpPpPpPpPpPpPpPpPp +
+
+ 12141618212436486072 +
+
+ + +
+
+ +
+
+ PpPpPpPpPpPpPpPpPpPp +
+
+ 12141618212436486072 +
+
+ + +
+
+ +
+
+ PpPpPpPpPpPpPpPpPpPp +
+
+ 12141618212436486072 +
+
+ + +
+
+ +
+
+ PpPpPpPpPpPpPpPpPpPp +
+
+ 12141618212436486072 +
+
+ + +
+
+ +
+
+ PpPpPpPpPpPpPpPpPpPp +
+
+ 12141618212436486072 +
+
+ + +
+
+ +
+
+ PpPpPpPpPpPpPpPpPpPp +
+
+ 12141618212436486072 +
+
+ + +
+
+ + + +
+ + diff --git a/assets/webfonts/ptio-font.eot b/assets/webfonts/ptio-font.eot new file mode 100644 index 0000000000000000000000000000000000000000..be46dc6b9a9459e83f50bbb5b0e3331f1c92188c GIT binary patch literal 4376 zcmds5Ym8(^b*@uYx9Yz7KDuw;JG0Z%&zZivGdsOK-96nq#_X(-cQIh_#>5U0IC#9f zvk$yGtDS`aKfn?Qfk6mGF$fScphO4~fp#G%lCg}4@*v8eD2Zf{C88kZp9NL`OMqth z>UMj*k*x4Px93)!bL!MrkMpQoGZ!;>9Xf@93SgKn~i*?D%I?G;*AS(EkgTW7tZ?t^FSwNcPu z1~0KEm|$m4pZ>$Qe(K9l{RgIYKcuw>-hOQGz{~IY4V2yi{?W5nwy(X^dimGjpU3;) z+4tROvY75=OdLhKys*7@?ce}NEP{;L7asq>&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y}C}^ zwxl4sRXcgC+Zk@vwaa764;JU@)hJ1qYn}4^XtjRqzQg;U=UQm7RFWjfmP94nc8Iv< z90hpawJn-21;p=Y7K-y_zohEI^Bhasm9U)n(k9O(dy{)Y04pd9$;q;jodgN=54KX* ziv-UqULrj121FLz*Mb(MAs1X^Qbd;VM=Or}H$2V?}GUq+~ijR;t3uiCh(UemRJ+4?4s`E1|2EUkT&OmNg%?0^|pS zV|fz?n1JEpNF7!Xy4A6TXLieW%x-CPBIj$mI`awm*38$%@u< zu+ooJ7J9L#pE~S#zC1M7v=P4FLP~}eEc)gOSxcO+DW@jIn&Vfb$Xs`RS zY?W;=+!0{S@g&VurZnM5ogpDvDYZ!2f;y4USPY=?7C!Dtu zRr$pFoZ{l>LSz1?T=(-s$>9=gES0KrWgR{GPQ{}Lf$o>1Q)_;vkj#jpGl!MFp}8OW zx?XFQb^%xECL0u&=O(_no38;jl^@49`6k{0=Cuxrod){p-Rl?5HwV3b^RDLY zAweHs+guy;*P-=)&+Yf#oH-s|`K&EE$&yQv-g828TCdRz$2KPzw+ z;QTPTS|RD|tev~Qd+D6Gw7X|r**?3wr>>sA@z~xuy?gEaRn*?z_NB*nF6~`h+ubv$ Vg!`izsql**T|WM#5#D*v{vB|N2hjik literal 0 HcmV?d00001 diff --git a/assets/webfonts/ptio-font.svg b/assets/webfonts/ptio-font.svg new file mode 100644 index 00000000..89ef0e9f --- /dev/null +++ b/assets/webfonts/ptio-font.svg @@ -0,0 +1,123 @@ + + + + + +Created by FontForge 20190801 at Mon Sep 9 10:18:13 2019 + By Dawid Potocki + + + + + + + + + + + + + + + diff --git a/assets/webfonts/ptio-font.ttf b/assets/webfonts/ptio-font.ttf new file mode 100644 index 0000000000000000000000000000000000000000..226c3a3779d65d858d5b5f03b8c973ef006b11c4 GIT binary patch literal 4200 zcmds4>yKnb6|YlOx9Yz7KDzH?W~Zm0Gkxc=)6>)4)4j98%r4m-76f+%cf|n0?C#7y zU}q*f1A-rvL}PFz#u!(Eh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Z?KABh7PpnKVtt=yXS+>Q__qwS1G&x2V5wVH4xCYic@%<>+mV5`o z&*0m{o>NGXc|@OIIel!g)T}p3J4=_RM0&@>%tW&>g}pusclFv1;q<4;TDtmWoV<~O ztHr2aiI78!r`JxbESDOMsd}T)K*|3G?A_Eh-^6?8e|t<60$LQ$0z5xdt`?YdmL`s# zUO91;omg4ZPAwc+Srf~P>xb8l%9Yi{Wvs2Wg%kHKome|Qv9hL60q>7$CQ!^9CwH7l J>#OeB{{{rO^;Q4? literal 0 HcmV?d00001 diff --git a/assets/webfonts/ptio-font.woff b/assets/webfonts/ptio-font.woff new file mode 100644 index 0000000000000000000000000000000000000000..ade7c8db9d945d4bba266fccaed221c332eb956e GIT binary patch literal 2976 zcmZuzc|4SB8-B;w60!_tvhStrl5K<{J55OvX3Q9LhBS7@&XKIi*h!s~rA{@nMb<{P zAzRdBFH0gb%3kxmzH`3+zUTQ}&-1&k`+DE|e(t~SPzMVO00MyPa2ddNa0~bxod0iG zSX{CL0Eh+{Lx7M-DkaOOczyseB$hi-|VgXQZLO34O)&YQP0sweERZ0n7^YOyq0N_wJ=sC!(3%gv> z?E{LSwheL_5DL%@2-U|gC=C1t4sr<)QtaA*0O1A}^zrC`T=W1u8C)TLm@qIe&q2-7 zAY=eH$P0grpBJbRKt2WLZ`RLN3<|gr7zFm^z=r~XeUdl97gmf#qtQ4ZzQ{$?4INQ8 zg@W?|=ct@y&~OmLH23Sp#gXIUhLSbYa2X<`8pP>{UoQr3JV)88jY_|(?H{}v4IHFh^ zEv(q?vdt}=Gs2h^KDG7N+I*1R_{P*)x}a1nnY3s`{>Kw(XsrS{NkxKR76FOt*dvW(Dpm;5iu)*VfmNcNhkH+I)f-$b-B z$@Kc!g`PpIkAR&Zao5m#MwMc<*{#UbX|yU;4n1UrKkHM(uvMoY={Pw!EWk8=NRbd5 zo7eDoKjt~58!kISdOtun!!O64(u2)^_$z+Z`eA`&yQe#ic}aAP(NmngA}%81+MJ=Oc)~m z_?X_=D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_d4w zvx_I?oz4Q#hgE6~!heTeIw_;bkV>VQts=q^e53 zlB_8==ceSPyxE>r{$@5;rWda+_F9FS088abrjqdKXs4>Cr>d7#DUl{|TW|Uh0-==n z2}f06L?2EOLmbj*+$p8KJY7mj7mt_qaJoERu4h^A5^t&I&5_A>YrW1c-QSJYq 2.0" diff --git a/font/Gemfile.lock b/font/Gemfile.lock new file mode 100644 index 00000000..0ace0a2a --- /dev/null +++ b/font/Gemfile.lock @@ -0,0 +1,27 @@ +GEM + remote: https://rubygems.org/ + specs: + ffi (1.11.1) + fontcustom (2.0.0) + json (~> 1.4) + listen (>= 1.0, < 4.0) + thor (~> 0.14) + json (1.8.6) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + rb-fsevent (0.10.3) + rb-inotify (0.10.0) + ffi (~> 1.0) + ruby_dep (1.5.0) + thor (0.20.3) + +PLATFORMS + ruby + +DEPENDENCIES + fontcustom (~> 2.0) + +BUNDLED WITH + 2.0.1 diff --git a/font/LICENSE b/font/LICENSE new file mode 100644 index 00000000..b5d0c56e --- /dev/null +++ b/font/LICENSE @@ -0,0 +1,13 @@ +Copyright (c) 2019, Dawid Potocki + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/font/Makefile b/font/Makefile new file mode 100644 index 00000000..c1ceb61a --- /dev/null +++ b/font/Makefile @@ -0,0 +1,11 @@ +build: + bundle exec fontcustom compile -F + mv ptio-font.woff assets/webfonts + mv _sass/ptio-font.css ../_sass/ptio-font.scss + mv assets/webfonts/* ../assets/webfonts/ + sed -i -e 's/..\/assets\//..\//g' ../_sass/ptio-font.scss + +default: + build + +.PHONY: build diff --git a/font/README.md b/font/README.md new file mode 100644 index 00000000..b68aa4ba --- /dev/null +++ b/font/README.md @@ -0,0 +1,12 @@ +# ptio-font + +This font contains icons we need, which Font Awesome does not have. + +| Name | CSS class | Issue | +|--- |--- |--- | +| F-Droid | `ptio-f-droid` | https://github.com/FortAwesome/Font-Awesome/issues/15492 | +| iOS | `ptio-ios` | https://github.com/FortAwesome/Font-Awesome/issues/4935 | +| macOS | `ptio-macos` | https://github.com/FortAwesome/Font-Awesome/issues/4936 | +| OpenBSD | `ptio-openbsd` | https://github.com/FortAwesome/Font-Awesome/issues/5345 | +| NetBSD | `ptio-netbsd` | https://github.com/FortAwesome/Font-Awesome/issues/15496 | +| Sailfish OS | `ptio-sailfish-os` | | diff --git a/font/fontcustom.yml b/font/fontcustom.yml new file mode 100644 index 00000000..22594e09 --- /dev/null +++ b/font/fontcustom.yml @@ -0,0 +1,15 @@ +font_name: ptio-font +css_selector: .ptio-{{glyph}} +preprocessor_path: "" +autowidth: false +no_hash: true +force: false +debug: false +quiet: false + +input: + vectors: svg + +output: + fonts: assets/webfonts + css: _sass diff --git a/font/svg/f-droid.svg b/font/svg/f-droid.svg new file mode 100644 index 00000000..de1391b2 --- /dev/null +++ b/font/svg/f-droid.svg @@ -0,0 +1,2 @@ + + diff --git a/font/svg/ios.svg b/font/svg/ios.svg new file mode 100644 index 00000000..33b645dc --- /dev/null +++ b/font/svg/ios.svg @@ -0,0 +1,2 @@ + + diff --git a/font/svg/macos.svg b/font/svg/macos.svg new file mode 100644 index 00000000..97b0f62c --- /dev/null +++ b/font/svg/macos.svg @@ -0,0 +1,2 @@ + + diff --git a/font/svg/netbsd.svg b/font/svg/netbsd.svg new file mode 100644 index 00000000..f98c870c --- /dev/null +++ b/font/svg/netbsd.svg @@ -0,0 +1,2 @@ + + diff --git a/font/svg/openbsd.svg b/font/svg/openbsd.svg new file mode 100644 index 00000000..ba4f968b --- /dev/null +++ b/font/svg/openbsd.svg @@ -0,0 +1,2 @@ + + diff --git a/font/svg/sailfish-os.svg b/font/svg/sailfish-os.svg new file mode 100644 index 00000000..1f77e6eb --- /dev/null +++ b/font/svg/sailfish-os.svg @@ -0,0 +1,2 @@ + +