|
39 | 39 | /* Header with midnight theme */ |
40 | 40 | header { |
41 | 41 | display: flex; |
42 | | - flex-direction: row; /* Changed from column to row */ |
43 | | - align-items: center; /* Center items vertically */ |
| 42 | + flex-direction: row; |
| 43 | + align-items: center; |
44 | 44 | height: auto; |
45 | 45 | background: #23263a !important; |
46 | 46 | backdrop-filter: blur(20px); |
|
51 | 51 | top: 0; |
52 | 52 | left: 0; |
53 | 53 | width: 100%; |
54 | | - z-index: 1000; |
55 | | - padding: 1rem 1.5rem; /* Adjusted padding */ |
56 | | - justify-content: space-between; /* Space between brand and account links */ |
| 54 | + padding: 1rem 1.5rem; |
| 55 | + justify-content: space-between; |
| 56 | + position: relative; |
| 57 | + z-index: 1001; |
57 | 58 | } |
58 | 59 |
|
59 | 60 | .header-main { |
|
71 | 72 | .brand-title { |
72 | 73 | font-family: 'Rubik', 'Roboto Condensed', 'Segoe UI Bold', sans-serif !important; |
73 | 74 | font-weight: 700; |
74 | | - font-size: 3rem; |
| 75 | + font-size: 2rem; |
75 | 76 | background: linear-gradient(90deg, #800000, #ff3c38); |
76 | 77 | -webkit-background-clip: text; |
77 | 78 | background-clip: text; |
|
86 | 87 | .nav-slider-wrapper { |
87 | 88 | display: flex; |
88 | 89 | position: relative; |
89 | | - background: #1f1f2f; |
90 | | - border: 2px solid #444; |
| 90 | + background: #101018; |
| 91 | + border: none; |
91 | 92 | border-radius: 999px; |
92 | 93 | padding: 0.2rem; |
93 | 94 | gap: 0.25rem; |
94 | 95 | width: fit-content; |
95 | 96 | margin: auto; |
| 97 | + box-shadow: 0 0 12px rgba(250, 204, 21, 0.1); |
96 | 98 | } |
97 | 99 |
|
98 | 100 | .nav-tab { |
99 | 101 | all: unset; |
100 | 102 | position: relative; |
101 | 103 | z-index: 2; |
102 | | - padding: 0.5rem 1.2rem; |
| 104 | + padding: 0.5rem 1.3rem; |
103 | 105 | font-family: 'Rubik', sans-serif; |
104 | 106 | font-size: 0.95rem; |
105 | 107 | font-weight: 500; |
106 | | - color: #f0f0f0; |
| 108 | + color: #eaeaea; |
107 | 109 | border-radius: 999px; |
108 | 110 | cursor: pointer; |
109 | 111 | transition: color 0.2s ease; |
|
115 | 117 |
|
116 | 118 | .nav-tab.active { |
117 | 119 | color: #1a1a1a; |
| 120 | + font-weight: 600; |
118 | 121 | } |
119 | 122 |
|
120 | 123 | .nav-slider-indicator { |
|
123 | 126 | bottom: 0; |
124 | 127 | left: 0; |
125 | 128 | width: 0; |
126 | | - background: #facc15; |
| 129 | + background: linear-gradient(145deg, #facc15, #ff9f0a); |
| 130 | + box-shadow: 0 0 12px rgba(250, 204, 21, 0.4); |
127 | 131 | border-radius: 999px; |
128 | 132 | z-index: 1; |
129 | 133 | transition: all 0.3s ease; |
|
538 | 542 | line-height: 1.2; |
539 | 543 | } |
540 | 544 | /* TRENDING SIDEBAR */ |
541 | | - .trending-sidebar { |
542 | | - position: fixed; |
543 | | - top: 10rem !important; |
544 | | - left: 2rem; |
545 | | - width: 250px; |
546 | | - background: linear-gradient(to bottom right, #1a1d2e, #23263a) !important; |
547 | | - padding: 0; |
548 | | - border-radius: 0.75rem; |
549 | | - border: 1px solid rgba(255, 255, 255, 0.1) !important; |
550 | | - box-shadow: |
551 | | - 0 8px 32px rgba(0, 0, 0, 0.3), |
552 | | - inset 0 1px 0 rgba(255, 255, 255, 0.1) !important; |
553 | | - color: #f0f0f0 !important; |
554 | | - font-size: 0.9rem; |
555 | | - z-index: 1000; |
556 | | - transition: transform 0.3s ease, opacity 0.3s ease; |
557 | | - } |
| 545 | + .retro-window { |
| 546 | + width: 260px; |
| 547 | + border: 2px solid #facc15; |
| 548 | + background: #111827; |
| 549 | + box-shadow: 6px 6px 0px #000; |
| 550 | + font-family: 'Rubik', sans-serif; |
| 551 | + border-radius: 6px; |
| 552 | + position: fixed; |
| 553 | + top: 60px; |
| 554 | + z-index: 100; |
| 555 | + max-height: 0; |
| 556 | + overflow: hidden; |
| 557 | + transition: max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease; |
| 558 | +} |
558 | 559 |
|
559 | | - .trending-sidebar h3 { |
560 | | - margin: 0 0 1rem; |
561 | | - font-size: 1.2rem; |
562 | | - color: #facc15 !important; |
563 | | - text-shadow: 0 0 8px #facc15; |
564 | | - animation: yellowFlicker 2.8s infinite; |
565 | | - } |
| 560 | +.retro-window.open { |
| 561 | + max-height: 500px; |
| 562 | +} |
566 | 563 |
|
567 | | - .trending-sidebar ul { |
568 | | - list-style: none; |
569 | | - padding: 0; |
570 | | - margin: 0; |
571 | | - } |
| 564 | +.retro-window.trending { |
| 565 | + left: 32px; |
| 566 | +} |
| 567 | + |
| 568 | +.retro-window.night-crew { |
| 569 | + right: 32px; |
| 570 | +} |
| 571 | + |
| 572 | +.retro-titlebar { |
| 573 | + display: flex; |
| 574 | + justify-content: space-between; |
| 575 | + align-items: center; |
| 576 | + background: #1a1a2e; |
| 577 | + color: #facc15; |
| 578 | + padding: 0.6rem 1rem; |
| 579 | + font-weight: 600; |
| 580 | + font-size: 0.95rem; |
| 581 | + border-bottom: 1px solid #facc15; |
| 582 | + border-radius: 6px 6px 0 0; |
| 583 | +} |
| 584 | + |
| 585 | +.retro-buttons { |
| 586 | + display: flex; |
| 587 | + gap: 0.4rem; |
| 588 | +} |
| 589 | + |
| 590 | +.retro-buttons .btn { |
| 591 | + width: 12px; |
| 592 | + height: 12px; |
| 593 | + border-radius: 2px; |
| 594 | + background: #333; |
| 595 | + border: 1px solid #000; |
| 596 | + cursor: pointer; |
| 597 | + transition: transform 0.2s ease; |
| 598 | +} |
| 599 | + |
| 600 | +.retro-buttons .btn:hover { |
| 601 | + transform: scale(1.1); |
| 602 | +} |
| 603 | + |
| 604 | +.retro-buttons .red { |
| 605 | + background: #ff5f56; |
| 606 | +} |
| 607 | +.retro-buttons .yellow { |
| 608 | + background: #f5b13f; |
| 609 | +} |
| 610 | +.retro-buttons .green { |
| 611 | + background: #27c93f; |
| 612 | +} |
| 613 | + |
| 614 | +.retro-content { |
| 615 | + padding: 1.2rem; |
| 616 | + color: #f1f1f1; |
| 617 | + font-size: 0.9rem; |
| 618 | + line-height: 1.5; |
| 619 | +} |
| 620 | + |
| 621 | +.retro-window.hidden { |
| 622 | + opacity: 0; |
| 623 | + pointer-events: none; |
| 624 | +} |
| 625 | + |
| 626 | +.retro-window.trending.hidden { |
| 627 | + transform: translateX(-300px); |
| 628 | +} |
| 629 | + |
| 630 | +.retro-window.night-crew.hidden { |
| 631 | + transform: translateX(300px); |
| 632 | +} |
| 633 | + |
| 634 | +.trending-sidebar ul { |
| 635 | + list-style: none; |
| 636 | + padding: 0; |
| 637 | + margin: 0; |
| 638 | +} |
572 | 639 |
|
573 | 640 | .trending-sidebar li { |
574 | 641 | margin-bottom: 0.75rem; |
|
1106 | 1173 | @media (max-width: 700px) { |
1107 | 1174 | .trending-open-button, |
1108 | 1175 | .sidebar-toggle-button { |
1109 | | - z-index: 3000 !important; |
1110 | 1176 | position: fixed; |
1111 | 1177 | min-width: 44px; |
1112 | 1178 | min-height: 44px; |
1113 | 1179 | font-size: 1.1rem; |
| 1180 | + z-index: 998; |
1114 | 1181 | } |
1115 | 1182 | .trending-sidebar, |
1116 | 1183 | #nightCrewWidget, |
1117 | | - .sidebar-widget { |
1118 | | - z-index: 2000 !important; |
| 1184 | + .sidebar-widget, |
| 1185 | + .retro-window { |
| 1186 | + z-index: 100; |
1119 | 1187 | } |
1120 | 1188 | } |
1121 | 1189 |
|
|
1127 | 1195 | } |
1128 | 1196 |
|
1129 | 1197 | #trendingSidebar { |
1130 | | - color: #f0f0f0 !important; |
| 1198 | + display: none !important; |
1131 | 1199 | } |
1132 | 1200 |
|
1133 | 1201 | #trendingSidebar .sidebar-header { |
|
1137 | 1205 | font-weight: bold; |
1138 | 1206 | border-radius: 4px 4px 0 0; |
1139 | 1207 | } |
| 1208 | + |
| 1209 | +#toggleTrendingButton { |
| 1210 | + display: none !important; |
| 1211 | +} |
1140 | 1212 | </style> |
1141 | 1213 | </head> |
1142 | 1214 | <body> |
|
1185 | 1257 | <img src="https://win98icons.alexmeub.com/icons/png/computer_explorer-5.png" alt="Night Crew" style="width:18px;height:18px;vertical-align:middle;margin-right:6px;">Night Crew |
1186 | 1258 | </button> |
1187 | 1259 |
|
1188 | | - <div class="sidebar-widget hidden" id="nightCrewWidget"> |
1189 | | - <div class="dialog-titlebar"> |
1190 | | - <span>Night Crew</span> |
1191 | | - <button class="dialog-close-btn" onclick="toggleSidebar()" title="Close">×</button> |
| 1260 | + <div class="retro-window night-crew hidden" id="nightCrewWidget"> |
| 1261 | + <div class="retro-titlebar"> |
| 1262 | + <span>🌙 Night Crew</span> |
| 1263 | + <div class="retro-buttons"> |
| 1264 | + <div class="btn red" onclick="toggleSidebar()"></div> |
| 1265 | + <div class="btn yellow"></div> |
| 1266 | + <div class="btn green"></div> |
| 1267 | + </div> |
| 1268 | + </div> |
| 1269 | + <div class="retro-content"> |
| 1270 | + <ul> |
| 1271 | + <li><span class="status-dot online"></span> @Venus</li> |
| 1272 | + <li><span class="status-dot online"></span> @Hijinxx</li> |
| 1273 | + <li><span class="status-dot idle"></span> @Belt181</li> |
| 1274 | + <li><span class="status-dot offline"></span> @WispEcho</li> |
| 1275 | + </ul> |
1192 | 1276 | </div> |
1193 | | - <ul> |
1194 | | - <li><span class="status-dot online"></span> @Venus</li> |
1195 | | - <li><span class="status-dot online"></span> @Hijinxx</li> |
1196 | | - <li><span class="status-dot idle"></span> @Belt181</li> |
1197 | | - <li><span class="status-dot offline"></span> @WispEcho</li> |
1198 | | - </ul> |
1199 | 1277 | </div> |
1200 | 1278 |
|
1201 | | - <div class="trending-sidebar hidden" id="trendingSidebar"> |
1202 | | - <div class="dialog-titlebar"> |
1203 | | - <span>What's Trending</span> |
1204 | | - <button class="dialog-close-btn" onclick="toggleTrending()" title="Close">×</button> |
| 1279 | + <div class="retro-window trending hidden" id="trendingSidebar"> |
| 1280 | + <div class="retro-titlebar"> |
| 1281 | + <span>🔥 What's Trending</span> |
| 1282 | + <div class="retro-buttons"> |
| 1283 | + <div class="btn red" onclick="toggleTrending()"></div> |
| 1284 | + <div class="btn yellow"></div> |
| 1285 | + <div class="btn green"></div> |
| 1286 | + </div> |
| 1287 | + </div> |
| 1288 | + <div class="retro-content"> |
| 1289 | + <ul> |
| 1290 | + <li>Valorant Night Tournament</li> |
| 1291 | + <li>New Apex Patch Notes</li> |
| 1292 | + <li>Overwatch 2 Memes</li> |
| 1293 | + <li>Looking for Teammates</li> |
| 1294 | + </ul> |
1205 | 1295 | </div> |
1206 | | - <ul> |
1207 | | - <li>Valorant Night Tournament</li> |
1208 | | - <li>New Apex Patch Notes</li> |
1209 | | - <li>Overwatch 2 Memes</li> |
1210 | | - <li>Looking for Teammates</li> |
1211 | | - </ul> |
1212 | 1296 | </div> |
1213 | 1297 |
|
1214 | 1298 | <section class="feed"> |
|
1409 | 1493 | </div> |
1410 | 1494 |
|
1411 | 1495 | <footer> |
1412 | | - <p>© 2023 Noctive. All rights reserved.</p> |
| 1496 | + <p>© 2025 Noctive. All rights reserved. built on silliness and a dream and a lil anger</p> |
1413 | 1497 | </footer> |
1414 | 1498 |
|
1415 | 1499 | <script src="index.js"></script> |
|
1453 | 1537 | } |
1454 | 1538 | } |
1455 | 1539 |
|
1456 | | -function toggleSidebar() { |
1457 | | - const sidebar = document.getElementById('nightCrewWidget'); |
1458 | | - console.log('Toggling Night Crew Widget:', sidebar); |
1459 | | - sidebar.classList.toggle('hidden'); |
| 1540 | +function toggleTrending() { |
| 1541 | + const trendingWindow = document.getElementById('trendingSidebar'); |
| 1542 | + console.log('Toggling Trending Window:', trendingWindow); |
| 1543 | + trendingWindow.classList.toggle('hidden'); |
| 1544 | + trendingWindow.classList.toggle('open'); |
1460 | 1545 | } |
1461 | 1546 |
|
1462 | | -function toggleTrending() { |
1463 | | - const trendingSidebar = document.getElementById('trendingSidebar'); |
1464 | | - console.log('Toggling Trending Sidebar:', trendingSidebar); |
1465 | | - trendingSidebar.classList.toggle('hidden'); |
| 1547 | +function toggleSidebar() { |
| 1548 | + const nightWindow = document.getElementById('nightCrewWidget'); |
| 1549 | + console.log('Toggling Night Crew Widget:', nightWindow); |
| 1550 | + nightWindow.classList.toggle('hidden'); |
| 1551 | + nightWindow.classList.toggle('open'); |
1466 | 1552 | } |
1467 | 1553 |
|
1468 | 1554 | // Navigation Slider |
|
0 commit comments