-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
281 lines (257 loc) · 18.1 KB
/
Copy pathstyles.css
File metadata and controls
281 lines (257 loc) · 18.1 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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
:root {
--bg: #0a0b0f;
--panel: #13151b;
--panel-2: #191c24;
--line: #242833;
--line-soft: #1d2029;
--text: #e8eaf0;
--dim: #9498a6;
--faint: #686d7a;
--buff: #46d160;
--buff-bg: rgba(70, 209, 96, 0.12);
--nerf: #ff5a52;
--nerf-bg: rgba(255, 90, 82, 0.12);
--neutral: #5aa2ff;
--neutral-bg: rgba(90, 162, 255, 0.12);
--gold: #e6b455;
--accent: #e6b455;
--accent-2: #d9824a;
--radius: 14px;
--radius-sm: 10px;
--maxw: 1120px;
--shadow: 0 10px 30px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background:
radial-gradient(900px 500px at 80% -260px, rgba(230,180,85,0.10), transparent 70%),
radial-gradient(1000px 600px at 15% -200px, rgba(90,162,255,0.07), transparent 65%),
var(--bg);
background-attachment: fixed;
color: var(--text);
font: 16px/1.62 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
letter-spacing: 0.1px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--panel-2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--dim); }
.small { font-size: 13px; }
/* Sticky nav */
nav.toc {
position: sticky; top: 0; z-index: 30;
background: rgba(10,11,15,0.72); backdrop-filter: blur(14px) saturate(140%);
border-bottom: 1px solid var(--line-soft);
}
nav.toc .wrap { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; padding: 9px 22px; }
nav.toc a { color: var(--dim); font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 8px; transition: all .15s; }
nav.toc a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
nav.toc .navsep { color: var(--faint); padding: 0 4px; opacity: .5; }
/* Hero */
header.hero { padding: 56px 0 34px; border-bottom: 1px solid var(--line-soft); }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 11.5px; }
h1 {
font-size: clamp(30px, 5.2vw, 50px); line-height: 1.05; margin: 12px 0 0; letter-spacing: -0.5px;
font-weight: 800;
background: linear-gradient(180deg, #fff 0%, #d7dae3 100%);
-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h1 .sub { display: block; -webkit-text-fill-color: initial; color: var(--dim); font-weight: 450; font-size: clamp(15px, 2.4vw, 19px); margin-top: 14px; letter-spacing: 0; max-width: 760px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13px; color: var(--dim); }
.pill b { color: var(--text); font-weight: 600; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.disclaimer {
margin: 24px 0 0; padding: 15px 17px; border-radius: var(--radius);
background: linear-gradient(180deg, rgba(255,90,82,0.08), rgba(255,90,82,0.03));
border: 1px solid rgba(255,90,82,0.28);
font-size: 14px; color: #ffd9d6;
}
.disclaimer b { color: #fff; }
/* Layout */
main { padding: 36px 0 90px; }
section { margin: 0 0 46px; scroll-margin-top: 70px; }
.sec-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
h2 { font-size: clamp(21px, 3vw, 27px); margin: 0; letter-spacing: -0.3px; font-weight: 750; }
.sec-head .kicker { color: var(--faint); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
h2 + .lead, .sec-head + .lead { margin-top: 4px; }
h3 { font-size: 18px; margin: 22px 0 10px; }
.lead { color: var(--dim); font-size: 15px; margin: 0 0 18px; max-width: 820px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
/* Stat chips */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 17px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--barcolor, transparent); opacity: .7; }
.stat .num { font-size: 31px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.stat .lbl { color: var(--dim); font-size: 12.5px; margin-top: 7px; }
.stat.buff { --barcolor: var(--buff); } .stat.buff .num { color: var(--buff); }
.stat.nerf { --barcolor: var(--nerf); } .stat.nerf .num { color: var(--nerf); }
.stat.neutral { --barcolor: var(--neutral); } .stat.neutral .num { color: var(--neutral); }
.stat.gold { --barcolor: var(--gold); }
/* Global list */
ul.glist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.glist li { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 18px; }
ul.glist li b { color: var(--accent); }
/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { text-align: left; background: var(--panel-2); color: var(--faint); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 13px; white-space: nowrap; }
tbody td { padding: 11px 13px; border-top: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:hover { background: rgba(255,255,255,0.018); }
td.ability { font-weight: 600; white-space: nowrap; }
td.metric { color: var(--dim); }
td.oldnew { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--dim); }
td.change { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; text-align: right; }
td.note { color: var(--dim); font-size: 13px; }
.change.buff { color: var(--buff); } .change.nerf { color: var(--nerf); } .change.neutral { color: var(--faint); }
/* chips */
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; line-height: 1.5; }
.tag.buff { color: var(--buff); background: var(--buff-bg); }
.tag.nerf { color: var(--nerf); background: var(--nerf-bg); }
.tag.neutral { color: var(--neutral); background: var(--neutral-bg); }
.tag.role { color: var(--gold); background: rgba(230,180,85,0.13); }
.tag.kind { color: var(--faint); background: var(--panel-2); border: 1px solid var(--line); }
.tag.wk2 { color: #ffd479; background: rgba(230,180,85,0.16); border: 1px solid rgba(230,180,85,0.35); }
.tag.dm { color: #c79bff; background: rgba(160,110,255,0.16); border: 1px solid rgba(160,110,255,0.4); }
.minichip.w { color: #ffd479; background: rgba(230,180,85,0.16); }
/* datamined card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card-grid .card h3 { margin: 6px 0 8px; font-size: 17px; }
.card-grid .card p { margin: 0; }
.card-eyebrow { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; }
/* Accordion class blocks */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.filters { display: inline-flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.filters button { cursor: pointer; background: transparent; color: var(--dim); border: 0; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; transition: all .15s; }
.filters button:hover { color: var(--text); }
.filters button.active { color: #1a140a; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.toolbtn { cursor: pointer; background: var(--panel); color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; }
.toolbtn:hover { color: var(--text); border-color: var(--faint); }
.searchbox { flex: 1; min-width: 180px; max-width: 320px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 13px; }
.searchbox:focus { outline: none; border-color: var(--accent); }
.searchbox::placeholder { color: var(--faint); }
details.cls { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: var(--panel); overflow: hidden; }
details.cls[open] { box-shadow: var(--shadow); }
details.cls > summary {
list-style: none; cursor: pointer; padding: 15px 18px; display: flex; align-items: center; gap: 13px;
border-left: 4px solid var(--cc, var(--accent));
}
details.cls > summary::-webkit-details-marker { display: none; }
.cls-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 12px -1px var(--cc); flex: none; }
.cls-name { font-size: 19px; font-weight: 750; color: var(--cc); }
.cls-meta { color: var(--faint); font-size: 13px; }
.cls-tally { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.minichip { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.minichip.b { color: var(--buff); background: var(--buff-bg); }
.minichip.n { color: var(--nerf); background: var(--nerf-bg); }
.chev { color: var(--faint); transition: transform .2s; flex: none; }
details.cls[open] .chev { transform: rotate(90deg); }
.cls-body { padding: 4px 18px 18px; }
.specblock { margin: 14px 0 0; }
.spechead { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 16px 0 8px; }
.spechead .name { font-weight: 700; font-size: 16px; }
.specnote { color: var(--dim); font-size: 13px; margin: 0 0 10px; max-width: 880px; }
/* Scorecard + ranking + reroll reuse */
.scorecard td.spec { font-weight: 700; white-space: nowrap; }
.scorecard td.dir { color: var(--dim); }
.scorecard b { color: var(--text); }
.rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .rank-grid { grid-template-columns: 1fr; } }
.rank { border-radius: var(--radius); border: 1px solid var(--line); padding: 18px 20px; background: var(--panel); }
.rank.up { border-top: 3px solid var(--buff); }
.rank.down { border-top: 3px solid var(--nerf); }
.rank h3 { margin-top: 0; display: flex; align-items: center; gap: 8px; }
.rank.up h3 { color: var(--buff); } .rank.down h3 { color: var(--nerf); }
.rank ol { margin: 0; padding-left: 20px; }
.rank li { margin: 10px 0; } .rank li b { color: var(--text); }
.reroll-grid { display: grid; gap: 11px; }
.reroll .card { border-left: 3px solid var(--gold); }
.reroll .q { font-weight: 700; color: var(--gold); display: block; margin-bottom: 3px; }
footer { border-top: 1px solid var(--line-soft); padding: 28px 0 70px; color: var(--dim); font-size: 13px; }
footer a { word-break: break-all; }
.totop { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-weight: 800; cursor: pointer; color: #1a140a; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow); border: 0; }
.totop.show { display: flex; }
@media (max-width: 560px) {
header.hero { padding: 40px 0 26px; }
.cls-meta { display: none; }
}
/* ---- Landing page ---- */
nav.toc .brand { font-weight: 800; color: var(--text); font-size: 14px; letter-spacing: -0.2px; padding-left: 0; }
nav.toc .brand:hover { color: var(--accent); background: transparent; }
.home-hero {
position: relative; overflow: hidden; padding: 92px 0 78px; border-bottom: 1px solid var(--line-soft);
background:
radial-gradient(1100px 520px at 50% -140px, rgba(230,180,85,0.16), transparent 60%),
linear-gradient(180deg, rgba(138,135,238,0.08), transparent 42%);
}
.home-hero-glow {
position: absolute; width: 520px; height: 520px; right: -120px; top: -180px; border-radius: 50%;
background: radial-gradient(circle, rgba(90,162,255,0.18), transparent 65%); filter: blur(20px); pointer-events: none;
}
.home-title {
font-size: clamp(42px, 8vw, 80px); line-height: 0.98; margin: 14px 0 0; font-weight: 850; letter-spacing: -1.8px;
background: linear-gradient(180deg, #fff, #cfd3de); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.home-title span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-sub { color: var(--dim); font-size: clamp(15px, 2.4vw, 19px); max-width: 690px; margin: 20px 0 0; }
.home-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a140a; font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.btn-primary:hover { text-decoration: none; filter: brightness(1.07); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.btn-ghost:hover { text-decoration: none; border-color: var(--faint); }
.patch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.patch-card { display: flex; flex-direction: column; gap: 9px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; min-height: 230px; }
.patch-card.active { border-color: rgba(230,180,85,0.5); box-shadow: var(--shadow); }
.patch-card.active::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: var(--radius) var(--radius) 0 0; }
a.patch-card { color: var(--text); transition: transform .18s, border-color .18s; }
a.patch-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); }
.patch-card.soon { opacity: .6; }
.pc-top { display: flex; align-items: center; gap: 10px; }
.pc-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 999px; background: var(--panel-2); color: var(--dim); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 7px; }
.pc-badge.live { color: var(--buff); background: var(--buff-bg); border-color: rgba(70,209,96,0.3); }
.pc-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--buff); animation: pcpulse 2s infinite; }
@keyframes pcpulse { 0% { box-shadow: 0 0 0 0 rgba(70,209,96,0.5); } 70% { box-shadow: 0 0 0 7px rgba(70,209,96,0); } 100% { box-shadow: 0 0 0 0 rgba(70,209,96,0); } }
.pc-season { margin-left: auto; font-size: 12px; color: var(--faint); font-weight: 600; }
.patch-card h3 { margin: 6px 0 0; font-size: 21px; font-weight: 750; }
.patch-card h3 span { color: var(--accent); display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }
.patch-card p { color: var(--dim); font-size: 14px; margin: 0; flex: 1; }
.pc-stats { display: flex; gap: 15px; font-size: 13px; color: var(--dim); padding-top: 2px; }
.pc-stats b { color: var(--text); font-variant-numeric: tabular-nums; }
.pc-stats .g b { color: var(--buff); }
.pc-stats .r b { color: var(--nerf); }
.pc-cta { font-weight: 700; color: var(--accent); font-size: 14px; margin-top: 6px; }
.pc-cta.muted { color: var(--faint); font-weight: 600; }
/* ---- Net change calculator ---- */
.calc-card { padding: 20px 22px; }
.calc-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.calc-controls label { font-weight: 700; font-size: 14px; color: var(--dim); }
#spec-select { flex: 1; max-width: 360px; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
#spec-select:focus { outline: none; border-color: var(--accent); }
.calc-base { margin: 0 0 14px; padding: 11px 14px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--dim); }
.calc-base b { font-variant-numeric: tabular-nums; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.calc-row:first-child { border-top: 0; }
.cr-name { font-weight: 600; font-size: 14px; }
.cr-pct { font-variant-numeric: tabular-nums; }
.cr-input { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
input.wt { width: 74px; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
input.wt:focus { outline: none; border-color: var(--accent); }
.calc-result { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--line); }
.calc-result-lbl { font-weight: 700; font-size: 15px; }
.calc-result-sub { color: var(--faint); font-size: 12px; margin-top: 3px; }
.net-num { font-size: 38px; font-weight: 850; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; color: var(--text); }
.net-num.buff { color: var(--buff); }
.net-num.nerf { color: var(--nerf); }
/* ---- Tier sets ---- */
.tierspec { margin: 12px 0 0; padding: 14px 16px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tierspec .spechead { margin: 0 0 8px; }
.setrow { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.setrow + .setrow { border-top: 1px solid var(--line-soft); }
.setlabel { flex: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 999px; margin-top: 2px; }
.setlabel.two { color: var(--neutral); background: var(--neutral-bg); }
.setlabel.four { color: var(--gold); background: rgba(230,180,85,0.14); }
.settext { color: var(--text); font-size: 14px; line-height: 1.55; }