test/styles.css
2026-08-26 15:12:21 +08:00

70 lines
999 B
CSS

:root {
color-scheme: light;
font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
color: #172033;
background: #eef3f8;
}
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
margin: 0;
display: grid;
place-items: center;
padding: 24px;
}
.test-card {
width: min(100%, 560px);
padding: 40px;
border: 1px solid #d8e1ec;
border-radius: 20px;
background: #ffffff;
box-shadow: 0 20px 60px rgb(23 32 51 / 12%);
}
.eyebrow {
margin: 0 0 12px;
color: #2563eb;
font-size: 14px;
font-weight: 700;
}
h1 {
margin: 0;
font-size: clamp(30px, 6vw, 44px);
}
.description {
margin: 20px 0 28px;
color: #526079;
line-height: 1.8;
}
button {
border: 0;
border-radius: 10px;
padding: 12px 20px;
color: #ffffff;
background: #2563eb;
font: inherit;
font-weight: 700;
cursor: pointer;
}
button:hover {
background: #1d4ed8;
}
.result {
margin: 20px 0 0;
color: #64748b;
}
.result.is-success {
color: #15803d;
font-weight: 700;
}