From 000dcbba68aadbdcc3985b833bbaf7aee2d8d9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 3 Jan 2019 12:01:21 -0500 Subject: refactoring code to dist --- build.sh | 10 +- css/libresocial.css | 103 ------------- demo.html | 2 +- dist/css/libresocial.css | 103 +++++++++++++ dist/fonts/libresocial.otf | Bin 0 -> 41064 bytes dist/fonts/libresocial.svg | 350 ++++++++++++++++++++++++++++++++++++++++++++ dist/fonts/libresocial.ttf | Bin 0 -> 7868 bytes dist/fonts/libresocial.woff | Bin 0 -> 21432 bytes fonts/libresocial.otf | Bin 41064 -> 0 bytes fonts/libresocial.svg | 350 -------------------------------------------- fonts/libresocial.ttf | Bin 7868 -> 0 bytes fonts/libresocial.woff | Bin 21436 -> 0 bytes 12 files changed, 459 insertions(+), 459 deletions(-) mode change 100755 => 100644 build.sh delete mode 100644 css/libresocial.css create mode 100644 dist/css/libresocial.css create mode 100644 dist/fonts/libresocial.otf create mode 100644 dist/fonts/libresocial.svg create mode 100644 dist/fonts/libresocial.ttf create mode 100644 dist/fonts/libresocial.woff delete mode 100644 fonts/libresocial.otf delete mode 100644 fonts/libresocial.svg delete mode 100644 fonts/libresocial.ttf delete mode 100644 fonts/libresocial.woff diff --git a/build.sh b/build.sh old mode 100755 new mode 100644 index 8a76886..f57efe8 --- a/build.sh +++ b/build.sh @@ -10,12 +10,12 @@ fi # copy files to fonts if [[ -n "$(ls -a ./lab/libresocial.{svg,otf,ttf,woff})" ]]; then - rm -fv ./fonts/libresocial.{svg,otf,ttf,woff} - mv -fv ./lab/libresocial.{svg,otf,ttf,woff} ./fonts/ + rm -fv ./dist/fonts/libresocial.{svg,otf,ttf,woff} + mv -fv ./lab/libresocial.{svg,otf,ttf,woff} ./dist/fonts/ fi -if [[ -n "$(ls -a ./css/libresocial.css)" ]]; +if [[ -n "$(ls -a ./dist/css/libresocial.css)" ]]; then - rm -v ./css/libresocial.css - sass --style expanded --sourcemap=none scss/libresocial.scss:css/libresocial.css + rm -v ./dist/css/libresocial.css + sass --style expanded --sourcemap=none scss/libresocial.scss:dist/css/libresocial.css fi diff --git a/css/libresocial.css b/css/libresocial.css deleted file mode 100644 index 124b5d2..0000000 --- a/css/libresocial.css +++ /dev/null @@ -1,103 +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: none; - 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; - /* you can be more comfortable with increased icons size */ - /* font-size: 120%; */ - /* Font smoothing. That was taken from TWBS */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - /* 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/demo.html b/demo.html index 0f55bd9..0484a27 100644 --- a/demo.html +++ b/demo.html @@ -3,7 +3,7 @@ Fuentes tipográficas - +
diff --git a/dist/css/libresocial.css b/dist/css/libresocial.css new file mode 100644 index 0000000..124b5d2 --- /dev/null +++ b/dist/css/libresocial.css @@ -0,0 +1,103 @@ +/* ---- ---- 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: none; + 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; + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + /* Font smoothing. That was taken from TWBS */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + /* 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 new file mode 100644 index 0000000..80dd5b8 Binary files /dev/null and b/dist/fonts/libresocial.otf differ diff --git a/dist/fonts/libresocial.svg b/dist/fonts/libresocial.svg new file mode 100644 index 0000000..c9232d5 --- /dev/null +++ b/dist/fonts/libresocial.svg @@ -0,0 +1,350 @@ + + + + + +Created by FontForge 20170320 at Thu Jan 3 11:39:59 2019 + By heckyel +Copyright (c) 2019, heckyel + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/fonts/libresocial.ttf b/dist/fonts/libresocial.ttf new file mode 100644 index 0000000..e44e86f Binary files /dev/null and b/dist/fonts/libresocial.ttf differ diff --git a/dist/fonts/libresocial.woff b/dist/fonts/libresocial.woff new file mode 100644 index 0000000..824349c Binary files /dev/null and b/dist/fonts/libresocial.woff differ diff --git a/fonts/libresocial.otf b/fonts/libresocial.otf deleted file mode 100644 index b405e15..0000000 Binary files a/fonts/libresocial.otf and /dev/null differ diff --git a/fonts/libresocial.svg b/fonts/libresocial.svg deleted file mode 100644 index 2ef0116..0000000 --- a/fonts/libresocial.svg +++ /dev/null @@ -1,350 +0,0 @@ - - - - - -Created by FontForge 20170320 at Mon Dec 17 12:35:18 2018 - By heckyel -Copyright (c) 2018, heckyel - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/fonts/libresocial.ttf b/fonts/libresocial.ttf deleted file mode 100644 index 86b7658..0000000 Binary files a/fonts/libresocial.ttf and /dev/null differ diff --git a/fonts/libresocial.woff b/fonts/libresocial.woff deleted file mode 100644 index 2fd4bb7..0000000 Binary files a/fonts/libresocial.woff and /dev/null differ -- cgit v1.2.3