blob: fcf71a14ab79f3d6054287e5723d85bf4809242a (
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
|
@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;
}
}
/// }}}
h1 {
margin: 0;
}
html {
background-color: everforest.$bg0;
height: 100%;
}
body {
color: everforest.$fg;
background-color: everforest.$bg1;
margin: 0 auto;
max-width: 800px;
padding: 10px;
min-height: 100%;
}
a {
color: everforest.$blue;
}
img {
max-width: 100%;
max-height: 720px;
}
pre {
padding: 1rem;
overflow: auto;
}
/* The line numbers already provide some kind of left/right padding */
pre[data-linenos] {
padding: 1rem 0;
}
pre table td {
padding: 0;
}
/* The line number cells */
pre table td:nth-of-type(1) {
text-align: center;
user-select: none;
}
pre mark {
/* If you want your highlights to take the full width */
display: block;
/* The default background colour of a mark is bright yellow */
background-color: rgba(254, 252, 232, 0.9);
}
pre table {
width: 100%;
border-collapse: collapse;
}
.wip-indicator {
color: everforest.$yellow;
}
.langcolor {
&-rust {
color: everforest.$orange;
}
}
|