-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyles.css
More file actions
257 lines (231 loc) · 3.96 KB
/
styles.css
File metadata and controls
257 lines (231 loc) · 3.96 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
body {
margin: 0 100px 100px;
padding: 0 0 100px;
height: 120vh;
background: #000;
color: #fff;
font-family: 'Courier New', Courier, monospace;
border-radius: 0;
}
.glitch-text, h1, h2 {
margin-top: 0;
margin-bottom: 0.35em;
}
a {
text-decoration: underline;
color: inherit;
}
.glitch-container {
text-align: center;
}
.glitch-text {
font-size: 4rem;
position: relative;
color: #fff;
animation: glitch 2s infinite;
}
.glitch-text:before,
.glitch-text:after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
overflow: hidden;
clip: rect(0, 900px, 0, 0);
}
.glitch-text:before {
left: 2px;
text-shadow: -2px 0 red;
animation: glitch-before 2s infinite;
}
.glitch-text:after {
left: -2px;
text-shadow: -2px 0 blue;
animation: glitch-after 2s infinite;
}
.content {
text-align: center;
z-index: 1;
}
#joinButton {
background-color: #000;
color: #fff;
border: 2px solid #fff;
padding: 10px 20px;
cursor: pointer;
font-size: 1.2rem;
transition: background-color 0.3s, color 0.3s;
}
#joinButton:hover {
background-color: #fff;
color: #000;
}
@keyframes glitch {
0% {
transform: translate(0);
}
20% {
transform: translate(-2px, 2px);
}
40% {
transform: translate(-2px, -2px);
}
60% {
transform: translate(2px, 2px);
}
80% {
transform: translate(2px, -2px);
}
100% {
transform: translate(0);
}
}
@keyframes glitch-before {
0% {
clip: rect(42px, 9999px, 44px, 0);
transform: skew(0.3deg);
}
20% {
clip: rect(15px, 9999px, 56px, 0);
transform: skew(0.6deg);
}
40% {
clip: rect(85px, 9999px, 140px, 0);
transform: skew(0.3deg);
}
60% {
clip: rect(53px, 9999px, 114px, 0);
transform: skew(0.5deg);
}
80% {
clip: rect(100px, 9999px, 24px, 0);
transform: skew(0.6deg);
}
100% {
clip: rect(42px, 9999px, 44px, 0);
transform: skew(0.3deg);
}
}
@keyframes glitch-after {
0% {
clip: rect(12px, 9999px, 76px, 0);
transform: skew(0.2deg);
}
20% {
clip: rect(85px, 9999px, 100px, 0);
transform: skew(0.4deg);
}
40% {
clip: rect(45px, 9999px, 78px, 0);
transform: skew(0.2deg);
}
60% {
clip: rect(70px, 9999px, 54px, 0);
transform: skew(0.4deg);
}
80% {
clip: rect(15px, 9999px, 90px, 0);
transform: skew(0.3deg);
}
100% {
clip: rect(12px, 9999px, 76px, 0);
transform: skew(0.2deg);
}
}
.github-mark {
position: absolute;
top: 10px;
right: 10px;
width: 40px;
height: 40px;
}
.github-mark img {
width: 100%;
height: 100%;
}
.coded-by-pianoman0 {
font-family: 'IBM Plex Mono', monospace;
display: inline-flex;
padding: 8px 12px;
align-items: center;
color: black;
text-decoration: none;
background-color: rgb(255, 255, 255);
border-radius: 6px;
font-size: 12px;
box-shadow: 0 1px 3px rgb(0 0 0 / 20%), 0 6px 13px rgb(0 0 0 / 20%);
transition: all 0.2s ease-in-out;
z-index: 1000;
}
.coded-by-pianoman0:hover {
box-shadow: 0 1px 3px rgb(0 0 0 / 50%), 0 6px 13px rgb(0 0 0 / 40%);
}
#bookmarklet-form {
margin: 20px auto;
text-align: center;
}
#bookmarklet-code {
width: 80%;
padding: 10px;
font-family: 'Courier New', Courier, monospace;
font-size: 1rem;
margin-bottom: 10px;
}
button {
background-color: #000;
color: #fff;
border: 2px solid #fff;
padding: 10px 20px;
cursor: pointer;
font-size: 1.2rem;
transition: background-color 0.3s, color 0.3s;
}
button:hover {
background-color: #fff;
color: #000;
}
pre {
padding: 10px;
}
#bookmarklet-tutorial {
display: block;
clear: both;
width: 95%;
margin-left: 1%;
}
.hackclub-flag {
position: absolute;
top: 0;
left: 10px;
border: 0;
width: 256px;
z-index: 999;
}
#bookmarklet-tutorial img {
max-width: 100%;
height: auto;
display: block;
margin: 12px auto;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
/* Mobile */
@media (max-width: 600px) {
body {
margin: 0 16px 80px;
padding-bottom: 80px;
height: auto;
}
.glitch-text {
font-size: 2.2rem;
}
#bookmarklet-code {
width: 100%;
}
.hackclub-flag {
display: none;
}
}