diff options
Diffstat (limited to 'scss/libresocial.scss')
-rw-r--r-- | scss/libresocial.scss | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/scss/libresocial.scss b/scss/libresocial.scss new file mode 100644 index 0000000..fd240a6 --- /dev/null +++ b/scss/libresocial.scss @@ -0,0 +1,108 @@ +/* ---- ---- LIBRESOCIAL ---- ---- */ +/* Written by Heckyel */ + +$libresocial-path: "../fonts"; + +@font-face { + font-family: "libresocial"; + src: url("#{$libresocial-path}/libresocial/libresocial.woff") format("woff"), url("#{$libresocial-path}/libresocial/libresocial.ttf") format("truetype"), url("#{$libresocial-path}/libresocial/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-mastodon:before { + content: "\e807"; +} + +.icon-matrix:before { + content: "\e808"; +} + +.icon-mediagoblin:before { + content: "\e809"; +} + +.icon-notabug:before { + content: "\e810"; +} + +.icon-peertube:before { + content: "\e811"; +} + +.icon-pixelfed:before { + content: "\e812"; +} + +.icon-pump:before { + content: "\e813"; +} + +.icon-tox:before { + content: "\e814"; +} + +.icon-xmpp:before { + content: "\e815"; +} |