kernel_panic_web/kernelpanic.lol/assets/static/style.css

247 lines
5.0 KiB
CSS
Raw Normal View History

2024-08-14 21:24:36 +00:00
@font-face {
font-family: "Quicksand";
2025-06-10 04:00:46 +00:00
src: local("Quicksand");
font-display: swap;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
@font-face {
font-family: "TerminalGrotesque";
src: url("/static/terminal-grotesque_open.otf") format("opentype");
font-style: normal;
font-display: swap;
}
:root {
--bg-main: #101820;
--bg-content: #18222d;
--accent: #00ff99;
--accent-soft: #33ffbb;
--text-main: #e0ffe0;
--text-link: #00e6e6;
--text-link-hover: #fff;
--border: #222c38;
--header-bg: #16202a;
--footer-bg: #16202a;
--shadow: 0 2px 16px rgba(0,0,0,0.15);
--radius: 10px;
--font-main: 'Quicksand', 'Segoe UI', Arial, sans-serif;
--font-mono: 'Fira Mono', 'Consolas', monospace;
}
html, body {
2024-08-14 21:24:36 +00:00
height: 100%;
margin: 0;
2025-06-10 04:00:46 +00:00
padding: 0;
background: var(--bg-main);
color: var(--text-main);
font-family: var(--font-main);
font-size: 18px;
line-height: 1.6;
min-height: 100vh;
box-sizing: border-box;
scroll-behavior: smooth;
}
body {
2024-08-14 21:24:36 +00:00
display: flex;
flex-direction: column;
2025-06-10 04:00:46 +00:00
align-items: center;
justify-content: flex-start;
min-height: 100vh;
2024-08-14 21:24:36 +00:00
background-size: 20px 20px;
2025-04-16 18:41:23 +00:00
cursor: crosshair;
2025-06-10 04:00:46 +00:00
}
2025-04-16 18:41:23 +00:00
2025-06-10 04:00:46 +00:00
a {
color: var(--text-link);
text-decoration: underline;
transition: color 0.2s;
font-weight: 500;
2025-04-16 18:41:23 +00:00
}
2025-06-10 04:00:46 +00:00
a:hover, a:focus {
color: var(--text-link-hover);
background: var(--accent);
text-decoration: none;
border-radius: var(--radius);
padding: 0 2px;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
2024-08-14 21:24:36 +00:00
canvas {
2025-06-10 04:00:46 +00:00
display: block;
z-index: -3;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
2024-08-14 21:24:36 +00:00
#topbar {
width: 100%;
text-align: center;
2025-06-10 04:00:46 +00:00
border-bottom: 1px solid var(--border);
2024-08-14 21:24:36 +00:00
position: sticky;
2025-06-10 04:00:46 +00:00
top: 0;
background: var(--header-bg);
color: var(--accent);
font-family: var(--font-mono);
font-size: 1.2em;
letter-spacing: 0.05em;
box-shadow: var(--shadow);
animation: slideDown 1.2s cubic-bezier(.68,-0.55,.27,1.55) backwards;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
2024-08-14 21:24:36 +00:00
@keyframes slideDown {
2025-06-10 04:00:46 +00:00
0% { transform: translateY(-50px); opacity: 0; }
100% { transform: translateY(0); opacity: 1; }
}
.button, .btn {
2024-08-14 21:24:36 +00:00
display: inline-block;
2025-06-10 04:00:46 +00:00
padding: 10px 18px;
margin: 0 4px;
border: none;
border-radius: var(--radius);
background: var(--accent);
color: #101820;
font-size: 1em;
font-family: var(--font-main);
font-weight: 600;
cursor: pointer;
transition: background 0.2s, color 0.2s, box-shadow 0.2s;
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.button:hover, .btn:hover {
background: var(--accent-soft);
color: #000;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
.content {
background: var(--bg-content);
color: var(--text-main);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 32px 6vw;
margin: 32px 0;
width: 90vw;
max-width: 900px;
text-align: left;
font-size: 1.1em;
overflow-x: auto;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
.content img {
max-width: 100%;
border-radius: 6px;
box-shadow: 0 1px 8px rgba(0,0,0,0.12);
margin: 16px 0;
display: block;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
h1, h2, h3, h4 {
color: var(--accent);
font-family: var(--font-mono);
font-weight: 700;
margin-top: 1.5em;
margin-bottom: 0.5em;
2024-08-14 21:24:36 +00:00
text-align: center;
2025-06-10 04:00:46 +00:00
letter-spacing: 0.03em;
2024-08-14 21:24:36 +00:00
}
2025-06-10 04:00:46 +00:00
h1 { font-size: 2.2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }
2024-08-14 21:24:36 +00:00
#footer {
2025-06-10 04:00:46 +00:00
color: var(--text-main);
2024-08-14 21:24:36 +00:00
width: 100vw;
2025-06-10 04:00:46 +00:00
font-size: 0.95em;
background: var(--footer-bg);
2024-08-14 21:24:36 +00:00
text-align: center;
2025-06-10 04:00:46 +00:00
padding: 18px 10px 10px 10px;
position: relative;
border-top: 1px solid var(--border);
border-radius: 0 0 var(--radius) var(--radius);
box-shadow: 0 -1px 8px rgba(0,0,0,0.08);
margin-top: auto;
2024-08-14 21:24:36 +00:00
}
#footer a {
2025-06-10 04:00:46 +00:00
color: var(--accent);
font-size: inherit;
text-decoration: underline;
2023-06-21 17:30:48 +00:00
}
2025-06-10 04:00:46 +00:00
#footer a:hover {
color: var(--text-link-hover);
background: var(--accent-soft);
2023-06-21 17:30:48 +00:00
}
header, footer, div.page {
2025-06-10 04:00:46 +00:00
width: 100%;
max-width: 760px;
2023-06-21 17:30:48 +00:00
margin: 0 auto;
2025-06-10 04:00:46 +00:00
background: var(--header-bg);
2023-06-21 17:30:48 +00:00
padding: 20px 30px;
2025-06-10 04:00:46 +00:00
border-radius: var(--radius);
box-shadow: var(--shadow);
2023-06-21 17:30:48 +00:00
}
header h1 {
2025-06-10 04:00:46 +00:00
color: var(--accent);
2023-06-21 17:30:48 +00:00
margin: 0;
2025-06-10 04:00:46 +00:00
font-weight: 700;
font-size: 2.5em;
letter-spacing: 0.04em;
2023-06-21 17:30:48 +00:00
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
2025-06-10 04:00:46 +00:00
display: flex;
gap: 18px;
justify-content: center;
2023-06-21 17:30:48 +00:00
}
header nav ul li {
display: inline;
2025-06-10 04:00:46 +00:00
margin: 0;
2023-06-21 17:30:48 +00:00
padding: 0;
}
div.page {
2025-06-10 04:00:46 +00:00
background: var(--bg-content);
2023-06-21 17:30:48 +00:00
}
2025-06-10 04:00:46 +00:00
2025-04-16 18:41:23 +00:00
#grid-canvas,
#particle-canvas {
2025-06-10 04:00:46 +00:00
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
2025-04-16 18:41:23 +00:00
}
2024-08-14 21:24:36 +00:00
2025-04-16 18:41:23 +00:00
#grid-canvas {
2025-06-10 04:00:46 +00:00
z-index: -20;
2025-04-16 18:41:23 +00:00
}
2024-08-14 21:24:36 +00:00
2025-04-16 18:41:23 +00:00
#particle-canvas {
2025-06-10 04:00:46 +00:00
background-color: transparent;
z-index: 10002;
2025-04-16 18:41:23 +00:00
}
2024-08-14 21:24:36 +00:00
2025-04-16 18:41:23 +00:00
#coords {
position: fixed;
2025-06-10 04:00:46 +00:00
bottom: 16px;
right: 16px;
background: rgba(16, 24, 32, 0.85);
color: var(--accent);
padding: 8px 14px;
border-radius: 6px;
font-family: var(--font-mono);
font-size: 1em;
2025-04-16 18:41:23 +00:00
z-index: 1001;
2025-06-10 04:00:46 +00:00
box-shadow: 0 1px 8px rgba(0,0,0,0.18);
2025-04-16 18:41:23 +00:00
transition: all 0.2s ease;
cursor: crosshair;
user-select: none;
2025-06-10 04:00:46 +00:00
opacity: 0.95;
}
#coords.decrypted {
background: rgba(16, 24, 32, 0.98);
2025-04-16 18:41:23 +00:00
color: #fff;
2025-06-10 04:00:46 +00:00
}