637 lines
16 KiB
CSS
637 lines
16 KiB
CSS
/* Fallout Pip-Boy 3000 style — green phosphor CRT, scanlines, terminal chrome. */
|
|
|
|
:root {
|
|
--pb-green: #2eff7b;
|
|
--pb-green-hi: #8fffb0;
|
|
--pb-green-dim: #1c9e52;
|
|
--pb-green-ghost: rgba(46, 255, 123, 0.12);
|
|
--pb-amber: #ffb03a;
|
|
--pb-bg: #031408;
|
|
--pb-bg2: #06230f;
|
|
--pb-panel: rgba(10, 50, 22, 0.55);
|
|
--pb-line: rgba(46, 255, 123, 0.35);
|
|
--pb-line-soft: rgba(46, 255, 123, 0.16);
|
|
--danger: #ff5b4a;
|
|
--glowtext: 0 0 6px rgba(46, 255, 123, 0.8), 0 0 18px rgba(46, 255, 123, 0.35);
|
|
--font: "Cascadia Mono", "Courier New", Consolas, monospace;
|
|
--radius: 4px;
|
|
}
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: var(--font);
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px 12px;
|
|
background:
|
|
radial-gradient(900px 600px at 50% 45%, rgba(20, 90, 45, 0.18), transparent 70%),
|
|
radial-gradient(1200px 800px at 80% 100%, rgba(10, 40, 20, 0.35), transparent 60%),
|
|
#020a05;
|
|
color: var(--pb-green);
|
|
}
|
|
|
|
/* ==================== Pip-Boy casing ==================== */
|
|
|
|
.ff-window {
|
|
width: min(1060px, 100%);
|
|
border-radius: 26px 26px 14px 14px;
|
|
background: linear-gradient(160deg, #1b1f1a, #101310 55%, #070907);
|
|
border: 1px solid #30352e;
|
|
box-shadow:
|
|
0 30px 80px rgba(0, 0, 0, 0.85),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
|
0 0 60px rgba(46, 255, 123, 0.06);
|
|
padding: 12px;
|
|
position: relative;
|
|
}
|
|
/* side casings */
|
|
.ff-window::before,
|
|
.ff-window::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 40px;
|
|
width: 22px;
|
|
height: 140px;
|
|
border-radius: 6px;
|
|
background: linear-gradient(90deg, #262b24, #141714);
|
|
border: 1px solid #383f36;
|
|
}
|
|
.ff-window::before { left: -14px; }
|
|
.ff-window::after { right: -14px; }
|
|
|
|
/* CRT screen bezel wraps everything below the titlebar */
|
|
.screen-bezel {
|
|
border-radius: 12px;
|
|
border: 2px solid #2c322b;
|
|
background: var(--pb-bg);
|
|
overflow: hidden;
|
|
position: relative;
|
|
box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9);
|
|
}
|
|
|
|
/* scanlines + vignette + flicker — pure CSS CRT */
|
|
.crt-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 70;
|
|
background:
|
|
repeating-linear-gradient(180deg,
|
|
rgba(0, 0, 0, 0.22) 0 1px,
|
|
transparent 1px 3px),
|
|
radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
|
|
mix-blend-mode: multiply;
|
|
animation: crt-flicker 4s steps(60) infinite;
|
|
}
|
|
@keyframes crt-flicker {
|
|
0%, 100% { opacity: 0.92; }
|
|
7% { opacity: 0.98; }
|
|
9% { opacity: 0.88; }
|
|
41% { opacity: 0.96; }
|
|
43% { opacity: 0.9; }
|
|
77% { opacity: 0.99; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.crt-layer { animation: none; }
|
|
}
|
|
|
|
/* ==================== titlebar ==================== */
|
|
|
|
.titlebar {
|
|
position: relative;
|
|
height: 34px;
|
|
background: linear-gradient(180deg, #171b16, #0e100d);
|
|
border-bottom: 1px solid var(--pb-line-soft);
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 10px 10px 0 0;
|
|
margin: -12px -12px 0;
|
|
padding: 0 46px 0 18px;
|
|
}
|
|
.titlebar-caption {
|
|
font-size: 11px;
|
|
letter-spacing: 2px;
|
|
color: var(--pb-green-dim);
|
|
text-transform: uppercase;
|
|
user-select: none;
|
|
}
|
|
.titlebar-dots { display: none; }
|
|
.titlebtn {
|
|
position: absolute;
|
|
top: 9px;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 0;
|
|
cursor: default;
|
|
background: #22271f;
|
|
border: 1px solid #3a4137;
|
|
}
|
|
.titlebtn.min { right: 64px; }
|
|
.titlebtn.max { right: 42px; }
|
|
.titlebtn.close { right: 20px; }
|
|
.titlebtn:hover { border-color: var(--pb-green-dim); }
|
|
.titlebtn.close:hover { background: rgba(255, 91, 74, 0.25); border-color: var(--danger); }
|
|
.titlebtn::after {
|
|
content: "";
|
|
width: 6px; height: 6px;
|
|
border-radius: 50%;
|
|
background: #454c43;
|
|
}
|
|
.titlebtn.close::after { background: #63312c; }
|
|
|
|
/* ==================== tabstrip ==================== */
|
|
|
|
.tabbar {
|
|
background: var(--pb-bg2);
|
|
border-bottom: 1px solid var(--pb-line);
|
|
display: flex;
|
|
align-items: stretch;
|
|
padding: 8px 12px 0;
|
|
gap: 6px;
|
|
}
|
|
.tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 30px;
|
|
padding: 0 14px;
|
|
border: 1px solid var(--pb-line-soft);
|
|
border-bottom: none;
|
|
border-radius: var(--radius) var(--radius) 0 0;
|
|
background: rgba(46, 255, 123, 0.04);
|
|
color: var(--pb-green-dim);
|
|
font-size: 12px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
cursor: default;
|
|
position: relative;
|
|
max-width: 300px;
|
|
}
|
|
.tab.active {
|
|
background: var(--pb-panel);
|
|
color: var(--pb-green);
|
|
border-color: var(--pb-line);
|
|
text-shadow: var(--glowtext);
|
|
}
|
|
.tab.active::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0;
|
|
height: 2px;
|
|
background: var(--pb-green);
|
|
box-shadow: 0 0 10px var(--pb-green);
|
|
}
|
|
.tab-icon { font-size: 13px; }
|
|
.tab-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.tab-close { margin-left: 10px; opacity: 0.55; font-size: 11px; }
|
|
.tab-close:hover { opacity: 1; color: var(--danger); }
|
|
.tab.newtab {
|
|
width: 34px;
|
|
justify-content: center;
|
|
font-size: 15px;
|
|
background: none;
|
|
border-style: dashed;
|
|
color: var(--pb-green-dim);
|
|
}
|
|
.tab.newtab:hover { color: var(--pb-green); border-color: var(--pb-line); }
|
|
|
|
/* ==================== nav toolbar / urlbar ==================== */
|
|
|
|
.navtoolbar {
|
|
background: rgba(6, 30, 14, 0.6);
|
|
border-bottom: 1px solid var(--pb-line);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 10px 12px;
|
|
position: relative;
|
|
}
|
|
.nav-btns { display: flex; gap: 4px; }
|
|
.nav-btn {
|
|
width: 30px;
|
|
height: 30px;
|
|
border: 1px solid var(--pb-line-soft);
|
|
border-radius: var(--radius);
|
|
background: rgba(46, 255, 123, 0.05);
|
|
color: var(--pb-green);
|
|
font-size: 14px;
|
|
display: grid;
|
|
place-items: center;
|
|
cursor: pointer;
|
|
}
|
|
.nav-btn:hover {
|
|
border-color: var(--pb-green-dim);
|
|
background: var(--pb-green-ghost);
|
|
text-shadow: var(--glowtext);
|
|
}
|
|
.nav-btn:active { transform: scale(0.93); }
|
|
.nav-btn.fwd { opacity: 0.25; pointer-events: none; transform: scaleX(-1); }
|
|
.nav-btn.reload { font-size: 16px; }
|
|
.nav-btn.active {
|
|
border-color: var(--pb-green);
|
|
background: var(--pb-green-ghost);
|
|
text-shadow: var(--glowtext);
|
|
box-shadow: 0 0 12px rgba(46, 255, 123, 0.35), inset 0 0 8px rgba(46, 255, 123, 0.2);
|
|
}
|
|
.nav-btn svg path { stroke: var(--pb-green); }
|
|
.nav-right { display: flex; gap: 4px; margin-left: auto; }
|
|
|
|
.urlbar-wrap { flex: 1; position: relative; }
|
|
.urlbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
border-radius: var(--radius);
|
|
border: 1px solid var(--pb-line);
|
|
background: rgba(2, 18, 8, 0.85);
|
|
box-shadow: inset 0 0 14px rgba(46, 255, 123, 0.12);
|
|
}
|
|
.urlbar:focus-within {
|
|
border-color: var(--pb-green);
|
|
box-shadow: inset 0 0 14px rgba(46, 255, 123, 0.2), 0 0 16px rgba(46, 255, 123, 0.25);
|
|
}
|
|
.urlbar-icon { color: var(--pb-green-dim); font-size: 12px; }
|
|
.urlbar input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
background: transparent;
|
|
border: none;
|
|
outline: none;
|
|
color: var(--pb-green-hi);
|
|
font-size: 15px;
|
|
font-family: var(--font);
|
|
caret-color: var(--pb-green);
|
|
text-shadow: var(--glowtext);
|
|
}
|
|
.urlbar input::placeholder {
|
|
color: rgba(46, 255, 123, 0.35);
|
|
text-shadow: none;
|
|
font-size: 12px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.urlbar-kbd {
|
|
font-size: 10px;
|
|
color: var(--pb-green-dim);
|
|
border: 1px solid var(--pb-line-soft);
|
|
border-radius: 3px;
|
|
padding: 1px 6px;
|
|
}
|
|
.urlbar:focus-within .urlbar-kbd { display: none; }
|
|
|
|
/* awesome bar dropdown */
|
|
.awesomebar {
|
|
position: absolute;
|
|
top: calc(100% + 4px);
|
|
left: 0; right: 0;
|
|
background: #05190b;
|
|
border: 1px solid var(--pb-green);
|
|
border-radius: var(--radius);
|
|
box-shadow: 0 0 24px rgba(46, 255, 123, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.8);
|
|
z-index: 40;
|
|
overflow: hidden;
|
|
}
|
|
.sugg {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
border-bottom: 1px solid var(--pb-line-soft);
|
|
}
|
|
.sugg:hover { background: var(--pb-green-ghost); }
|
|
.sugg-icon { color: var(--pb-green-dim); width: 16px; text-align: center; }
|
|
.sugg-expr { flex: 1; color: var(--pb-green-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.sugg-res { color: var(--pb-amber); }
|
|
|
|
/* ==================== content ==================== */
|
|
|
|
.content {
|
|
display: flex;
|
|
background:
|
|
radial-gradient(1000px 500px at 50% 0%, rgba(46, 255, 123, 0.05), transparent 65%),
|
|
linear-gradient(180deg, var(--pb-bg2), var(--pb-bg));
|
|
min-height: 440px;
|
|
position: relative;
|
|
}
|
|
|
|
/* background hex/terminal pattern */
|
|
.content::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: 0.05;
|
|
background-image:
|
|
repeating-linear-gradient(60deg, var(--pb-green) 0 1px, transparent 1px 26px),
|
|
repeating-linear-gradient(-60deg, var(--pb-green) 0 1px, transparent 1px 26px);
|
|
}
|
|
|
|
.page {
|
|
flex: 1;
|
|
padding: 20px 24px 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* display — big phosphor readout */
|
|
.display-card {
|
|
background: rgba(3, 20, 8, 0.9);
|
|
border: 1px solid var(--pb-line);
|
|
border-radius: var(--radius);
|
|
padding: 14px 18px 12px;
|
|
box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.85), inset 0 0 12px rgba(46, 255, 123, 0.12);
|
|
position: relative;
|
|
}
|
|
.display-card::before {
|
|
content: "CALCULATIONS";
|
|
position: absolute;
|
|
top: -8px;
|
|
left: 14px;
|
|
padding: 0 8px;
|
|
background: var(--pb-bg);
|
|
font-size: 10px;
|
|
letter-spacing: 3px;
|
|
color: var(--pb-green-dim);
|
|
}
|
|
.display-expr {
|
|
font-size: 13px;
|
|
color: var(--pb-green-dim);
|
|
min-height: 17px;
|
|
text-align: right;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.display-value {
|
|
font-size: 46px;
|
|
font-weight: 700;
|
|
text-align: right;
|
|
letter-spacing: 2px;
|
|
overflow-wrap: anywhere;
|
|
margin-top: 2px;
|
|
color: var(--pb-green);
|
|
text-shadow: 0 0 8px rgba(46, 255, 123, 0.9), 0 0 26px rgba(46, 255, 123, 0.45),
|
|
0 0 60px rgba(46, 255, 123, 0.2);
|
|
}
|
|
.display-value::after {
|
|
content: "_";
|
|
animation: cursor-blink 1.1s steps(1) infinite;
|
|
color: var(--pb-green-hi);
|
|
}
|
|
@keyframes cursor-blink { 50% { opacity: 0; } }
|
|
.display-value.is-err {
|
|
color: var(--danger);
|
|
text-shadow: 0 0 8px rgba(255, 91, 74, 0.8), 0 0 24px rgba(255, 91, 74, 0.35);
|
|
}
|
|
.display-error {
|
|
margin-top: 4px;
|
|
text-align: right;
|
|
color: var(--danger);
|
|
font-size: 13px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.display-value::after { animation: none; }
|
|
}
|
|
|
|
/* keypad */
|
|
.keypad {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 8px;
|
|
}
|
|
.k {
|
|
height: 50px;
|
|
border: 1px solid var(--pb-line-soft);
|
|
border-radius: var(--radius);
|
|
background: linear-gradient(180deg, rgba(46, 255, 123, 0.10), rgba(46, 255, 123, 0.04));
|
|
color: var(--pb-green-hi);
|
|
font-size: 16px;
|
|
font-family: var(--font);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
text-shadow: 0 0 6px rgba(46, 255, 123, 0.5);
|
|
box-shadow: inset 0 1px 0 rgba(46, 255, 123, 0.15), 0 2px 0 rgba(0, 0, 0, 0.6);
|
|
}
|
|
.k:hover {
|
|
background: var(--pb-green-ghost);
|
|
border-color: var(--pb-green-dim);
|
|
box-shadow: 0 0 14px rgba(46, 255, 123, 0.35), inset 0 1px 0 rgba(46, 255, 123, 0.2);
|
|
}
|
|
.k:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }
|
|
.k.num { font-size: 18px; }
|
|
.k.op { color: var(--pb-amber); text-shadow: 0 0 6px rgba(255, 176, 58, 0.6); }
|
|
.k.fn { font-size: 13px; color: var(--pb-green-dim); }
|
|
.k.warn { color: var(--danger); text-shadow: 0 0 6px rgba(255, 91, 74, 0.6); }
|
|
.k.eq {
|
|
background: var(--pb-green);
|
|
border-color: var(--pb-green-hi);
|
|
color: #04150a;
|
|
font-size: 22px;
|
|
text-shadow: none;
|
|
box-shadow: 0 0 20px rgba(46, 255, 123, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
|
|
}
|
|
.k.eq:hover { background: var(--pb-green-hi); }
|
|
|
|
.chipshelp { color: var(--pb-green-dim); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
|
|
|
|
/* ==================== library sidebar ==================== */
|
|
|
|
.library {
|
|
width: 280px;
|
|
flex-shrink: 0;
|
|
background: rgba(4, 22, 10, 0.92);
|
|
border-left: 1px solid var(--pb-line);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.library.hidden { display: none; }
|
|
.lib-header {
|
|
padding: 14px 16px 8px;
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
letter-spacing: 3px;
|
|
text-transform: uppercase;
|
|
color: var(--pb-green);
|
|
text-shadow: var(--glowtext);
|
|
}
|
|
.lib-tabs { display: flex; border-bottom: 1px solid var(--pb-line); }
|
|
.lib-tab {
|
|
flex: 1;
|
|
background: none;
|
|
border: none;
|
|
color: var(--pb-green-dim);
|
|
font-size: 11px;
|
|
font-family: var(--font);
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
padding: 8px 0 10px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
.lib-tab.active { color: var(--pb-green); text-shadow: var(--glowtext); }
|
|
.lib-tab.active::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 22%; right: 22%; bottom: 0;
|
|
height: 2px;
|
|
background: var(--pb-green);
|
|
box-shadow: 0 0 10px var(--pb-green);
|
|
}
|
|
.lib-panel { padding: 4px 0; overflow-y: auto; }
|
|
.history-list { list-style: none; }
|
|
.history-empty { padding: 16px; color: var(--pb-green-dim); font-size: 12px; }
|
|
.history-item {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
padding: 7px 16px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid rgba(46, 255, 123, 0.08);
|
|
}
|
|
.history-item::before { content: "> "; color: var(--pb-green-dim); }
|
|
.history-item:hover { background: var(--pb-green-ghost); }
|
|
.h-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--pb-green-hi);
|
|
}
|
|
.h-res { color: var(--pb-amber); }
|
|
.history-item.bad .h-res { color: var(--danger); }
|
|
.history-item.bad .h-main { opacity: 0.5; }
|
|
|
|
.funcs-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 7px;
|
|
padding: 12px 16px;
|
|
}
|
|
.func {
|
|
background: rgba(46, 255, 123, 0.06);
|
|
border: 1px solid var(--pb-line-soft);
|
|
border-radius: var(--radius);
|
|
color: var(--pb-green-hi);
|
|
font-size: 12px;
|
|
font-family: var(--font);
|
|
padding: 7px 0;
|
|
cursor: pointer;
|
|
}
|
|
.func:hover {
|
|
border-color: var(--pb-green);
|
|
background: var(--pb-green-ghost);
|
|
text-shadow: var(--glowtext);
|
|
}
|
|
.lib-note {
|
|
padding: 4px 16px 14px;
|
|
color: var(--pb-green-dim);
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ==================== statusbar ==================== */
|
|
|
|
.statusbar {
|
|
height: 28px;
|
|
background: rgba(6, 28, 12, 0.9);
|
|
border-top: 1px solid var(--pb-line);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
font-size: 11px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: var(--pb-green-dim);
|
|
}
|
|
.statusbar::before { content: "■"; color: var(--pb-green); margin-right: 8px; animation: cursor-blink 2s steps(1) infinite; }
|
|
|
|
/* ==================== modal ==================== */
|
|
|
|
.modal-veil {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(1, 8, 3, 0.85);
|
|
display: grid;
|
|
place-items: center;
|
|
z-index: 100;
|
|
}
|
|
.modal-veil[hidden] { display: none; }
|
|
.modal {
|
|
width: min(580px, 92vw);
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
background: #041608;
|
|
border: 1px solid var(--pb-green);
|
|
border-radius: var(--radius);
|
|
box-shadow: 0 0 40px rgba(46, 255, 123, 0.35), inset 0 0 30px rgba(0, 0, 0, 0.8);
|
|
color: var(--pb-green-hi);
|
|
font-family: var(--font);
|
|
}
|
|
.modal-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 13px 18px;
|
|
border-bottom: 1px solid var(--pb-line);
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
color: var(--pb-green);
|
|
text-shadow: var(--glowtext);
|
|
}
|
|
.modal-close {
|
|
background: none;
|
|
border: 1px solid var(--pb-line-soft);
|
|
color: var(--pb-green-dim);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
width: 26px; height: 26px;
|
|
border-radius: var(--radius);
|
|
}
|
|
.modal-close:hover { color: var(--danger); border-color: var(--danger); }
|
|
.modal-body { padding: 16px 20px; font-size: 13px; line-height: 1.5; }
|
|
.modal-body h3 {
|
|
margin: 14px 0 6px;
|
|
font-size: 12px;
|
|
letter-spacing: 3px;
|
|
text-transform: uppercase;
|
|
color: var(--pb-amber);
|
|
}
|
|
.modal-body h3:first-child { margin-top: 0; }
|
|
.modal-body h3::before { content: "### "; }
|
|
.modal-body ul { padding-left: 4px; display: flex; flex-direction: column; gap: 5px; list-style: none; }
|
|
.modal-body li::before { content: "> "; color: var(--pb-green-dim); }
|
|
.modal-body code {
|
|
background: rgba(46, 255, 123, 0.1);
|
|
border: 1px solid var(--pb-line-soft);
|
|
padding: 1px 6px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
color: var(--pb-amber);
|
|
}
|
|
|
|
/* ==================== responsive ==================== */
|
|
|
|
@media (max-width: 860px) {
|
|
.content { flex-direction: column; }
|
|
.library { width: auto; border-left: none; border-top: 1px solid var(--pb-line); }
|
|
.keypad { grid-template-columns: repeat(3, 1fr); }
|
|
.display-value { font-size: 34px; }
|
|
}
|