add server background with working terminal
Build and Push Container / build-and-push (push) Successful in 31s
Build and Push Container / build-and-push (push) Successful in 31s
This commit is contained in:
+617
-48
@@ -31,8 +31,617 @@ body {
|
||||
color: var(--text-primary);
|
||||
line-height: 1.6;
|
||||
overflow-x: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Server Rack Background */
|
||||
.server-rack-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.rack-container {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 100px;
|
||||
transform: translateX(-50%);
|
||||
width: 680px;
|
||||
transition: transform 0.1s linear;
|
||||
opacity: 0.4;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.rack-top-bar {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
background: linear-gradient(180deg, #2a2a30 0%, #222228 100%);
|
||||
border-radius: 4px 4px 0 0;
|
||||
position: relative;
|
||||
margin-bottom: -1px;
|
||||
border: 1px solid #3a3a40;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.rack-top-bar::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
|
||||
}
|
||||
|
||||
.rack-bottom-bar {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
background: linear-gradient(180deg, #222228 0%, #1e1e22 100%);
|
||||
border-radius: 0 0 4px 4px;
|
||||
position: relative;
|
||||
margin-top: -1px;
|
||||
border: 1px solid #3a3a40;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.rack-bottom-bar::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
|
||||
}
|
||||
|
||||
/* Ethernet Switch */
|
||||
.eth-switch-face {
|
||||
flex: 1;
|
||||
height: calc(100% - 4px);
|
||||
margin: 2px 16px;
|
||||
background: linear-gradient(180deg, #1c1c20 0%, #18181c 100%);
|
||||
border: 1px solid #2a2a2e;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 6px 12px;
|
||||
gap: 5px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.eth-port-row {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.eth-port {
|
||||
width: 20px;
|
||||
height: 18px;
|
||||
background: linear-gradient(180deg, #2a2a2e 0%, #1a1a1e 100%);
|
||||
border: 1px solid #3a3a40;
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.eth-port::before {
|
||||
content: '';
|
||||
width: 12px;
|
||||
height: 6px;
|
||||
background: linear-gradient(180deg, #111114 0%, #1a1a1e 100%);
|
||||
border-radius: 1px;
|
||||
border-bottom: 1px solid #2a2a2e;
|
||||
}
|
||||
|
||||
.eth-port-led {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
right: -4px;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.eth-port-led.on {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 0 3px #ffffff;
|
||||
}
|
||||
|
||||
.eth-port-led.blink {
|
||||
animation: blink1 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.eth-port-label {
|
||||
font-size: 0.55rem;
|
||||
color: #4a4a50;
|
||||
font-family: monospace;
|
||||
letter-spacing: 0.05em;
|
||||
margin-top: 3px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.service-label {
|
||||
position: absolute;
|
||||
bottom: 6px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 0.6rem;
|
||||
color: #4a4a50;
|
||||
font-family: monospace;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.05em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Terminal Display */
|
||||
.terminal-display {
|
||||
flex: 1;
|
||||
height: calc(100% - 4px);
|
||||
margin: 2px 16px;
|
||||
background: #0a0a0c;
|
||||
border: 1px solid #2a2a2e;
|
||||
border-radius: 3px;
|
||||
padding: 8px 12px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
cursor: text;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.terminal-display::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: repeating-linear-gradient(
|
||||
0deg,
|
||||
transparent,
|
||||
transparent 2px,
|
||||
rgba(0, 0, 0, 0.15) 2px,
|
||||
rgba(0, 0, 0, 0.15) 4px
|
||||
);
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.terminal-display:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.terminal-content {
|
||||
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
||||
font-size: 0.7rem;
|
||||
color: #22c55e;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
line-height: 1.6;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.terminal-prompt {
|
||||
color: #eab308;
|
||||
}
|
||||
|
||||
.terminal-cursor {
|
||||
display: inline-block;
|
||||
width: 7px;
|
||||
height: 12px;
|
||||
background: #22c55e;
|
||||
vertical-align: text-bottom;
|
||||
animation: cursorBlink 1s step-end infinite;
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
@keyframes cursorBlink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0; }
|
||||
}
|
||||
|
||||
.eth-brand {
|
||||
font-size: 0.65rem;
|
||||
color: #3a3a40;
|
||||
font-family: monospace;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.eth-switch-led {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background: #ffffff;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 5px #ffffff;
|
||||
}
|
||||
|
||||
.rack-unit {
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
background: linear-gradient(180deg, #1a1a1f 0%, #151518 100%);
|
||||
border: 1px solid #2a2a30;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 8px;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.03),
|
||||
0 2px 8px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.rack-unit::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
|
||||
}
|
||||
|
||||
.rail {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 14px;
|
||||
background: linear-gradient(90deg, #2a2a30 0%, #222228 100%);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.rail.left {
|
||||
left: 0;
|
||||
border-radius: 2px 0 0 2px;
|
||||
}
|
||||
|
||||
.rail.right {
|
||||
right: 0;
|
||||
border-radius: 0 2px 2px 0;
|
||||
}
|
||||
|
||||
.rail::before,
|
||||
.rail::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: radial-gradient(circle, #1a1a1e 30%, #2a2a30 100%);
|
||||
border-radius: 50%;
|
||||
border: 1px solid #3a3a40;
|
||||
}
|
||||
|
||||
.rail::before {
|
||||
top: 18px;
|
||||
}
|
||||
|
||||
.rail::after {
|
||||
bottom: 18px;
|
||||
}
|
||||
|
||||
.server-face {
|
||||
flex: 1;
|
||||
height: calc(100% - 4px);
|
||||
margin: 2px 16px;
|
||||
background: linear-gradient(180deg, #1e1e22 0%, #1a1a1e 100%);
|
||||
border: 1px solid #2a2a2e;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.server-drive-bay {
|
||||
width: 64px;
|
||||
height: 36px;
|
||||
background: #151518;
|
||||
border: 1px solid #2a2a2e;
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.server-drive-bay::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 10px;
|
||||
width: 28px;
|
||||
height: 4px;
|
||||
background: #2a2a2e;
|
||||
border-radius: 1px;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
/* Server Grills */
|
||||
.server-grill {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.grill-h {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.grill-h-bar {
|
||||
height: 3px;
|
||||
background: #2a2a2e;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.grill-v {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 5px;
|
||||
height: 100%;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.grill-v-bar {
|
||||
width: 3px;
|
||||
background: #2a2a2e;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
/* Fan Animation */
|
||||
.fan-container {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.fan {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #2a2a2e;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: spin 0.8s linear infinite;
|
||||
background: radial-gradient(circle, #1a1a1e 0%, transparent 70%);
|
||||
}
|
||||
|
||||
.fan-blade {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.fan-blade::before,
|
||||
.fan-blade::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background: #1e1e22;
|
||||
border: 1px solid #2a2a2e;
|
||||
}
|
||||
|
||||
.fan-blade::before {
|
||||
width: 75%;
|
||||
height: 4px;
|
||||
top: 50%;
|
||||
left: 12.5%;
|
||||
transform: translateY(-50%);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.fan-blade::after {
|
||||
width: 4px;
|
||||
height: 75%;
|
||||
left: 50%;
|
||||
top: 12.5%;
|
||||
transform: translateX(-50%);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.fan-center {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background: #2a2a2e;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.fan-slow {
|
||||
animation-duration: 1.5s;
|
||||
}
|
||||
|
||||
.fan-medium {
|
||||
animation-duration: 0.8s;
|
||||
}
|
||||
|
||||
.fan-fast {
|
||||
animation-duration: 0.4s;
|
||||
}
|
||||
|
||||
.led-group {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.led {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 6px currentColor;
|
||||
}
|
||||
|
||||
.led-green {
|
||||
background: #22c55e;
|
||||
color: #22c55e;
|
||||
}
|
||||
|
||||
.led-blue {
|
||||
background: #3b82f6;
|
||||
color: #3b82f6;
|
||||
}
|
||||
|
||||
.led-yellow {
|
||||
background: #eab308;
|
||||
color: #eab308;
|
||||
}
|
||||
|
||||
.led-red {
|
||||
background: #ef4444;
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
.led-blink-1 {
|
||||
animation: blink1 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.led-blink-2 {
|
||||
animation: blink2 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.led-blink-3 {
|
||||
animation: blink3 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.led-blink-4 {
|
||||
animation: blink4 2.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes blink1 {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.2; }
|
||||
}
|
||||
|
||||
@keyframes blink2 {
|
||||
0%, 100% { opacity: 0.3; }
|
||||
50% { opacity: 1; }
|
||||
}
|
||||
|
||||
@keyframes blink3 {
|
||||
0%, 100% { opacity: 1; }
|
||||
30% { opacity: 0.1; }
|
||||
60% { opacity: 0.8; }
|
||||
}
|
||||
|
||||
@keyframes blink4 {
|
||||
0%, 100% { opacity: 0.5; }
|
||||
25% { opacity: 1; }
|
||||
75% { opacity: 0.2; }
|
||||
}
|
||||
|
||||
.rack-mount {
|
||||
position: absolute;
|
||||
left: -8px;
|
||||
width: 8px;
|
||||
height: 100%;
|
||||
background: linear-gradient(180deg, #2a2a30 0%, #222228 100%);
|
||||
border-radius: 2px 0 0 2px;
|
||||
}
|
||||
|
||||
.rack-mount.right {
|
||||
left: auto;
|
||||
right: -8px;
|
||||
border-radius: 0 2px 2px 0;
|
||||
}
|
||||
|
||||
.rack-mount::before,
|
||||
.rack-mount::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: #1a1a1e;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.rack-mount::before {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.rack-mount::after {
|
||||
bottom: 8px;
|
||||
}
|
||||
|
||||
.rack-vertical-bar {
|
||||
position: absolute;
|
||||
left: -8px;
|
||||
width: 16px;
|
||||
height: 100%;
|
||||
background: linear-gradient(180deg, #2a2a30 0%, #222228 50%, #2a2a30 100%);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.rack-vertical-bar.right {
|
||||
left: auto;
|
||||
right: -8px;
|
||||
}
|
||||
|
||||
.rack-vertical-bar::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: repeating-linear-gradient(
|
||||
180deg,
|
||||
transparent,
|
||||
transparent 20px,
|
||||
rgba(0, 0, 0, 0.3) 20px,
|
||||
rgba(0, 0, 0, 0.3) 21px
|
||||
);
|
||||
}
|
||||
|
||||
.rack-label {
|
||||
position: absolute;
|
||||
bottom: 4px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 0.55rem;
|
||||
color: #3a3a40;
|
||||
font-family: monospace;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
::selection {
|
||||
background: var(--accent);
|
||||
color: white;
|
||||
@@ -134,54 +743,6 @@ nav .nav-inner {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hero-bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-bg .orb {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
filter: blur(80px);
|
||||
opacity: 0.4;
|
||||
animation: float 8s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.hero-bg .orb-1 {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
background: var(--accent);
|
||||
top: 10%;
|
||||
left: 15%;
|
||||
animation-delay: 0s;
|
||||
}
|
||||
|
||||
.hero-bg .orb-2 {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
background: #ca8a04;
|
||||
bottom: 15%;
|
||||
right: 15%;
|
||||
animation-delay: -3s;
|
||||
}
|
||||
|
||||
.hero-bg .orb-3 {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: #eab308;
|
||||
top: 50%;
|
||||
right: 30%;
|
||||
animation-delay: -5s;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% { transform: translate(0, 0) scale(1); }
|
||||
33% { transform: translate(30px, -20px) scale(1.05); }
|
||||
66% { transform: translate(-20px, 20px) scale(0.95); }
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
max-width: 800px;
|
||||
text-align: center;
|
||||
@@ -867,6 +1428,9 @@ footer {
|
||||
border-top: 1px solid var(--border);
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
background: var(--bg-primary);
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
footer p {
|
||||
@@ -1010,6 +1574,11 @@ footer p {
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.rack-container {
|
||||
width: 90vw;
|
||||
max-width: 320px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
||||
Reference in New Issue
Block a user