summaryrefslogtreecommitdiff
path: root/sass/style.scss
blob: 3131fed9dad6cbcfcff8ab14a5907b1cf51dc744 (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
@use "everforest";

/// Stole this from Stack Overflow (https://stackoverflow.com/a/54702294) {{{

.rainbow_text_animated {
    background: linear-gradient(to right, everforest.$red, everforest.$orange, everforest.$yellow, everforest.$green, everforest.$blue, everforest.$purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 1s ease-in-out infinite;
    background-size: 600% 100%;
}

@keyframes rainbow_animation {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

/// }}}

body {
  color: everforest.$fg;
  background-color: everforest.$bg1;
}

a {
  color: everforest.$blue;
}

img {
  max-width: 100vw;
  max-height: 720px;
}

pre {
  padding: 5px;
}

.wip-indicator {
  color: everforest.$yellow;
}

.langcolor {
  &-rust {
    color: everforest.$orange;
  }
}