You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
202 lines
3.1 KiB
CSS
202 lines
3.1 KiB
CSS
:root {
|
|
--bg: #f4f6f8;
|
|
--card: #ffffff;
|
|
--text: #101418;
|
|
--muted: #5b6872;
|
|
--line: #dbe2e8;
|
|
--accent: #0e6e6b;
|
|
--accent-soft: #d9f2f1;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: "Segoe UI", "Noto Sans", sans-serif;
|
|
color: var(--text);
|
|
background: radial-gradient(circle at 20% 20%, #eef7ff 0%, var(--bg) 45%),
|
|
linear-gradient(180deg, #f8fbff, #f4f6f8);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
width: min(1100px, 94vw);
|
|
margin: 32px auto;
|
|
display: grid;
|
|
gap: 18px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.card {
|
|
background: color-mix(in oklab, var(--card), transparent 8%);
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
padding: 18px;
|
|
box-shadow: 0 12px 30px rgba(16, 20, 24, 0.06);
|
|
animation: rise 450ms ease both;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 6px 0;
|
|
font-size: clamp(1.2rem, 3vw, 1.9rem);
|
|
}
|
|
|
|
.kicker {
|
|
margin: 0;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
color: var(--accent);
|
|
font-weight: 700;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.hero-actions,
|
|
.editor-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.btn {
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
color: var(--text);
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
transition: transform 150ms ease, background-color 150ms ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: #fff;
|
|
}
|
|
|
|
.badge {
|
|
border: 1px solid var(--line);
|
|
background: var(--accent-soft);
|
|
border-radius: 999px;
|
|
padding: 4px 10px;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.result-box {
|
|
display: grid;
|
|
gap: 7px;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.small {
|
|
font-size: 0.86rem;
|
|
}
|
|
|
|
.mono {
|
|
font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
padding: 8px;
|
|
border-bottom: 1px solid var(--line);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
tbody tr {
|
|
transition: background-color 180ms ease;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: #f5fbfb;
|
|
}
|
|
|
|
.editor {
|
|
width: 100%;
|
|
min-height: 280px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
padding: 10px;
|
|
background: #fbfdff;
|
|
font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
|
|
font-size: 0.85rem;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.bg-glow {
|
|
position: fixed;
|
|
width: 360px;
|
|
height: 360px;
|
|
border-radius: 50%;
|
|
filter: blur(48px);
|
|
opacity: 0.42;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
animation: drift 12s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.bg-glow-a {
|
|
background: #a2e9db;
|
|
top: -90px;
|
|
right: -70px;
|
|
}
|
|
|
|
.bg-glow-b {
|
|
background: #c4dcff;
|
|
bottom: -120px;
|
|
left: -90px;
|
|
animation-delay: 1.4s;
|
|
}
|
|
|
|
@keyframes rise {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(7px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes drift {
|
|
from {
|
|
transform: translate(0, 0) scale(1);
|
|
}
|
|
to {
|
|
transform: translate(30px, -15px) scale(1.12);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|