diff options
author | Jesús <heckyel@hyperbola.info> | 2019-01-03 16:04:52 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-01-03 16:04:52 -0500 |
commit | 8863159339b73b7abd7d3f148dc0ad862994be07 (patch) | |
tree | 4e18539c643ada24b83494cde060a543fab5b740 /templates/sass/_libresocial.sass | |
download | portfolio-8863159339b73b7abd7d3f148dc0ad862994be07.tar.lz portfolio-8863159339b73b7abd7d3f148dc0ad862994be07.tar.xz portfolio-8863159339b73b7abd7d3f148dc0ad862994be07.zip |
first commit
Diffstat (limited to 'templates/sass/_libresocial.sass')
-rw-r--r-- | templates/sass/_libresocial.sass | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/templates/sass/_libresocial.sass b/templates/sass/_libresocial.sass new file mode 100644 index 0000000..84e2ff8 --- /dev/null +++ b/templates/sass/_libresocial.sass @@ -0,0 +1,68 @@ +//variables +$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: .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: .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-diaspora:before + content: '\e800' + +.icon-friendica:before + content: '\e801' + +.icon-gitlab:before + content: '\e802' + +.icon-gnusocial:before + content: '\e803' + +.icon-hubzilla:before + content: '\e804' + +.icon-mastodon:before + content: '\e805' + +.icon-mediagoblin:before + content: '\e806' + +.icon-notabug:before + content: '\e807' + +.icon-pump:before + content: '\e808' + +.icon-tox:before + content: '\e809' + +.icon-xmpp:before + content: '\e810' |