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
109
110
111
112
113
114
115
116
117
118
|
@use "everforest.module";
/// 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;
}
}
/// }}}
.dot {
position: absolute;
top: 50%;
left: 50%;
width: 5px;
height: 5px;
border-radius: 50%;
transform: translate3d(-50%, -50%, 0);
border: 2px solid white;
}
html,
body,
#root {
height: 100%;
margin: unset;
}
h1 {
margin: 0;
}
html {
background-color: everforest.$bg0;
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;
}
}
.textPopup {
/* text-align: center; */
pointer-events: none;
background-color: everforest.$bg1;
color: everforest.$fg;
border-radius: 5px;
font-size: 15px;
width: 200px;
max-width: 50vw;
padding: 5px;
}
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
|