2021-04-11 00:54:43 +00:00
|
|
|
.si, .si::before {
|
2021-04-10 20:20:22 +00:00
|
|
|
display: inline-block;
|
2021-06-07 22:16:21 +00:00
|
|
|
width: 1.25em;
|
2021-04-11 00:54:43 +00:00
|
|
|
line-height: 1;
|
|
|
|
box-sizing: border-box;
|
2021-04-10 20:20:22 +00:00
|
|
|
}
|
|
|
|
|
2021-06-07 22:16:21 +00:00
|
|
|
.si-2x {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.si-3x {
|
|
|
|
font-size: 3em;
|
2021-04-10 20:20:22 +00:00
|
|
|
}
|
|
|
|
|
2021-06-07 22:16:21 +00:00
|
|
|
.si-4x {
|
|
|
|
font-size: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.si::before {
|
|
|
|
content: '\200b';
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2021-04-10 20:20:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin svg-icon($name) {
|
2021-04-11 00:54:43 +00:00
|
|
|
.si-#{$name}::before {
|
2021-06-07 22:16:21 +00:00
|
|
|
background-image: url("../img/icon/#{$name}.svg");
|
2021-04-10 20:20:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include svg-icon('gitea');
|
2021-06-07 22:16:21 +00:00
|
|
|
@include svg-icon('jitsi');
|
|
|
|
@include svg-icon('mastodon');
|
|
|
|
@include svg-icon('matrix');
|
2021-04-10 20:20:22 +00:00
|
|
|
@include svg-icon('opencollective');
|
2021-06-07 22:16:21 +00:00
|
|
|
@include svg-icon('threema');
|
|
|
|
@include svg-icon('xmpp');
|