mijn-eerste-project/style-desboard.css

161 lines
2.3 KiB
CSS
Raw Normal View History

2026-12-04 13:56:48 +01:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(135deg, #0f172a, #1e293b);
color: white;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 100%;
max-width: 650px;
padding: 20px;
box-sizing: border-box;
}
.server-card {
background-color: #1e293b;
border: 1px solid #334155;
border-radius: 15px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.badge {
background-color: #334155;
color: #cbd5e1;
padding: 8px 14px;
border-radius: 6px;
font-size: 13px;
font-weight: bold;
}
.status-indicator {
display: flex;
align-items: center;
gap: 8px;
background-color: #263f2c;
color: #22c55e;
font-size: 13px;
font-weight: bold;
letter-spacing: 1px;
border-radius: 30px;
padding: 6px 12px;
}
.pulse-dot {
width: 10px;
height: 10px;
background-color: #22c55e;
border-radius: 20px;
box-shadow: 0 0 10px #22c55e;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.4;
transform: scale(1.3);
}
100% {
opacity: 1;
transform: scale(1);
}
}
.server-title {
font-size: 27px;
color: #f8fafc;
margin-bottom: 10px;
font-weight: bold;
}
.subtitle {
color: #94a3b8;
font-size: 14px;
margin-bottom: 25px;
}
.info-box {
background-color: #0f172a;
border-left: 4px solid #38bdf8;
border-radius: 6px;
padding: 18px;
}
.info-title {
color: #38bdf8;
font-size: 15px;
font-weight: bold;
margin-bottom: 10px;
}
.info-desc {
color: #cbd5e1;
font-size: 14px;
line-height: 1.6;
}
kbd {
background-color: #334155;
color: #ffffff;
padding: 4px 8px;
border-radius: 4px;
border: 1px solid #475569;
font-weight: bold;
}
@media (max-width: 500px) {
.server-card {
padding: 20px;
}
.server-title {
font-size: 21px;
overflow-wrap: anywhere;
}
.card-header {
gap: 15px;
}
}