mirror of
https://github.com/lklynet/hypermind.git
synced 2026-05-03 09:30:36 +00:00
122 lines
3.6 KiB
CSS
122 lines
3.6 KiB
CSS
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
background: var(--color-bg-main);
|
|
color: var(--color-text-default);
|
|
margin: 0;
|
|
}
|
|
|
|
.container { text-align: center; position: relative; z-index: 10; }
|
|
#network { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
|
|
.count { font-size: 8rem; font-weight: bold; color: var(--color-count); transition: color 0.2s; visibility: hidden; }
|
|
.count.loaded { visibility: visible; }
|
|
.label { font-size: 1.5rem; color: var(--color-text-main-label); margin-top: 1rem; }
|
|
.footer { margin-top: 2rem; font-size: 0.9rem; color: var(--color-text-footer); }
|
|
.debug { font-size: 0.8rem; color: var(--color-text-debug); margin-top: 1rem; }
|
|
.debug-link { color: var(--color-text-debug-link); border-bottom: 1px dotted; cursor: pointer; transition: color 0.2s; }
|
|
.debug-link:hover { color: var(--color-text-debug-link-hover); }
|
|
a { color: var(--color-text-secondary); text-decoration: none; border-bottom: 1px dotted var(--color-text-secondary); }
|
|
.pulse { animation: pulse 0.5s ease-in-out; }
|
|
@keyframes pulse {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(1.1); color: var(--color-pulse); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
.footer a {
|
|
color: var(--color-text-footer);
|
|
border-bottom: 1px dotted var(--color-text-footer);
|
|
cursor: pointer;
|
|
transition: color 0.2s, border-color 0.2s;
|
|
}
|
|
.footer a:hover {
|
|
color: var(--color-text-footer-hover);
|
|
border-color: var(--color-text-footer-hover);
|
|
}
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--color-bg-overlay);
|
|
}
|
|
.modal.active { display: flex; align-items: center; justify-content: center; }
|
|
.modal-content {
|
|
background: var(--color-modal-bg);
|
|
border: 1px solid var(--color-modal-border);
|
|
padding: 2rem;
|
|
max-width: 500px;
|
|
width: 90%;
|
|
position: relative;
|
|
}
|
|
.modal-title {
|
|
font-size: 0.9rem;
|
|
color: var(--color-modal-title);
|
|
margin-bottom: 1.5rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
.close-btn {
|
|
position: absolute;
|
|
top: 1.5rem;
|
|
right: 1.5rem;
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-modal-close-btn);
|
|
font-size: 1.2rem;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
}
|
|
.close-btn:hover { color: var(--color-modal-close-btn-hover); }
|
|
.stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid var(--color-modal-stat-div);
|
|
font-size: 0.85rem;
|
|
}
|
|
.stat-row:last-child { border-bottom: none; }
|
|
.stat-label { color: var(--color-modal-stat-label); }
|
|
.stat-value {
|
|
color: var(--color-modal-stat-value);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.update-time {
|
|
text-align: center;
|
|
font-size: 0.7rem;
|
|
color: var(--color-modal-footer);
|
|
margin-top: 1rem;
|
|
}
|
|
.theme-btn {
|
|
position: fixed;
|
|
bottom: 1.5rem;
|
|
left: 1.5rem;
|
|
cursor: pointer;
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.theme-btn .material-symbols-outlined {
|
|
color: var(--color-theme-toggle);
|
|
font-size: 28px;
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.theme-btn:hover .material-symbols-outlined {
|
|
color: var(--color-theme-toggle-hover);
|
|
}
|