import kgva site
This commit is contained in:
commit
f7643602cb
103 files changed
+2015
No files matched your search
@@ -0,0 +1,312 @@
|
||||
/* ══════════════════════════════════════════════════════════════
|
||||
custom.css — extends shibui WITHOUT touching the theme.
|
||||
- top bar reads like a terminal prompt: "/ karimgabrielevarano_ ls"
|
||||
- clicking "ls" lists the pages, stacked, inverted on hover
|
||||
- only the work index breaks the narrow column
|
||||
remove this file → original shibui look returns.
|
||||
══════════════════════════════════════════════════════════════ */
|
||||
|
||||
/* ─────────────────────── SHELL PROMPT ─────────────────────── */
|
||||
.prompt {
|
||||
font-family: var(--font-family-mono);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.prompt__user { font-weight: 700; }
|
||||
.prompt__path { color: var(--color-text-muted); }
|
||||
/* breadcrumb segments look like plain prompt text at rest, fill on hover */
|
||||
.prompt__seg {
|
||||
margin-left: 0;
|
||||
border-bottom: none;
|
||||
background: none;
|
||||
color: inherit;
|
||||
}
|
||||
.prompt__seg:hover {
|
||||
background: var(--color-text-primary);
|
||||
color: var(--color-bg-primary);
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* the typeable command — looks like shell text, native caret hidden so our
|
||||
blinking "_" is the cursor */
|
||||
.prompt__input {
|
||||
margin-left: 0.6ch;
|
||||
min-width: 0;
|
||||
font-weight: 700;
|
||||
color: var(--color-text-primary);
|
||||
white-space: pre;
|
||||
outline: none;
|
||||
caret-color: transparent;
|
||||
}
|
||||
|
||||
/* blinking terminal cursor, sits right after the typed text */
|
||||
.caret {
|
||||
font-weight: 700;
|
||||
color: var(--color-text-primary);
|
||||
animation: blink 1.1s steps(1) infinite;
|
||||
}
|
||||
@keyframes blink { 50% { opacity: 0; } }
|
||||
|
||||
/* always-open file menu (the shell's "ls") — only shown on the home page;
|
||||
on subpages it stays in the DOM (hidden) so typed commands still resolve */
|
||||
.menu { margin: var(--spacing-sm) 0 0; }
|
||||
body:not(.home) .menu { display: none; }
|
||||
|
||||
/* easter-egg output line — takes no space until it actually has output */
|
||||
.prompt__out {
|
||||
font-family: var(--font-family-mono);
|
||||
color: var(--color-text-muted);
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.prompt__out:not(:empty) { margin: 0.35rem 0 0; }
|
||||
|
||||
/* ─────────────────────── HOME IMAGE ─────────────────────── */
|
||||
/* sits low enough that opening the ls overlay never moves it */
|
||||
.home .hero__img { margin: 2rem 0 0; text-align: left; }
|
||||
.hero__img img { width: 100%; height: auto; margin: 0; }
|
||||
|
||||
/* ─────────────────── WORK INDEX (ls -l style) ─────────────────── */
|
||||
.tui { font-family: var(--font-family-mono); }
|
||||
.tui__cmd { margin: 0; color: var(--color-text-muted); }
|
||||
.tui__sym { color: var(--color-text-muted); }
|
||||
.tui__total { margin: 0 0 0.6rem; }
|
||||
|
||||
.tui__ls { list-style: none; margin: 0; padding: 0; }
|
||||
.tui__ls li { margin: 0; }
|
||||
.tui__ls a {
|
||||
display: grid;
|
||||
grid-template-columns: 11ch 5ch 1fr;
|
||||
gap: 0 1ch;
|
||||
margin: 0;
|
||||
padding: 0 0.25em;
|
||||
border-bottom: none;
|
||||
color: var(--color-text-primary);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tui__perm,
|
||||
.tui__date { color: var(--color-text-muted); }
|
||||
.tui__ls a:hover,
|
||||
.tui__ls a.is-selected {
|
||||
background: var(--color-text-primary);
|
||||
color: var(--color-bg-primary);
|
||||
}
|
||||
.tui__ls a:hover .tui__perm,
|
||||
.tui__ls a:hover .tui__date,
|
||||
.tui__ls a:hover .tui__name,
|
||||
.tui__ls a.is-selected .tui__perm,
|
||||
.tui__ls a.is-selected .tui__date,
|
||||
.tui__ls a.is-selected .tui__name { color: var(--color-bg-primary); }
|
||||
|
||||
/* preview pane (ranger-style) below the listing */
|
||||
.tui__preview { margin: 1.25rem 0 0; }
|
||||
.tui__preview img {
|
||||
width: 100%;
|
||||
aspect-ratio: 3 / 2;
|
||||
object-fit: cover;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
display: block;
|
||||
transition: opacity 0.25s ease;
|
||||
}
|
||||
|
||||
/* project page: image files (no date column), show full image (contain) */
|
||||
.tui--files .tui__ls a { grid-template-columns: 11ch 1fr; }
|
||||
/* long listings (>8 entries) scroll instead of pushing the preview down */
|
||||
.tui--files .tui__ls {
|
||||
max-height: 12em; /* ~8 rows at line-height 1.5 */
|
||||
overflow-y: auto;
|
||||
}
|
||||
.tui--files .tui__preview img {
|
||||
aspect-ratio: auto; /* keep each image's own ratio — no letterboxing */
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
max-height: 80vh;
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
background: none;
|
||||
}
|
||||
/* info.md text preview */
|
||||
.tui__text { font-size: var(--font-size-base); text-align: left; }
|
||||
.tui__text p { text-align: left; }
|
||||
.tui__text > :first-child { margin-top: 0; }
|
||||
.tui__text > :last-child { margin-bottom: 0; }
|
||||
|
||||
/* prev/next as shell "cd" commands — same vocabulary as the rest of the site */
|
||||
.proj-nav {
|
||||
font-family: var(--font-family-mono);
|
||||
margin: 1.5rem 0 0;
|
||||
display: flex;
|
||||
gap: 1.5ch;
|
||||
}
|
||||
.proj-nav a[rel="next"] { margin-left: auto; } /* → always pinned right */
|
||||
.proj-nav a {
|
||||
border-bottom: none;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
.proj-nav a:hover {
|
||||
background: var(--color-text-primary);
|
||||
color: var(--color-bg-primary);
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* studies path → clickable taxonomy filters, but indistinguishable from plain
|
||||
text (no underline, no hover, inherits the surrounding colour) */
|
||||
.proj-path__seg,
|
||||
.proj-path__seg:hover {
|
||||
margin-left: 0;
|
||||
border-bottom: none;
|
||||
background: none;
|
||||
color: inherit;
|
||||
}
|
||||
.proj-path__seg--last { font-weight: 700; }
|
||||
|
||||
/* secret `doom` — a small window floating over the site, sized to the 4:3 game */
|
||||
.doom-window {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: min(92vw, 640px);
|
||||
z-index: 9999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #000;
|
||||
border: 1px solid var(--color-text-primary);
|
||||
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
.doom-window__bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0.25rem 0.25rem 0.25rem 0.6rem;
|
||||
font-family: var(--font-family-mono);
|
||||
font-size: var(--font-size-small);
|
||||
color: #fff;
|
||||
background: #000;
|
||||
cursor: move;
|
||||
user-select: none;
|
||||
}
|
||||
.doom-window__close {
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
background: none;
|
||||
border: none;
|
||||
font: inherit;
|
||||
line-height: 1;
|
||||
padding: 0 0.6ch;
|
||||
}
|
||||
.doom-window__close:hover { color: #000; background: #fff; }
|
||||
.doom-window iframe {
|
||||
width: 100%;
|
||||
aspect-ratio: 4 / 3;
|
||||
height: auto;
|
||||
border: 0;
|
||||
background: #000;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* about: terminal-style metadata / contact list */
|
||||
.meta {
|
||||
display: grid;
|
||||
grid-template-columns: max-content 1fr;
|
||||
column-gap: 1.5ch;
|
||||
row-gap: 0.15rem;
|
||||
font-family: var(--font-family-mono);
|
||||
margin: var(--spacing-base) 0 0;
|
||||
}
|
||||
.meta dt { color: var(--color-text-muted); }
|
||||
.meta dd { margin: 0; }
|
||||
.meta a { margin-left: 0; }
|
||||
|
||||
/* `dark` / `light` theme toggle — overrides the theme's colour variables */
|
||||
html.dark {
|
||||
color-scheme: dark;
|
||||
--color-bg-primary: hsl(0 0% 8%);
|
||||
--color-bg-secondary: hsl(0 0% 12%);
|
||||
--color-border: hsl(0 0% 22%);
|
||||
--color-selection-bg: hsl(0 0% 32%);
|
||||
--color-text-primary: hsl(0 0% 92%);
|
||||
--color-text-muted: hsl(0 0% 58%);
|
||||
--color-text-code: hsl(0 0% 78%);
|
||||
}
|
||||
|
||||
/* `sl` — a steam locomotive that rolls across the screen */
|
||||
.sl {
|
||||
position: fixed;
|
||||
top: 38%;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
z-index: 9998;
|
||||
white-space: pre;
|
||||
font-family: var(--font-family-mono);
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
color: var(--color-text-primary);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* boot splash — systemd/Arch-style log, but in the site's own look:
|
||||
light background, same mono font, constrained to the site column width */
|
||||
#boot { display: none; }
|
||||
html.booting #boot {
|
||||
display: block;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 10000;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: none;
|
||||
padding: 0.8rem 0;
|
||||
background: var(--color-bg-primary);
|
||||
cursor: none;
|
||||
}
|
||||
html.booting #boot::-webkit-scrollbar { display: none; }
|
||||
.boot__log {
|
||||
width: 100%;
|
||||
max-width: var(--container-width);
|
||||
margin: 0 auto;
|
||||
padding: 0 1.5rem;
|
||||
border: 0;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
font-family: var(--font-family-mono);
|
||||
font-size: var(--font-size-small);
|
||||
line-height: 1.6;
|
||||
color: var(--color-text-primary);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
.boot__line { white-space: pre-wrap; }
|
||||
.boot__ok { font-weight: 700; }
|
||||
.boot__dim { color: var(--color-text-muted); }
|
||||
|
||||
/* text isn't selectable anywhere — except the command line, which you type in */
|
||||
body {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.prompt__input {
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
/* all images always in colour (selection drives what's shown, not hover) */
|
||||
img { filter: none; }
|
||||
|
||||
/* make the [hidden] attribute win over .tui__preview img { display:block } */
|
||||
[hidden] { display: none !important; }
|
||||
.tui__status {
|
||||
font-family: var(--font-family-mono);
|
||||
font-size: var(--font-size-small);
|
||||
color: var(--color-text-muted);
|
||||
margin-top: 0.4rem;
|
||||
}
|
||||
/* frozen/locked preview indicator */
|
||||
.filebrowser.is-frozen .tui__status { color: var(--color-text-primary); }
|
||||
.filebrowser.is-frozen .tui__status::after { content: " ● locked"; }
|
||||
@@ -0,0 +1,3 @@
|
||||
@media(pointer:fine){*{cursor:none!important}}
|
||||
|
||||
@font-face{font-family:iosevka curly slab;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/iosevka-curly-slab-400.woff2)format('woff2')}@font-face{font-family:iosevka curly slab;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/iosevka-curly-slab-700.woff2)format('woff2')}:root{--spacing-base:1.5em;--font-family-mono:'Iosevka Curly Slab', ui-monospace, monospace;--font-family-sans:'Iosevka Curly Slab', ui-monospace, monospace;--font-size-base:1em;--font-size-small:0.9em;--font-size-code:0.95em;--spacing-xs:calc(var(--spacing-base) * 0.25);--spacing-sm:calc(var(--spacing-base) * 0.5);--spacing-md:var(--spacing-base);--spacing-lg:calc(var(--spacing-base) * 2);--bg-h:0;--bg-s:0%;--bg-l:99%;--color-bg-primary:hsl(var(--bg-h) var(--bg-s) var(--bg-l));--color-bg-secondary:hsl(var(--bg-h) var(--bg-s) calc(var(--bg-l) - 2%));--color-border:hsl(var(--bg-h) var(--bg-s) calc(var(--bg-l) - 6%));--color-selection-bg:hsl(var(--bg-h) var(--bg-s) calc(var(--bg-l) - 13%));--color-text-primary:hsl(var(--bg-h) var(--bg-s) 8%);--color-text-muted:hsl(var(--bg-h) var(--bg-s) 50%);--color-text-code:hsl(var(--bg-h) var(--bg-s) 30%);--container-width:34rem;--pre-border-radius:0.75rem;--inline-border-radius:0.375rem;--gap-base:1em;--gap-small:0.5rem;--breakpoint-mobile:600px;color-scheme:light}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.list-unstyled{list-style:none;margin-left:0}.text-muted{color:var(--color-text-muted)}.no-underline{text-decoration:none;border-bottom:none}::selection{background:var(--color-selection-bg);color:var(--color-text-primary)}.skip-link{position:absolute;top:-100%;left:0;padding:var(--spacing-sm)var(--spacing-md);background:var(--color-bg-primary);border:1px solid var(--color-border);z-index:1000;opacity:0;transition:opacity .2s ease-in-out}.skip-link:focus{position:fixed;top:var(--spacing-sm);left:var(--spacing-sm);opacity:1}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--color-text-primary);outline-offset:2px}*{margin:0;padding:0;font:inherit;color:var(--color-text-primary);box-sizing:border-box}ul{list-style-type:disc;margin-left:1.5rem}ol{list-style-type:decimal;margin-left:1.5rem}html{font-size:90%;margin:0 0 0 calc(100vw - 100%);-webkit-text-size-adjust:100%;height:100%}body{font:14px/var(--spacing-base)var(--font-family-sans);background:var(--color-bg-primary);min-height:100%;display:grid;grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,var(--container-width));justify-content:center;padding:var(--spacing-lg);gap:var(--spacing-lg)}h1,h2,h3,h4,h5,.time,time,footer{font-family:var(--font-family-mono)}a{display:inline-block;margin-left:-.16666em;text-decoration:none;border-bottom:1px dotted;white-space:pre-wrap;word-wrap:break-word}a:hover{border-bottom:1px solid}p,pre{margin:var(--spacing-base)0}h1,h2,h3,h4,h5{margin:var(--spacing-base)0;font-weight:700}h2{counter-increment:h2;counter-reset:h3}h3{counter-increment:h3;counter-reset:h4}h4{counter-increment:h4;counter-reset:h5}h5{counter-increment:h5}h2::before{content:counter(h2)". "}h3::before{content:counter(h2)"." counter(h3)". "}h4::before{content:counter(h2)"." counter(h3)"." counter(h4)". "}h5::before{content:counter(h2)"." counter(h3)"." counter(h4)"." counter(h5)". "}time{color:var(--color-text-muted)}footer{padding:var(--spacing-sm)0;text-align:center}footer p{margin:.25em 0}pre{border:1px solid var(--color-border);padding:var(--spacing-sm)var(--spacing-md);border-radius:var(--pre-border-radius);white-space:pre-wrap;word-wrap:break-word;font-family:var(--font-family-mono);font-size:var(--font-size-code);line-height:1.6;color:var(--color-text-code);overflow-x:auto;box-shadow:0 1px 2px 0 var(--color-border)}pre code{background:0 0;border:none;padding:0;font-size:inherit;color:inherit}p>code,li>code,h1>code,h2>code,h3>code,h4>code,h5>code{background:var(--color-bg-secondary);border:1px solid var(--color-border);border-radius:var(--inline-border-radius);padding:.2em .4em;font-family:var(--font-family-mono);font-size:var(--font-size-code);color:var(--color-text-code);white-space:pre-wrap;word-wrap:break-word}.terms-list{padding-bottom:var(--spacing-base)}.terms-list ul{list-style-type:none;margin-left:0}.terms-list ul li{display:inline-block;font-style:italic;font-size:var(--font-size-small);color:var(--color-text-muted);padding:0 3px}.path-nav{font-family:var(--font-family-mono);padding:var(--spacing-base)0;white-space:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;width:100%}.path-nav::-webkit-scrollbar{display:none}.path-nav ol{display:flex;flex-wrap:nowrap;list-style:none;margin:0;padding:0}.path-nav li{display:flex;align-items:center;color:var(--color-text-muted);flex-shrink:0;max-width:200px}.path-nav li.current{max-width:none}.path-nav li a{text-decoration:none;border-bottom:none;padding:0 .25em;overfloLine truncated
|
||||
Reference in new issue
Block a user