diff options
author | Jesús <heckyel@hyperbola.info> | 2019-01-10 20:23:00 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-01-10 20:23:00 -0500 |
commit | 882d9d10def8c49b3eeb548d17462933fa2c5048 (patch) | |
tree | 6b6f5604d082daca254576c81a4788f7ee528944 /src/scss/libresocial.scss | |
download | lidra-882d9d10def8c49b3eeb548d17462933fa2c5048.tar.lz lidra-882d9d10def8c49b3eeb548d17462933fa2c5048.tar.xz lidra-882d9d10def8c49b3eeb548d17462933fa2c5048.zip |
first commit
Diffstat (limited to 'src/scss/libresocial.scss')
-rw-r--r-- | src/scss/libresocial.scss | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/src/scss/libresocial.scss b/src/scss/libresocial.scss new file mode 100644 index 0000000..561aecf --- /dev/null +++ b/src/scss/libresocial.scss @@ -0,0 +1,114 @@ +/* ---- ---- LIBRESOCIAL ---- ---- */ +/* Written by Heckyel */ + +$libresocial-path: "../fonts/libresocial"; + +@font-face { + font-family: "libresocial"; + src: url("#{$libresocial-path}/libresocial.woff") format("woff"), + url("#{$libresocial-path}/libresocial.ttf") format("truetype"), + url("#{$libresocial-path}/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"; +} |