forked from NSPG13/agent-bounties
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompetition.css
More file actions
248 lines (208 loc) · 4.75 KB
/
Copy pathcompetition.css
File metadata and controls
248 lines (208 loc) · 4.75 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
.competition-main {
background: #020b08;
color: #f4f7f2;
min-height: 100vh;
}
.competition-hero {
align-items: end;
background:
radial-gradient(circle at 78% 18%, rgba(176, 255, 32, 0.14), transparent 30%),
linear-gradient(120deg, #03110b 0%, #071d12 58%, #020b08 100%);
border-bottom: 1px solid rgba(176, 255, 32, 0.25);
display: grid;
gap: 3rem;
grid-template-columns: minmax(0, 1fr) auto;
min-height: 46vh;
padding: clamp(5rem, 10vw, 9rem) clamp(1.4rem, 6vw, 7rem) clamp(3rem, 6vw, 5rem);
}
.competition-hero-copy {
animation: competition-rise 500ms ease-out both;
max-width: 760px;
}
.competition-hero h1 {
font-size: clamp(3.2rem, 8vw, 7.6rem);
letter-spacing: -0.065em;
line-height: 0.9;
margin: 0.25rem 0 1.4rem;
}
.competition-hero-copy > p:last-child {
color: #c8d2ca;
font-size: clamp(1.05rem, 2vw, 1.35rem);
max-width: 620px;
}
.competition-stage {
border-left: 2px solid #b0ff20;
color: #dce9dc;
max-width: 300px;
padding: 0.35rem 0 0.35rem 1rem;
}
.competition-stage[data-tone="blocked"] {
border-color: #f3b73f;
color: #f4d999;
}
.competition-stage[data-tone="ready"] {
color: #b0ff20;
}
.competition-workspace {
display: grid;
gap: clamp(3rem, 8vw, 8rem);
grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
padding: clamp(3.5rem, 8vw, 8rem) clamp(1.4rem, 6vw, 7rem);
}
.competition-section-heading {
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
margin-bottom: 1.5rem;
padding-bottom: 1.2rem;
}
.competition-section-heading h2,
.competition-settlement h2 {
font-size: clamp(2rem, 4vw, 3.8rem);
letter-spacing: -0.045em;
margin: 0.25rem 0 0.6rem;
}
.competition-section-heading p:last-child,
.competition-settlement > p {
color: #acb9af;
}
.competition-fact-list {
margin: 0;
}
.competition-fact-list > div {
align-items: baseline;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: grid;
gap: 1.5rem;
grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
padding: 1rem 0;
}
.competition-fact-list dt {
color: #839088;
font-size: 0.78rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.competition-fact-list dd {
margin: 0;
overflow-wrap: anywhere;
}
.competition-rule,
.competition-warning {
border-left: 2px solid #b0ff20;
margin-top: 2rem;
padding-left: 1.1rem;
}
.competition-warning {
border-color: #f3b73f;
}
.competition-rule p,
.competition-warning p {
color: #aab6ad;
margin: 0.4rem 0 0;
}
.competition-entry {
animation: competition-rise 600ms 100ms ease-out both;
}
.competition-wallet {
color: #99a69d;
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
font-size: 0.82rem;
margin: 0.8rem 0 1.8rem;
overflow-wrap: anywhere;
}
.competition-entry form {
display: grid;
gap: 1rem;
}
.competition-entry label {
color: #cbd5cd;
display: grid;
font-size: 0.88rem;
gap: 0.5rem;
}
.competition-entry input {
background: rgba(255, 255, 255, 0.045);
border: 1px solid rgba(255, 255, 255, 0.17);
border-radius: 0;
color: #f4f7f2;
min-height: 48px;
padding: 0.8rem;
transition: border-color 160ms ease, background 160ms ease;
}
.competition-entry input:focus {
background: rgba(176, 255, 32, 0.045);
border-color: #b0ff20;
outline: none;
}
.competition-actions {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
margin-top: 0.5rem;
}
.competition-recovery,
.competition-output {
border-top: 1px solid rgba(255, 255, 255, 0.15);
display: block;
margin-top: 1.8rem;
padding-top: 1.4rem;
}
.competition-recovery p,
.competition-output {
color: #aab6ad;
}
.competition-recovery code {
display: block;
font-size: 0.74rem;
margin-top: 1rem;
overflow-wrap: anywhere;
}
.competition-reveal {
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
border-top: 1px solid rgba(255, 255, 255, 0.15);
margin-top: 2rem;
padding: 1.2rem 0;
}
.competition-reveal summary {
cursor: pointer;
font-weight: 700;
}
.competition-reveal form {
margin-top: 1.2rem;
}
.competition-output[data-tone="error"] {
color: #ffb0a5;
}
.competition-output[data-tone="ready"] {
color: #b0ff20;
}
.competition-settlement {
border-top: 1px solid rgba(176, 255, 32, 0.22);
max-width: none;
padding: clamp(3.5rem, 8vw, 7rem) clamp(1.4rem, 6vw, 7rem);
}
.competition-settlement > p {
max-width: 720px;
}
@keyframes competition-rise {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 850px) {
.competition-hero,
.competition-workspace {
grid-template-columns: 1fr;
}
.competition-hero {
gap: 1.5rem;
min-height: 52vh;
}
.competition-stage {
max-width: none;
}
}
@media (prefers-reduced-motion: reduce) {
.competition-hero-copy,
.competition-entry {
animation: none;
}
}