mirror of
https://github.com/ION606/argo-temp.git
synced 2026-05-15 04:16:53 +00:00
94 lines
1.3 KiB
CSS
94 lines
1.3 KiB
CSS
/* soft, cute card ui */
|
|
/* created by ChatGPT because god help me I can't UI */
|
|
:root {
|
|
--bg: #0b132b;
|
|
--panel: #1c2541;
|
|
--ink: #e0e6ff;
|
|
--muted: #9fb3ff;
|
|
--ok: #3ddc97;
|
|
--err: #ff6b6b;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
}
|
|
|
|
header {
|
|
padding: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 28px;
|
|
}
|
|
|
|
header p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
#cards {
|
|
display: grid;
|
|
gap: 16px;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
padding: 16px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.card {
|
|
background: var(--panel);
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
|
|
border: 1px solid rgba(255, 255, 255, .06);
|
|
}
|
|
|
|
.card.ok {
|
|
outline: 2px solid var(--ok);
|
|
}
|
|
|
|
.card.err {
|
|
outline: 2px solid var(--err);
|
|
}
|
|
|
|
.card h2 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.card pre {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: 13px;
|
|
color: #e9f2ff;
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 16px 0 32px;
|
|
}
|
|
|
|
button {
|
|
background: var(--ok);
|
|
color: #002b36;
|
|
border: 0;
|
|
padding: 10px 16px;
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
filter: brightness(.95);
|
|
} |