UNPKG

449 BSCSSView Raw
1.github-corner {
2 position: absolute;
3 top: 0;
4
5 &.is-left-aligned {
6 left: 0;
7 transform: scaleX(-1);
8 }
9
10 &:not(.is-left-aligned) {
11 right: 0;
12 }
13
14 &.is-inverted {
15 color: $color-black;
16
17 svg {
18 fill: $color-white;
19 }
20
21 &:hover {
22 color: $color-black;
23 }
24 }
25
26 &:not(.is-inverted) {
27 color: $color-white;
28
29 svg {
30 fill: $color-black;
31 }
32
33 &:hover {
34 color: $color-white;
35 }
36 }
37}