225 lines
5.2 KiB
CSS
225 lines
5.2 KiB
CSS
/* ======================================================
|
|
Execution card — command-line terminal
|
|
Signature accent: amber (distinct from the other cards).
|
|
====================================================== */
|
|
|
|
.card {
|
|
position: relative;
|
|
width: 750px;
|
|
height: 1050px;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
font-family: "Consolas", "Courier New", monospace;
|
|
background: #05060a;
|
|
--accent: #ffb02e;
|
|
--accent-dk: #7a4d00;
|
|
--screen: #f6ecd8;
|
|
--chamfer: 22px;
|
|
}
|
|
|
|
/* cinematic tint: accent top-corner light, cool counter-light, dark bottom for text */
|
|
.tint {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(70% 45% at 100% 0%, var(--accent) 0%, transparent 55%),
|
|
radial-gradient(60% 40% at 0% 8%, rgba(40,150,255,0.22) 0%, transparent 60%),
|
|
linear-gradient(180deg, rgba(3,6,9,0.55) 0%, rgba(3,6,9,0) 22%, rgba(3,6,9,0) 40%, rgba(3,6,9,0.78) 72%, rgba(3,6,9,0.96) 100%);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* ----- Neon HUD outline (shared across card types) ----- */
|
|
.neon {
|
|
position: absolute;
|
|
inset: 13px;
|
|
z-index: 40;
|
|
pointer-events: none;
|
|
border: 3px solid var(--accent);
|
|
clip-path: polygon(
|
|
var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
|
|
100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
|
|
var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer)
|
|
);
|
|
box-shadow: 0 0 16px var(--accent), 0 0 6px var(--accent), inset 0 0 16px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
/* ----- Terminal screen shell ----- */
|
|
.terminal {
|
|
position: absolute;
|
|
inset: 20px;
|
|
box-sizing: border-box;
|
|
border-radius: 16px;
|
|
padding: 0 0 24px;
|
|
color: var(--screen);
|
|
background: radial-gradient(120% 90% at 50% 0%, #14120a 0%, #0a0905 60%, #050403 100%);
|
|
box-shadow:
|
|
inset 0 0 70px rgba(0,0,0,0.7),
|
|
inset 0 0 0 2px rgba(255,176,46,0.08),
|
|
0 0 0 2px rgba(0,0,0,0.6),
|
|
0 10px 24px rgba(0,0,0,0.6);
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
|
|
/* ----- Terminal top bar ----- */
|
|
.term-bar {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
height: 82px;
|
|
padding: 0 20px;
|
|
background: linear-gradient(180deg, rgba(255,176,46,0.10) 0%, rgba(0,0,0,0) 100%);
|
|
border-bottom: 2px solid var(--accent-dk);
|
|
}
|
|
.title {
|
|
flex: 1;
|
|
font-size: 30px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
color: #fff6e6;
|
|
text-shadow: 0 0 12px rgba(255,176,46,0.5), 0 2px 4px #000;
|
|
line-height: 1.02;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.bandwidth-chip {
|
|
flex: none;
|
|
min-width: 92px;
|
|
height: 58px;
|
|
padding: 0 14px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
background: #0a0805;
|
|
border: 3px solid var(--accent);
|
|
box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
|
|
}
|
|
.bandwidth-value {
|
|
font-size: 38px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
text-shadow: 0 2px 3px rgba(0,0,0,0.7);
|
|
}
|
|
.bandwidth-label {
|
|
font-size: 19px;
|
|
font-weight: 700;
|
|
letter-spacing: 2px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* ----- Command line ----- */
|
|
.cmdline {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin: 20px 24px 0 24px;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cmdline .user { color: var(--accent); }
|
|
.cmdline .punc { color: #8a8072; margin: 0 2px; }
|
|
.cmdline .cwd { color: #cbb98f; }
|
|
.cmdline .cmd { color: #fff6e6; margin-left: 10px; }
|
|
|
|
/* ----- Output viewport (art) ----- */
|
|
.viewport {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background: #020202;
|
|
border: 4px solid var(--accent-dk);
|
|
box-shadow: inset 0 0 0 3px rgba(0,0,0,0.6), inset 0 0 0 4px rgba(255,176,46,0.15), 0 0 18px rgba(0,0,0,0.6);
|
|
}
|
|
.art {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
image-rendering: pixelated;
|
|
background-color: #676767;
|
|
background-image: url({{index assets card.image}});
|
|
background-position: center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
/* ----- stdout / description ----- */
|
|
.stdout {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin: 550px 24px 0;
|
|
min-height: 210px;
|
|
padding: 16px 18px;
|
|
border-radius: 10px;
|
|
background: rgba(0,0,0,0.45);
|
|
border: 2px dashed var(--accent-dk);
|
|
}
|
|
.stdout-label {
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
letter-spacing: 2px;
|
|
color: var(--accent);
|
|
}
|
|
.description {
|
|
margin: 8px 0 0;
|
|
font-size: 23px;
|
|
line-height: 1.4;
|
|
color: #fbf3e3;
|
|
}
|
|
.cursor {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 26px;
|
|
margin-top: 6px;
|
|
vertical-align: text-bottom;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 10px var(--accent);
|
|
}
|
|
|
|
/* ----- Status bar footer ----- */
|
|
.statusbar {
|
|
position: absolute;
|
|
left: 24px;
|
|
right: 24px;
|
|
bottom: 18px;
|
|
z-index: 2;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: 2px;
|
|
color: #8a8072;
|
|
}
|
|
.statusbar .target {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--accent);
|
|
}
|
|
.statusbar .target::before {
|
|
content: "";
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 8px var(--accent);
|
|
}
|