@whykusanagi/corrupted-theme 0.1.1 → 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 +120 -0
- package/README.md +91 -7
- 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/extensions.css +933 -0
- package/src/css/theme.css +6 -74
- package/src/css/typography.css +5 -0
- 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 {
|
|
@@ -291,62 +294,9 @@ footer a:hover {
|
|
|
291
294
|
}
|
|
292
295
|
}
|
|
293
296
|
|
|
294
|
-
/* ========== CONTENT
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
position: relative;
|
|
298
|
-
overflow: hidden;
|
|
299
|
-
cursor: pointer;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.gallery-item.nsfw-content img {
|
|
303
|
-
filter: blur(15px) !important;
|
|
304
|
-
transition: filter var(--transition-normal);
|
|
305
|
-
cursor: pointer;
|
|
306
|
-
pointer-events: none;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.gallery-item.nsfw-content::before {
|
|
310
|
-
content: '';
|
|
311
|
-
position: absolute;
|
|
312
|
-
top: 0;
|
|
313
|
-
left: 0;
|
|
314
|
-
width: 100%;
|
|
315
|
-
height: 100%;
|
|
316
|
-
background: rgba(0, 0, 0, 0.5);
|
|
317
|
-
z-index: 10;
|
|
318
|
-
transition: all var(--transition-normal);
|
|
319
|
-
cursor: pointer;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.gallery-item.nsfw-content::after {
|
|
323
|
-
content: '18+ - Click to view';
|
|
324
|
-
position: absolute;
|
|
325
|
-
top: 50%;
|
|
326
|
-
left: 50%;
|
|
327
|
-
transform: translate(-50%, -50%);
|
|
328
|
-
z-index: 11;
|
|
329
|
-
background: rgba(217, 79, 144, 0.95);
|
|
330
|
-
color: #fff;
|
|
331
|
-
padding: 1rem 1.5rem;
|
|
332
|
-
border-radius: var(--radius-lg);
|
|
333
|
-
font-size: 0.95rem;
|
|
334
|
-
font-weight: 700;
|
|
335
|
-
white-space: nowrap;
|
|
336
|
-
pointer-events: none;
|
|
337
|
-
transition: all var(--transition-normal);
|
|
338
|
-
text-align: center;
|
|
339
|
-
letter-spacing: 0.5px;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.gallery-item.nsfw-content:hover::before {
|
|
343
|
-
background: rgba(0, 0, 0, 0.7);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.gallery-item.nsfw-content:hover::after {
|
|
347
|
-
transform: translate(-50%, -50%) scale(1.1);
|
|
348
|
-
box-shadow: 0 4px 16px rgba(217, 79, 144, 0.4);
|
|
349
|
-
}
|
|
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 */
|
|
350
300
|
|
|
351
301
|
.gallery-item.nsfw-content.revealed img {
|
|
352
302
|
filter: blur(0) !important;
|
|
@@ -356,21 +306,3 @@ footer a:hover {
|
|
|
356
306
|
.gallery-item.nsfw-content.revealed::after {
|
|
357
307
|
display: none !important;
|
|
358
308
|
}
|
|
359
|
-
|
|
360
|
-
/* ========== LIGHTBOX ========== */
|
|
361
|
-
|
|
362
|
-
.lightbox:fullscreen .gallery-item.nsfw-content img,
|
|
363
|
-
.lightbox:-webkit-full-screen .gallery-item.nsfw-content img {
|
|
364
|
-
filter: blur(0) !important;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.lightbox:fullscreen .gallery-item.nsfw-content::before,
|
|
368
|
-
.lightbox:-webkit-full-screen .gallery-item.nsfw-content::before,
|
|
369
|
-
.lightbox:fullscreen .gallery-item.nsfw-content::after,
|
|
370
|
-
.lightbox:-webkit-full-screen .gallery-item.nsfw-content::after {
|
|
371
|
-
display: none !important;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.lightbox.fullscreen-active img {
|
|
375
|
-
filter: blur(0) !important;
|
|
376
|
-
}
|
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;
|