@whykusanagi/corrupted-theme 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +162 -0
- package/README.md +209 -14
- package/docs/COMPONENTS_REFERENCE.md +295 -8
- package/examples/assets/celeste-avatar.png +0 -0
- package/examples/button.html +21 -9
- package/examples/card.html +21 -8
- package/examples/extensions-showcase.html +716 -0
- package/examples/form.html +21 -8
- package/examples/index.html +619 -396
- package/examples/layout.html +21 -7
- package/examples/nikke-team-builder.html +22 -8
- package/examples/showcase-complete.html +44 -13
- package/examples/showcase.html +20 -7
- package/package.json +12 -5
- package/src/css/components.css +101 -2
- package/src/css/extensions.css +933 -0
- package/src/css/theme.css +6 -176
- package/src/css/typography.css +5 -0
- package/src/css/variables.css +1 -1
- package/src/lib/countdown-widget.js +609 -0
- package/src/lib/gallery.js +481 -0
package/src/css/theme.css
CHANGED
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
/* ========== UTILITY CLASSES ========== */
|
|
26
26
|
@import './utilities.css';
|
|
27
27
|
|
|
28
|
+
/* ========== EXTENSION COMPONENTS ========== */
|
|
29
|
+
@import './extensions.css';
|
|
30
|
+
|
|
28
31
|
/* ========== RESPONSIVE GRID SYSTEM ========== */
|
|
29
32
|
|
|
30
33
|
.container {
|
|
@@ -150,92 +153,6 @@ footer a:hover {
|
|
|
150
153
|
color: var(--accent);
|
|
151
154
|
}
|
|
152
155
|
|
|
153
|
-
/* ========== NAVIGATION ========== */
|
|
154
|
-
|
|
155
|
-
nav.navbar {
|
|
156
|
-
position: sticky;
|
|
157
|
-
top: 0;
|
|
158
|
-
z-index: var(--z-navbar);
|
|
159
|
-
background: rgba(10, 10, 10, 0.95);
|
|
160
|
-
border-bottom: 1px solid var(--border);
|
|
161
|
-
backdrop-filter: blur(15px);
|
|
162
|
-
padding: 0;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.navbar-content {
|
|
166
|
-
max-width: 1400px;
|
|
167
|
-
margin: 0 auto;
|
|
168
|
-
padding: 1rem 2rem;
|
|
169
|
-
display: flex;
|
|
170
|
-
justify-content: space-between;
|
|
171
|
-
align-items: center;
|
|
172
|
-
gap: 2rem;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.navbar-logo {
|
|
176
|
-
font-size: 1.25rem;
|
|
177
|
-
font-weight: 700;
|
|
178
|
-
color: var(--accent);
|
|
179
|
-
text-decoration: none;
|
|
180
|
-
transition: all var(--transition-normal);
|
|
181
|
-
display: flex;
|
|
182
|
-
align-items: center;
|
|
183
|
-
gap: 0.5rem;
|
|
184
|
-
min-width: fit-content;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.navbar-logo:hover {
|
|
188
|
-
color: var(--accent-light);
|
|
189
|
-
transform: translateY(-2px);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.navbar-links {
|
|
193
|
-
display: flex;
|
|
194
|
-
gap: 1.5rem;
|
|
195
|
-
list-style: none;
|
|
196
|
-
margin: 0;
|
|
197
|
-
padding: 0;
|
|
198
|
-
align-items: center;
|
|
199
|
-
flex-wrap: wrap;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.navbar-links a {
|
|
203
|
-
color: var(--text-secondary);
|
|
204
|
-
text-decoration: none;
|
|
205
|
-
font-size: 0.95rem;
|
|
206
|
-
font-weight: 500;
|
|
207
|
-
transition: all var(--transition-normal);
|
|
208
|
-
padding: 0.5rem 0;
|
|
209
|
-
position: relative;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.navbar-links a::after {
|
|
213
|
-
content: '';
|
|
214
|
-
position: absolute;
|
|
215
|
-
bottom: -2px;
|
|
216
|
-
left: 0;
|
|
217
|
-
width: 0;
|
|
218
|
-
height: 2px;
|
|
219
|
-
background: var(--accent);
|
|
220
|
-
transition: width var(--transition-normal);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.navbar-links a:hover {
|
|
224
|
-
color: var(--accent);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.navbar-links a:hover::after {
|
|
228
|
-
width: 100%;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.navbar-links a.active {
|
|
232
|
-
color: var(--accent);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.navbar-links a.active::after {
|
|
236
|
-
width: 100%;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
156
|
/* ========== SECTIONS ========== */
|
|
240
157
|
|
|
241
158
|
.section {
|
|
@@ -375,80 +292,11 @@ nav.navbar {
|
|
|
375
292
|
.grid-4 {
|
|
376
293
|
grid-template-columns: 1fr;
|
|
377
294
|
}
|
|
378
|
-
|
|
379
|
-
.navbar-content {
|
|
380
|
-
flex-direction: column;
|
|
381
|
-
gap: 1rem;
|
|
382
|
-
padding: 1rem;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.navbar-links {
|
|
386
|
-
gap: 1rem;
|
|
387
|
-
justify-content: center;
|
|
388
|
-
width: 100%;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.navbar-links a {
|
|
392
|
-
font-size: 0.9rem;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/* ========== CONTENT OVERLAYS & SPECIAL EFFECTS ========== */
|
|
397
|
-
|
|
398
|
-
.gallery-item.nsfw-content {
|
|
399
|
-
position: relative;
|
|
400
|
-
overflow: hidden;
|
|
401
|
-
cursor: pointer;
|
|
402
295
|
}
|
|
403
296
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
cursor: pointer;
|
|
408
|
-
pointer-events: none;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.gallery-item.nsfw-content::before {
|
|
412
|
-
content: '';
|
|
413
|
-
position: absolute;
|
|
414
|
-
top: 0;
|
|
415
|
-
left: 0;
|
|
416
|
-
width: 100%;
|
|
417
|
-
height: 100%;
|
|
418
|
-
background: rgba(0, 0, 0, 0.5);
|
|
419
|
-
z-index: 10;
|
|
420
|
-
transition: all var(--transition-normal);
|
|
421
|
-
cursor: pointer;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.gallery-item.nsfw-content::after {
|
|
425
|
-
content: '18+ - Click to view';
|
|
426
|
-
position: absolute;
|
|
427
|
-
top: 50%;
|
|
428
|
-
left: 50%;
|
|
429
|
-
transform: translate(-50%, -50%);
|
|
430
|
-
z-index: 11;
|
|
431
|
-
background: rgba(217, 79, 144, 0.95);
|
|
432
|
-
color: #fff;
|
|
433
|
-
padding: 1rem 1.5rem;
|
|
434
|
-
border-radius: var(--radius-lg);
|
|
435
|
-
font-size: 0.95rem;
|
|
436
|
-
font-weight: 700;
|
|
437
|
-
white-space: nowrap;
|
|
438
|
-
pointer-events: none;
|
|
439
|
-
transition: all var(--transition-normal);
|
|
440
|
-
text-align: center;
|
|
441
|
-
letter-spacing: 0.5px;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.gallery-item.nsfw-content:hover::before {
|
|
445
|
-
background: rgba(0, 0, 0, 0.7);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.gallery-item.nsfw-content:hover::after {
|
|
449
|
-
transform: translate(-50%, -50%) scale(1.1);
|
|
450
|
-
box-shadow: 0 4px 16px rgba(217, 79, 144, 0.4);
|
|
451
|
-
}
|
|
297
|
+
/* ========== LEGACY CONTENT OVERLAY SUPPORT ========== */
|
|
298
|
+
/* Note: Gallery, Lightbox, and NSFW styles are now in extensions.css */
|
|
299
|
+
/* These selectors provide backward compatibility for existing implementations */
|
|
452
300
|
|
|
453
301
|
.gallery-item.nsfw-content.revealed img {
|
|
454
302
|
filter: blur(0) !important;
|
|
@@ -458,21 +306,3 @@ nav.navbar {
|
|
|
458
306
|
.gallery-item.nsfw-content.revealed::after {
|
|
459
307
|
display: none !important;
|
|
460
308
|
}
|
|
461
|
-
|
|
462
|
-
/* ========== LIGHTBOX ========== */
|
|
463
|
-
|
|
464
|
-
.lightbox:fullscreen .gallery-item.nsfw-content img,
|
|
465
|
-
.lightbox:-webkit-full-screen .gallery-item.nsfw-content img {
|
|
466
|
-
filter: blur(0) !important;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
.lightbox:fullscreen .gallery-item.nsfw-content::before,
|
|
470
|
-
.lightbox:-webkit-full-screen .gallery-item.nsfw-content::before,
|
|
471
|
-
.lightbox:fullscreen .gallery-item.nsfw-content::after,
|
|
472
|
-
.lightbox:-webkit-full-screen .gallery-item.nsfw-content::after {
|
|
473
|
-
display: none !important;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.lightbox.fullscreen-active img {
|
|
477
|
-
filter: blur(0) !important;
|
|
478
|
-
}
|
package/src/css/typography.css
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/* typography.css — Font hierarchy and text styles */
|
|
2
2
|
|
|
3
|
+
html {
|
|
4
|
+
background-color: var(--bg);
|
|
5
|
+
}
|
|
6
|
+
|
|
3
7
|
body {
|
|
4
8
|
margin: 0;
|
|
5
9
|
padding: 0;
|
|
6
10
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
|
|
7
11
|
color: var(--text);
|
|
12
|
+
background-color: var(--bg);
|
|
8
13
|
font-size: 1rem;
|
|
9
14
|
line-height: 1.7;
|
|
10
15
|
background-attachment: fixed;
|