diff options
author | Jesús <heckyel@hyperbola.info> | 2021-02-23 14:57:07 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-02-23 14:57:07 -0500 |
commit | 9bb4452607877b23d4ef8292da03ce8e343fb952 (patch) | |
tree | 752addccf4a762d96c5ed9f457a6951bf979ebf7 | |
parent | 42e73c916104979ddb89f93f793c4512dec03a2c (diff) | |
download | libresocial-9bb4452607877b23d4ef8292da03ce8e343fb952.tar.lz libresocial-9bb4452607877b23d4ef8292da03ce8e343fb952.tar.xz libresocial-9bb4452607877b23d4ef8292da03ce8e343fb952.zip |
Add sourcehut icon
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build.sh | 10 | ||||
-rw-r--r-- | dist/css/libresocial.css | 98 | ||||
-rw-r--r-- | dist/fonts/libresocial.otf | bin | 41076 -> 41312 bytes | |||
-rw-r--r-- | dist/fonts/libresocial.svg | 11 | ||||
-rw-r--r-- | dist/fonts/libresocial.ttf | bin | 7880 -> 7956 bytes | |||
-rw-r--r-- | dist/fonts/libresocial.woff | bin | 21448 -> 21564 bytes | |||
-rw-r--r-- | lab/metadata.json | 5 | ||||
-rw-r--r-- | lab/sourcehut.svg | 32 | ||||
-rw-r--r-- | scss/libresocial.scss | 8 | ||||
-rw-r--r-- | src/sourcehut.svg | 226 |
11 files changed, 280 insertions, 112 deletions
@@ -52,7 +52,7 @@ Si usted es un experto puede reordenar sus directorios para mejor comodidad. - Dependencias - FontForge (Se necesita de una versión >= 20140101) - Python >= 2.6 or 3 - - Sass (npm install -g sass) + - Sassc ### Instrucciones @@ -7,6 +7,9 @@ then ./lab/svg2ttf.py ./lab/metadata.json fi +install -d -m755 -v "./dist/fonts/" +install -d -m755 -v "./dist/css/" + # copy files to fonts if [[ -n "$(ls -a ./lab/libresocial.{svg,otf,ttf,woff})" ]]; then @@ -14,8 +17,5 @@ then mv -fv ./lab/libresocial.{svg,otf,ttf,woff} ./dist/fonts/ fi -if [[ -n "$(ls -a ./dist/css/libresocial.css)" ]]; -then - rm -v ./dist/css/libresocial.css - sass --style expanded --sourcemap=none scss/libresocial.scss:dist/css/libresocial.css -fi +rm -v ./dist/css/libresocial.css 2> /dev/null || true +sassc -t expanded scss/libresocial.scss dist/css/libresocial.css diff --git a/dist/css/libresocial.css b/dist/css/libresocial.css deleted file mode 100644 index f63f454..0000000 --- a/dist/css/libresocial.css +++ /dev/null @@ -1,98 +0,0 @@ -/* ---- ---- LIBRESOCIAL ---- ---- */ -/* Written by Heckyel */ -@font-face { - font-family: "libresocial"; - src: url("../fonts/libresocial.woff") format("woff"), url("../fonts/libresocial.ttf") format("truetype"), url("../fonts/libresocial.svg") format("svg"); - font-weight: normal; - font-style: normal; -} -[class^="icon-"]:before, [class*=" icon-"]:before { - font-family: "libresocial"; - font-style: normal; - font-weight: normal; - speak: never; - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: 0.2em; - text-align: center; - /* opacity: .8; */ - /* For safety - reset parent styles, that can break glyph codes */ - font-variant: normal; - text-transform: none; - /* fix buttons height, for twitter bootstrap */ - line-height: 1em; - /* Animation center compensation - margins should be symmetric */ - /* remove if not needed */ - margin-left: 0.2em; - /* Uncomment for 3D effect */ - /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ -} - -.icon-copyleft:before { - content: "\e800"; -} - -.icon-diaspora:before { - content: "\e801"; -} - -.icon-friendica:before { - content: "\e802"; -} - -.icon-gitlab:before { - content: "\e803"; -} - -.icon-gnusocial:before { - content: "\e804"; -} - -.icon-hubzilla:before { - content: "\e805"; -} - -.icon-liberapay:before { - content: "\e806"; -} - -.icon-libregit:before { - content: "\e807"; -} - -.icon-mastodon:before { - content: "\e808"; -} - -.icon-matrix:before { - content: "\e809"; -} - -.icon-mediagoblin:before { - content: "\e810"; -} - -.icon-notabug:before { - content: "\e811"; -} - -.icon-peertube:before { - content: "\e812"; -} - -.icon-pixelfed:before { - content: "\e813"; -} - -.icon-pump:before { - content: "\e814"; -} - -.icon-tox:before { - content: "\e815"; -} - -.icon-xmpp:before { - content: "\e816"; -} diff --git a/dist/fonts/libresocial.otf b/dist/fonts/libresocial.otf Binary files differindex a65cffa..1df234a 100644 --- a/dist/fonts/libresocial.otf +++ b/dist/fonts/libresocial.otf diff --git a/dist/fonts/libresocial.svg b/dist/fonts/libresocial.svg index d80c69b..6e8169b 100644 --- a/dist/fonts/libresocial.svg +++ b/dist/fonts/libresocial.svg @@ -5,7 +5,7 @@ --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> <metadata> -Created by FontForge 20170320 at Tue Feb 23 12:24:16 2021 +Created by FontForge 20170320 at Tue Feb 23 14:49:37 2021 By heckyel Copyright (c) 2021, heckyel </metadata> @@ -19,10 +19,10 @@ Copyright (c) 2021, heckyel panose-1="2 0 5 9 0 0 0 0 0 0" ascent="96" descent="-32" - bbox="5.23352 -6.39046 122.799 96.1191" + bbox="5.23352 -6.40039 122.799 96.1191" underline-thickness="50" underline-position="-100" - unicode-range="U+E800-E816" + unicode-range="U+E800-E817" /> <missing-glyph /> <glyph glyph-name="uniE800" unicode="" @@ -325,6 +325,9 @@ c-0.0211288 0.841077 -0.000390323 1.68413 -0.000390323 2.52846c0.0189791 2.6807 c14.5322 -7.30273 24.5928 -20.8906 27.2861 -36.8525c0.521484 -3.08984 0.647461 -4.70996 0.649414 -8.32129c0.00195312 -3.49121 -0.0859375 -4.76855 -0.523438 -7.62402c-2.33594 -15.2119 -11.3145 -28.3799 -24.6572 -36.1602 c-6.41504 -3.74023 -13.6162 -6.0127 -21.1816 -6.68359c-1.39648 -0.124023 -5.38574 -0.226562 -6.34473 -0.163086z" /> <glyph glyph-name="uniE815" unicode="" +d="M64 3.50977c22.8125 0 41.29 18.4775 41.29 41.29c0 22.8135 -18.4775 41.29 -41.29 41.29s-41.29 -18.4766 -41.29 -41.29c0 -22.8125 18.4775 -41.29 41.29 -41.29zM64 96c28.2842 0 51.2002 -22.916 51.2002 -51.2002c0 -28.2832 -22.916 -51.2002 -51.2002 -51.2002 +s-51.2002 22.917 -51.2002 51.2002c0 28.2842 22.916 51.2002 51.2002 51.2002z" /> + <glyph glyph-name="uniE816" unicode="" d="M80.0137 64.5537c-1.4707 -4.31543 -4.25586 -7.77246 -7.16504 -11.1475c-2.24707 -2.60449 -4.8877 -4.7959 -7.69922 -6.78125c-0.134766 -0.0966797 -0.280273 -0.176758 -0.644531 -0.400391c1.67676 2.87891 3.0293 5.61328 3.4209 8.80078 c-3.9873 -0.9375 -7.74707 -0.52832 -11.3867 1.06641c-6.46094 2.8291 -10.3223 9 -9.66309 15.9678c0.539062 5.7334 3.70898 9.86523 8.77637 12.5342c8.16016 4.29785 18.5811 1.54883 23.2461 -6.09766c2.71875 -4.45215 2.76074 -9.11523 1.11523 -13.9424z M70.9062 6.52148c2.18457 0 3.95605 1.79102 3.95508 3.99805c0 0.0595703 -0.00585938 0.119141 0 0.176758v1.91211c0 1.05469 -0.625 3.96289 -2.15137 6.05469c-1.63477 2.24023 -3.71094 3.69922 -5.90625 4.4043c3.10059 1.15039 5.30762 4.11816 5.30762 7.59863 @@ -332,7 +335,7 @@ c0 4.48145 -3.65137 8.11133 -8.16113 8.11133c-4.50781 0 -8.16113 -3.62988 -8.161 c0.00195312 -0.955078 0.00292969 -1.91016 0.0078125 -1.91016c-0.00195312 -0.0585938 -0.00878906 -0.119141 -0.00878906 -0.177734c0 -2.20898 1.77148 -4 3.95801 -4h13.9111zM89.2363 56.3682l12.1465 0.0283203c2.61328 0 4.73047 -2.10547 4.73047 -4.70117 v-53.2217c0 -2.5957 -2.11719 -4.70117 -4.73047 -4.70117h-74.8096c-2.61133 0 -4.72949 2.10547 -4.72949 4.70117v53.2217c0 2.5957 2.11816 4.70117 4.72949 4.70117h10.8115c0.302734 0.000976562 0.603516 0 1.05078 0v1.09473v12.9746 c0 11.9941 8.8291 22.5117 20.6895 24.6445c13.3975 2.40918 26.1572 -5.7373 29.3779 -18.8369c0.450195 -1.83301 0.658203 -3.75879 0.702148 -5.64746c0.101562 -4.38281 0.03125 -9.87402 0.03125 -14.2578z" /> - <glyph glyph-name="uniE816" unicode="" + <glyph glyph-name="uniE817" unicode="" d="M5.23438 80.6982c0.0136719 1.09375 0.311523 0.81543 0.311523 0.81543c0.158203 -0.644531 0.148438 -1.53906 -0.0234375 -1.9873c-0.170898 -0.449219 -0.300781 0.0791016 -0.288086 1.17188zM82.8721 -1.87988c-4.80957 1.72168 -10.4385 4.05566 -12.5098 5.18652 c-3.25977 1.78027 -3.95898 1.94727 -5.2002 1.24219c-1.3584 -0.770508 -1.17285 -0.939453 3.45312 -3.16113c8.1416 -3.90918 15.9883 -6.35059 20.5029 -6.38086c2.01074 -0.0126953 0.791992 0.59375 -6.24609 3.11328zM85.4492 -5.41992 c-5.4668 1.1709 -11.3486 3.23633 -17.0986 6.00586l-4.52832 2.18066l-4.45703 -1.9502c-9.59473 -4.19727 -22.4199 -7.49414 -23.7334 -6.10059c-0.854492 0.90625 0.328125 1.6748 5.72852 3.72266c2.58887 0.980469 6.94531 3.30762 9.68164 5.16992l4.97363 3.38574 diff --git a/dist/fonts/libresocial.ttf b/dist/fonts/libresocial.ttf Binary files differindex 4a52ee6..462efab 100644 --- a/dist/fonts/libresocial.ttf +++ b/dist/fonts/libresocial.ttf diff --git a/dist/fonts/libresocial.woff b/dist/fonts/libresocial.woff Binary files differindex 57e644d..dce7006 100644 --- a/dist/fonts/libresocial.woff +++ b/dist/fonts/libresocial.woff diff --git a/lab/metadata.json b/lab/metadata.json index 1a7e612..9447d9a 100644 --- a/lab/metadata.json +++ b/lab/metadata.json @@ -27,8 +27,9 @@ "0xe812": "peertube.svg", "0xe813": "pixelfed.svg", "0xe814": "pump.svg", - "0xe815": "tox.svg", - "0xe816": "xmpp.svg" + "0xe815": "sourcehut.svg", + "0xe816": "tox.svg", + "0xe817": "xmpp.svg" }, "sfnt_names": [ ["English (US)", "Copyright", "Copyright (c) 2019 Conocimientos Libres"], diff --git a/lab/sourcehut.svg b/lab/sourcehut.svg new file mode 100644 index 0000000..ca6e2b8 --- /dev/null +++ b/lab/sourcehut.svg @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + version="1.1" + id="Layer_1" + x="0px" + y="0px" + width="100px" + height="100px" + viewBox="0 0 100 100" + enable-background="new 0 0 100 100" + xml:space="preserve"><metadata + id="metadata53"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title><cc:license + rdf:resource="http://artlibre.org/licence/lal" /></cc:Work><cc:License + rdf:about="http://artlibre.org/licence/lal"><cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires + rdf:resource="http://creativecommons.org/ns#ShareAlike" /><cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /></cc:License></rdf:RDF></metadata><defs + id="defs51" /><g + id="g46"><path + id="path108" + d="M 49.999997,4e-7 C 27.903226,4e-7 10,17.903225 10,39.999999 10,62.096776 27.903226,80 49.999997,80 72.096773,80 90,62.096776 90,39.999999 90,17.903225 72.096773,4e-7 49.999997,4e-7 Z m 0,72.25806359999999 c -17.822576,0 -32.258062,-14.435487 -32.258062,-32.258065 0,-17.82258 14.435486,-32.2580639 32.258062,-32.2580639 17.822583,0 32.258067,14.4354839 32.258067,32.2580639 0,17.822578 -14.435484,32.258065 -32.258067,32.258065 z" + style="stroke-width:0.79999995" /></g></svg>
\ No newline at end of file diff --git a/scss/libresocial.scss b/scss/libresocial.scss index 718cf70..4dc87da 100644 --- a/scss/libresocial.scss +++ b/scss/libresocial.scss @@ -99,10 +99,14 @@ $libresocial-path: "../fonts"; content: "\e814"; } -.icon-tox:before { +.icon-sourcehut:before { content: "\e815"; } -.icon-xmpp:before { +.icon-tox:before { content: "\e816"; } + +.icon-xmpp:before { + content: "\e817"; +} diff --git a/src/sourcehut.svg b/src/sourcehut.svg new file mode 100644 index 0000000..280c9ea --- /dev/null +++ b/src/sourcehut.svg @@ -0,0 +1,226 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xml:space="preserve" + enable-background="new 0 0 100 100" + viewBox="0 0 100 100" + height="100px" + width="100px" + y="0px" + x="0px" + id="Layer_1" + version="1.1"><metadata + id="metadata53"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title><cc:license + rdf:resource="http://artlibre.org/licence/lal" /></cc:Work><cc:License + rdf:about="http://artlibre.org/licence/lal"><cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires + rdf:resource="http://creativecommons.org/ns#ShareAlike" /><cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /></cc:License></rdf:RDF></metadata><defs + id="defs51" /><g + id="g46"><g + id="g51"><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="-0.001" + x2="100" + y2="-0.001" + id="line2" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="9.999" + x2="100" + y2="9.999" + id="line4" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="19.999" + x2="100" + y2="19.999" + id="line6" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="29.999" + x2="100" + y2="29.999" + id="line8" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="39.999" + x2="100" + y2="39.999" + id="line10" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="49.999" + x2="100" + y2="49.999" + id="line12" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="59.998" + x2="100" + y2="59.998" + id="line14" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="69.998" + x2="100" + y2="69.998" + id="line16" /><line + fill="none" + stroke="#FF0000" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="80" + x2="100" + y2="80" + id="line18" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0.001" + y1="90" + x2="100" + y2="90" + id="line20" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="0" + y1="-0.001" + x2="0" + y2="100" + id="line22" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="10" + y1="-0.001" + x2="10" + y2="100" + id="line24" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="20.001" + y1="-0.001" + x2="20.001" + y2="100" + id="line26" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="30" + y1="-0.001" + x2="30" + y2="100" + id="line28" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="40" + y1="-0.001" + x2="40" + y2="100" + id="line30" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="50" + y1="-0.001" + x2="50" + y2="100" + id="line32" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="60" + y1="-0.001" + x2="60" + y2="100" + id="line34" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="70" + y1="-0.001" + x2="70" + y2="100" + id="line36" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="80" + y1="-0.001" + x2="80" + y2="100" + id="line38" /><line + fill="none" + stroke="#A9CCDB" + stroke-width="0.25" + stroke-miterlimit="10" + x1="90" + y1="-0.001" + x2="90" + y2="100" + id="line40" /><text + transform="translate(5.2231,106.499)" + font-size="6" + id="text42" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:6px;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start">Cuadrículas de Guía para las fuentes</text> + +<text + font-family="'Noto Sans'" + transform="matrix(1 0 0 1 -23.2769 81.166)" + font-size="6" + id="text44" + style="-inkscape-font-specification:'Noto Sans, Normal';font-family:'Noto Sans';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;font-size:6px;text-anchor:start;text-align:start;writing-mode:lr;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;">Baseline</text> + +</g><path + style="stroke-width:0.79999995" + d="M 49.999997,4e-7 C 27.903226,4e-7 10,17.903225 10,39.999999 10,62.096776 27.903226,80 49.999997,80 72.096773,80 90,62.096776 90,39.999999 90,17.903225 72.096773,4e-7 49.999997,4e-7 Z m 0,72.25806359999999 c -17.822576,0 -32.258062,-14.435487 -32.258062,-32.258065 0,-17.82258 14.435486,-32.2580639 32.258062,-32.2580639 17.822583,0 32.258067,14.4354839 32.258067,32.2580639 0,17.822578 -14.435484,32.258065 -32.258067,32.258065 z" + id="path108" /></g></svg>
\ No newline at end of file |