aboutsummaryrefslogtreecommitdiffstats
path: root/scss/libresocial.scss
blob: 718cf70958e30002bc0b39678b59d41648386272 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* ---- ---- LIBRESOCIAL  ---- ---- */
/* Written by Heckyel */

$libresocial-path: "../fonts";

@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: never;
    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;

    /* 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";
}