aboutsummaryrefslogtreecommitdiffstats
path: root/css/libresocial.css
blob: 41da31f920ed0de3f70eb7796ecfa0f7885ec96e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* ---- ---- 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: .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-liberapay:before { content: '\e805'; }
.icon-mastodon:before { content: '\e806'; }
.icon-matrix:before { content: '\e807'; }
.icon-mediagoblin:before { content: '\e808'; }
.icon-notabug:before { content: '\e809'; }
.icon-peertube:before { content: '\e810'; }
.icon-pixelfed:before { content: '\e811'; }
.icon-pump:before { content: '\e812'; }
.icon-tox:before { content: '\e813'; }
.icon-xmpp:before { content: '\e814'; }