forked from hackclub/sprig
-
Notifications
You must be signed in to change notification settings - Fork 1
/
global.css
91 lines (77 loc) 路 1.97 KB
/
global.css
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
*, *::before, *::after { box-sizing: inherit; }
html, body { height: 100%; }
html { box-sizing: border-box; overflow: hidden; }
body { overflow: auto; }
:root {
--font-text: 'Inter', sans-serif;
--font-code: 'Fira Mono', monospace;
--bg-base: #fafed7;
--bg-overlay: #000000cf;
--bg-drawing-hover: #9b9b9b52;
--bg-floating: #191919;
--bg-surface: #f8f9fa;
--bg-overflow: #dee2e6;
--bg-btn-inactive: #434343;
--bg-btn-inactive-dark: #2e2e2e;
--fg-muted: #9d9d9d;
--fg-muted-on-accent: #8fcabb;
--error: #e03131;
--accent: #078969;
--accent-light: #80c3a0;
--accent-dark: #136853;
--fg-switch-low: #515151;
--fg-switch-high: #f3f3f3;
--cursor-interactive: default;
--line-height-copy: 1.5;
}
body {
font-family: var(--font-text);
margin: 0;
background: var(--bg-base);
position: relative;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
color: var(--accent-dark);
}
@keyframes shake {
0% { transform: translate(2px, 1px) rotate(0deg); }
10% { transform: translate(-1px, -2px) rotate(-1deg); }
20% { transform: translate(-3px, 0px) rotate(1deg); }
30% { transform: translate(0px, 2px) rotate(0deg); }
40% { transform: translate(1px, -1px) rotate(1deg); }
50% { transform: translate(-1px, 2px) rotate(-1deg); }
60% { transform: translate(-3px, 1px) rotate(0deg); }
70% { transform: translate(2px, 1px) rotate(-1deg); }
80% { transform: translate(-1px, -1px) rotate(1deg); }
90% { transform: translate(2px, 2px) rotate(0deg); }
100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.shake {
animation-name: shake;
animation-duration: 0.5s;
transform-origin: 50% 50%;
animation-iteration-count: infinite;
}
.copy-container {
width: 100%;
max-width: 900px;
margin: 40px auto;
padding: 10px;
}
.copy-container > h1 {
margin: 0;
font-size: 2.5rem;
}
.copy-container p {
line-height: var(--line-height-copy);
}
.grecaptcha-badge {
visibility: hidden;
}
.cm-lineNumbers > .cm-gutterElement[err-line] {
background: #ecb2b2!important;
}