612 lines
16 KiB
CSS
612 lines
16 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700&family=Syne:wght@400;800&family=JetBrains+Mono:wght@100;800&display=swap');
|
|
|
|
:root {
|
|
--bg: #050505;
|
|
--fg: #F4F0EA;
|
|
--accent: #00FFCC;
|
|
--blood: #FF0055;
|
|
--font-display: 'Syne', sans-serif;
|
|
--font-text: 'Space Grotesk', sans-serif;
|
|
--font-code: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
html {
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: var(--font-text);
|
|
scroll-behavior: smooth;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
background-image:
|
|
radial-gradient(circle at 50% 50%, rgba(0, 255, 204, 0.05) 0%, transparent 50%),
|
|
linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.03) 75%, rgba(255, 255, 255, 0.03) 76%, transparent 77%, transparent),
|
|
linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.03) 75%, rgba(255, 255, 255, 0.03) 76%, transparent 77%, transparent);
|
|
background-size: 100vw 100vh, 50px 50px, 50px 50px;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--accent);
|
|
color: var(--bg);
|
|
}
|
|
|
|
/* --- THE ANTI-LAYOUT --- */
|
|
|
|
.layout {
|
|
display: block !important; /* Destroy the grid */
|
|
padding: 5vw;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed !important;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw !important;
|
|
height: 100vh !important;
|
|
pointer-events: none; /* Let clicks pass through to main content */
|
|
z-index: 9000;
|
|
display: flex !important;
|
|
flex-direction: row !important;
|
|
justify-content: space-between;
|
|
padding: 2vw !important;
|
|
mix-blend-mode: difference;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.sidebar-header {
|
|
pointer-events: auto;
|
|
writing-mode: vertical-rl;
|
|
transform: rotate(180deg);
|
|
border: none !important;
|
|
}
|
|
|
|
.logo {
|
|
font-family: var(--font-display);
|
|
font-size: 5vw !important;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
color: #FFF !important;
|
|
text-decoration: none;
|
|
line-height: 0.8;
|
|
white-space: nowrap;
|
|
}
|
|
.logo-dot { display: none; } /* Kill the dot */
|
|
|
|
.sidebar-search {
|
|
position: fixed;
|
|
bottom: 2vw;
|
|
left: 2vw;
|
|
pointer-events: auto;
|
|
width: 40vw;
|
|
mix-blend-mode: normal;
|
|
z-index: 9001;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
border-bottom: 2px solid var(--fg) !important;
|
|
color: var(--accent) !important;
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.5vw !important;
|
|
padding: 10px 0 !important;
|
|
outline: none;
|
|
border-radius: 0 !important;
|
|
}
|
|
.search-input:focus {
|
|
border-bottom-color: var(--accent) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
pointer-events: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 1vw;
|
|
}
|
|
|
|
.nav-domain, .nav-link {
|
|
font-family: var(--font-display);
|
|
font-size: 2vw !important;
|
|
font-weight: 800 !important;
|
|
text-transform: uppercase;
|
|
color: transparent !important;
|
|
-webkit-text-stroke: 1px rgba(255,255,255,0.5);
|
|
text-decoration: none;
|
|
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.nav-domain:hover, .nav-link:hover {
|
|
color: var(--accent) !important;
|
|
-webkit-text-stroke: 0px;
|
|
transform: translateX(-20px) scale(1.2) !important;
|
|
background: transparent !important;
|
|
}
|
|
.nav-separator { display: none; }
|
|
|
|
/* --- MAIN CONTENT AS AN EXHIBITION --- */
|
|
|
|
.main {
|
|
position: relative;
|
|
z-index: 10;
|
|
margin-left: 15vw !important;
|
|
margin-right: 25vw !important;
|
|
margin-top: 10vh;
|
|
padding-bottom: 20vh;
|
|
border-left: none !important;
|
|
max-width: none !important;
|
|
}
|
|
|
|
/* Destroying typical headers */
|
|
h1 {
|
|
font-family: var(--font-display) !important;
|
|
font-size: 8vw !important;
|
|
line-height: 0.8 !important;
|
|
font-weight: 800 !important;
|
|
text-transform: uppercase;
|
|
margin-left: -10vw !important;
|
|
margin-bottom: 4rem !important;
|
|
word-wrap: break-word;
|
|
color: var(--fg) !important;
|
|
text-shadow: 4px 4px 0px var(--accent), -4px -4px 0px var(--blood);
|
|
}
|
|
h1::before { display: none !important; }
|
|
|
|
h2 {
|
|
font-family: var(--font-display) !important;
|
|
font-size: 4vw !important;
|
|
font-weight: 800 !important;
|
|
text-transform: uppercase;
|
|
background: var(--fg) !important;
|
|
color: var(--bg) !important;
|
|
display: inline-block !important;
|
|
padding: 10px 20px !important;
|
|
transform: rotate(-2deg) !important;
|
|
margin: 6rem 0 2rem -2vw !important;
|
|
border: none !important;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 2vw !important;
|
|
font-family: var(--font-code) !important;
|
|
color: var(--accent) !important;
|
|
border-top: 1px dashed var(--accent) !important;
|
|
padding-top: 1rem !important;
|
|
}
|
|
|
|
/* Links */
|
|
a {
|
|
color: var(--fg) !important;
|
|
text-decoration: none;
|
|
box-shadow: inset 0 -2px 0 var(--accent);
|
|
transition: box-shadow 0.3s, color 0.3s;
|
|
border: none !important;
|
|
}
|
|
a:hover {
|
|
box-shadow: inset 0 -50px 0 var(--accent);
|
|
color: var(--bg) !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
/* Text */
|
|
.page-content p {
|
|
font-size: 1.5rem !important;
|
|
line-height: 1.6 !important;
|
|
font-weight: 300 !important;
|
|
max-width: 800px;
|
|
margin-bottom: 2rem !important;
|
|
}
|
|
|
|
.page-content ul, .page-content ol {
|
|
font-size: 1.5rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 2rem;
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
.page-content li {
|
|
position: relative;
|
|
padding-left: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.page-content li::marker { content: none !important; }
|
|
.page-content li::before {
|
|
content: '►';
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--accent);
|
|
font-family: var(--font-code);
|
|
}
|
|
|
|
/* Brutalist code blocks */
|
|
.page-content pre {
|
|
background: var(--fg) !important;
|
|
color: var(--bg) !important;
|
|
padding: 2rem !important;
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.1rem !important;
|
|
overflow-x: auto;
|
|
box-shadow: 10px 10px 0 var(--accent) !important;
|
|
transform: rotate(1deg);
|
|
transition: transform 0.2s;
|
|
margin: 3rem 0 !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.page-content pre:hover {
|
|
transform: rotate(0deg);
|
|
}
|
|
.page-content code {
|
|
font-family: var(--font-code) !important;
|
|
color: var(--bg) !important;
|
|
}
|
|
.page-content p code, .page-content li code {
|
|
background: rgba(255,255,255,0.1) !important;
|
|
padding: 2px 6px !important;
|
|
color: var(--accent) !important;
|
|
border: none !important;
|
|
}
|
|
|
|
/* Images */
|
|
.page-content img {
|
|
max-width: 100%;
|
|
filter: grayscale(100%) contrast(1.2) !important;
|
|
mix-blend-mode: luminosity !important;
|
|
transition: all 0.5s !important;
|
|
border: 1px solid rgba(255,255,255,0.2) !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.page-content img:hover {
|
|
filter: grayscale(0%) contrast(1) !important;
|
|
mix-blend-mode: normal !important;
|
|
}
|
|
|
|
/* Blockquote */
|
|
.page-content blockquote {
|
|
border: none !important;
|
|
font-size: 2rem !important;
|
|
font-family: var(--font-display) !important;
|
|
font-style: italic;
|
|
color: var(--accent) !important;
|
|
margin: 4rem 0 !important;
|
|
padding: 0 !important;
|
|
padding-left: 4rem !important;
|
|
position: relative;
|
|
background: transparent !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.page-content blockquote::before {
|
|
content: '"';
|
|
position: absolute;
|
|
left: -1rem;
|
|
top: -3rem;
|
|
font-size: 8rem;
|
|
color: rgba(0, 255, 204, 0.2);
|
|
font-family: var(--font-display);
|
|
}
|
|
|
|
/* Tables */
|
|
.page-content table {
|
|
width: 100%;
|
|
border-collapse: collapse !important;
|
|
margin: 3rem 0 !important;
|
|
font-family: var(--font-code) !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.page-content th, .page-content td {
|
|
padding: 1.5rem !important;
|
|
border: 1px solid rgba(255,255,255,0.1) !important;
|
|
text-align: left;
|
|
}
|
|
.page-content th {
|
|
background: var(--fg) !important;
|
|
color: var(--bg) !important;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* --- THE HOME DOMAINS (DASHBOARD GRID) --- */
|
|
.domain-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
|
|
gap: 3vw !important;
|
|
margin-top: 5vh;
|
|
}
|
|
.domain-card {
|
|
border: 1px solid rgba(255,255,255,0.2) !important;
|
|
padding: 3rem !important;
|
|
display: flex !important;
|
|
flex-direction: column;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: transparent !important;
|
|
transition: border-color 0.3s !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.domain-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background: var(--fg);
|
|
transform: scaleY(0);
|
|
transform-origin: bottom;
|
|
transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
|
|
z-index: -1;
|
|
}
|
|
.domain-card:hover {
|
|
border-color: var(--fg) !important;
|
|
transform: none !important;
|
|
}
|
|
.domain-card:hover::before {
|
|
transform: scaleY(1);
|
|
}
|
|
.domain-card:hover * {
|
|
color: var(--bg) !important;
|
|
}
|
|
|
|
.domain-num {
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.5rem !important;
|
|
color: var(--accent) !important;
|
|
margin-bottom: 1rem !important;
|
|
background: transparent !important;
|
|
padding: 0 !important;
|
|
}
|
|
.domain-name {
|
|
font-family: var(--font-display) !important;
|
|
font-size: 3rem !important;
|
|
font-weight: 800 !important;
|
|
text-transform: uppercase;
|
|
margin-bottom: 1rem !important;
|
|
line-height: 1 !important;
|
|
color: var(--fg) !important;
|
|
}
|
|
.domain-desc {
|
|
font-size: 1.2rem !important;
|
|
color: rgba(255,255,255,0.6) !important;
|
|
}
|
|
|
|
/* --- DIRECTORY LISTING --- */
|
|
.dir-listing {
|
|
margin: 4rem 0 !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.dir-header {
|
|
display: none !important; /* Hide standard table headers for files */
|
|
}
|
|
.dir-entry {
|
|
display: flex !important;
|
|
align-items: center;
|
|
padding: 1rem !important;
|
|
border-bottom: 1px solid rgba(255,255,255,0.1) !important;
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.2rem !important;
|
|
transition: padding-left 0.3s, background 0.3s !important;
|
|
background: transparent !important;
|
|
}
|
|
.dir-entry:hover {
|
|
padding-left: 2rem !important;
|
|
background: rgba(0, 255, 204, 0.1) !important;
|
|
}
|
|
.dir-entry > * {
|
|
margin-right: 2rem;
|
|
}
|
|
.dir-folder { color: var(--accent) !important; text-transform: uppercase; font-weight: bold; font-family: var(--font-code) !important; }
|
|
.dir-file { color: var(--fg) !important; font-family: var(--font-code) !important;}
|
|
.dir-col-size, .dir-col-date { color: rgba(255,255,255,0.4) !important; font-size: 1rem !important; }
|
|
|
|
/* --- COMMAND PALETTE --- */
|
|
.cmd-overlay {
|
|
background: rgba(5,5,5,0.9) !important;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
.cmd-palette {
|
|
background: var(--bg) !important;
|
|
border: 2px solid var(--accent) !important;
|
|
box-shadow: 20px 20px 0 var(--fg) !important;
|
|
border-radius: 0 !important;
|
|
top: 20% !important;
|
|
}
|
|
.cmd-input {
|
|
font-family: var(--font-display) !important;
|
|
font-size: 3rem !important;
|
|
text-transform: uppercase;
|
|
color: var(--accent) !important;
|
|
padding: 2rem !important;
|
|
border-bottom: 2px dashed rgba(255,255,255,0.2) !important;
|
|
}
|
|
.cmd-result {
|
|
padding: 1.5rem 2rem !important;
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.2rem !important;
|
|
border-bottom: 1px solid rgba(255,255,255,0.1) !important;
|
|
}
|
|
.cmd-result.active, .cmd-result:hover {
|
|
background: var(--accent) !important;
|
|
color: var(--bg) !important;
|
|
border-left: none !important;
|
|
}
|
|
.cmd-result.active *, .cmd-result:hover * {
|
|
color: var(--bg) !important;
|
|
}
|
|
|
|
/* --- MINIMAP MUTATION --- */
|
|
.minimap {
|
|
right: 0 !important;
|
|
top: 0 !important;
|
|
width: 5vw !important;
|
|
height: 100vh !important;
|
|
border: none !important;
|
|
background: repeating-linear-gradient(
|
|
0deg,
|
|
transparent,
|
|
transparent 10px,
|
|
rgba(255,255,255,0.05) 10px,
|
|
rgba(255,255,255,0.05) 20px
|
|
) !important;
|
|
border-left: 1px solid rgba(255,255,255,0.1) !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.minimap-viewport {
|
|
background: var(--accent) !important;
|
|
opacity: 0.3 !important;
|
|
border: none !important;
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
/* --- BUTTONS --- */
|
|
button, .btn-search, .btn-save, .btn-edit, .btn-cancel, .toolbar-btn {
|
|
background: transparent !important;
|
|
color: var(--accent) !important;
|
|
border: 1px solid var(--accent) !important;
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1rem !important;
|
|
text-transform: uppercase;
|
|
padding: 1rem 2rem !important;
|
|
cursor: pointer;
|
|
transition: all 0.3s !important;
|
|
box-shadow: 4px 4px 0 rgba(0, 255, 204, 0.3) !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
button:hover, .btn-search:hover, .btn-save:hover, .btn-edit:hover, .toolbar-btn:hover {
|
|
background: var(--accent) !important;
|
|
color: var(--bg) !important;
|
|
box-shadow: 0px 0px 0 transparent !important;
|
|
transform: translate(4px, 4px) !important;
|
|
}
|
|
|
|
/* --- EDIT TEXTAREA --- */
|
|
.edit-textarea {
|
|
background: transparent !important;
|
|
border: 1px dashed rgba(255,255,255,0.3) !important;
|
|
color: var(--accent) !important;
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.2rem !important;
|
|
padding: 2rem !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.edit-textarea:focus {
|
|
border-style: solid !important;
|
|
border-color: var(--accent) !important;
|
|
box-shadow: inset 0 0 50px rgba(0, 255, 204, 0.1) !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
/* --- BREADCRUMBS & META --- */
|
|
.breadcrumb {
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1rem !important;
|
|
text-transform: uppercase;
|
|
color: rgba(255,255,255,0.5) !important;
|
|
margin-bottom: 2rem !important;
|
|
}
|
|
.breadcrumb a {
|
|
box-shadow: none !important;
|
|
border-bottom: 1px solid rgba(255,255,255,0.3) !important;
|
|
}
|
|
|
|
.page-meta {
|
|
font-family: var(--font-code) !important;
|
|
border-top: 1px solid rgba(255,255,255,0.1) !important;
|
|
border-bottom: 1px solid rgba(255,255,255,0.1) !important;
|
|
padding: 1rem 0 !important;
|
|
margin-bottom: 4rem !important;
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
|
|
/* Scrolling ticker effect for something? Let's add a fixed ticker at the bottom */
|
|
.scroll-progress {
|
|
top: auto !important;
|
|
bottom: 0 !important;
|
|
height: 1vh !important;
|
|
background: var(--blood) !important;
|
|
box-shadow: 0 0 20px var(--blood) !important;
|
|
}
|
|
|
|
/* Hide some mobile things since this is an art piece */
|
|
.sidebar-toggle { display: none !important; }
|
|
|
|
/* Subtitle ascii art */
|
|
.ascii-art {
|
|
font-size: 0.8rem !important;
|
|
color: var(--blood) !important;
|
|
line-height: 1.1 !important;
|
|
text-shadow: 2px 2px 0px rgba(255,0,85,0.3) !important;
|
|
font-family: var(--font-code) !important;
|
|
}
|
|
|
|
.subtitle {
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.5vw !important;
|
|
color: var(--accent) !important;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Table of contents floating madness */
|
|
.toc {
|
|
position: fixed !important;
|
|
left: 2vw !important;
|
|
top: 50vh !important;
|
|
width: 12vw !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
border-left: 2px solid var(--accent) !important;
|
|
border-radius: 0 !important;
|
|
padding: 0 0 0 1rem !important;
|
|
}
|
|
.toc-title { color: var(--fg) !important; font-family: var(--font-code) !important; border: none !important;}
|
|
.toc a { font-family: var(--font-code) !important; font-size: 0.9rem !important; text-transform: uppercase; box-shadow: none !important; }
|
|
.toc a.toc-active { color: var(--accent) !important; font-weight: bold !important; border: none !important; margin: 0 !important; padding-left: 0 !important;}
|
|
.toc a:hover { color: var(--blood) !important; background: transparent !important; }
|
|
|
|
/* Let's make the search suggestions massive */
|
|
.search-suggestions {
|
|
bottom: 100% !important;
|
|
top: auto !important;
|
|
background: var(--bg) !important;
|
|
border: 1px solid var(--accent) !important;
|
|
box-shadow: 10px -10px 0 var(--fg) !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
.suggestion {
|
|
font-family: var(--font-code) !important;
|
|
font-size: 1.2rem !important;
|
|
padding: 1rem !important;
|
|
border-bottom: 1px solid rgba(255,255,255,0.1) !important;
|
|
}
|
|
.suggestion:hover {
|
|
background: var(--accent) !important;
|
|
}
|
|
.suggestion:hover * {
|
|
color: var(--bg) !important;
|
|
}
|
|
|
|
/* Misc overrides */
|
|
.transclusion {
|
|
background: transparent !important;
|
|
border: 1px solid var(--accent) !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: 10px 10px 0 var(--blood) !important;
|
|
}
|
|
.dash-stat {
|
|
background: transparent !important;
|
|
border: 1px solid rgba(255,255,255,0.2) !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.dash-stat-num {
|
|
font-family: var(--font-display) !important;
|
|
color: var(--accent) !important;
|
|
}
|