LingTitles / styles.css
merlinyang's picture
Upload 5 files
3561023 verified
:root {
color-scheme: light;
--bg: #f5f1ea;
--bg-deep: #e6dccb;
--ink: #1f1c17;
--ink-soft: #5a5248;
--accent: #b85c38;
--accent-2: #3c6e71;
--panel: rgba(255, 255, 255, 0.8);
--stroke: rgba(31, 28, 23, 0.12);
--shadow: 0 18px 40px rgba(31, 28, 23, 0.12);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: "Songti SC", "STSong", "Kaiti SC", "PingFang SC", "Hiragino Sans GB", serif;
color: var(--ink);
background: linear-gradient(160deg, var(--bg) 0%, #f7f4ef 45%, #efe7dc 100%);
position: relative;
overflow-x: hidden;
}
.bg-glow {
position: fixed;
inset: 0;
background:
radial-gradient(circle at 10% 20%, rgba(184, 92, 56, 0.18), transparent 55%),
radial-gradient(circle at 90% 10%, rgba(60, 110, 113, 0.18), transparent 50%),
radial-gradient(circle at 60% 80%, rgba(31, 28, 23, 0.12), transparent 60%);
z-index: 0;
pointer-events: none;
}
.shell {
max-width: 1200px;
margin: 0 auto;
padding: 48px 28px 64px;
position: relative;
z-index: 1;
animation: fadeUp 0.6s ease;
}
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(16px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hero {
margin-bottom: 32px;
}
.hero__label {
font-size: 13px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--accent-2);
margin-bottom: 12px;
}
h1 {
font-size: clamp(28px, 4vw, 40px);
margin: 0 0 12px;
letter-spacing: 0.03em;
}
.hero__sub {
color: var(--ink-soft);
max-width: 720px;
line-height: 1.6;
margin: 0;
}
.grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 22px;
}
.panel {
background: var(--panel);
border: 1px solid var(--stroke);
border-radius: 18px;
padding: 18px 18px 20px;
box-shadow: var(--shadow);
backdrop-filter: blur(6px);
}
.panel.wide {
grid-column: 1 / -1;
}
.panel__title {
font-weight: 700;
margin-bottom: 12px;
font-size: 16px;
}
.panel__body {
display: flex;
flex-direction: column;
gap: 12px;
}
.field {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 14px;
}
.field.row {
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.field input,
.field select,
textarea {
font-family: inherit;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid var(--stroke);
background: rgba(255, 255, 255, 0.85);
color: var(--ink);
}
textarea {
resize: vertical;
min-height: 120px;
line-height: 1.6;
}
.toggle-row {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.toggle {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 12px;
border-radius: 999px;
border: 1px solid var(--stroke);
background: rgba(255, 255, 255, 0.8);
font-size: 13px;
}
.actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.btn {
border: 1px solid transparent;
padding: 10px 16px;
border-radius: 999px;
font-family: inherit;
font-size: 14px;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.primary {
background: var(--accent);
color: #fff;
box-shadow: 0 10px 24px rgba(184, 92, 56, 0.28);
}
.btn.ghost {
background: transparent;
border-color: var(--stroke);
color: var(--ink);
}
.btn:hover {
transform: translateY(-1px);
}
.status {
font-size: 13px;
color: var(--ink-soft);
}
.progress {
width: 100%;
height: 8px;
background: rgba(31, 28, 23, 0.08);
border-radius: 999px;
overflow: hidden;
}
.progress__bar {
height: 100%;
width: 0%;
background: linear-gradient(90deg, var(--accent), var(--accent-2));
transition: width 0.2s ease;
}
.stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.stat {
padding: 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--stroke);
}
.stat__label {
font-size: 12px;
color: var(--ink-soft);
}
.stat__value {
font-weight: 700;
margin-top: 4px;
}
.legend {
display: flex;
align-items: center;
gap: 12px;
font-size: 13px;
color: var(--ink-soft);
}
.dot {
width: 10px;
height: 10px;
border-radius: 50%;
display: inline-block;
}
.dot.high {
background: #b85c38;
}
.dot.mid {
background: #d9a441;
}
.dot.low {
background: #8b8b6e;
}
.summary {
font-size: 14px;
color: var(--ink-soft);
}
.result-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.result-item {
display: grid;
grid-template-columns: 140px 1fr 200px;
gap: 12px;
align-items: center;
padding: 10px 12px;
border-radius: 14px;
border: 1px solid var(--stroke);
background: rgba(255, 255, 255, 0.85);
}
.result-item__kw {
font-weight: 600;
}
.bar {
position: relative;
height: 12px;
border-radius: 999px;
background: rgba(31, 28, 23, 0.08);
overflow: hidden;
}
.bar span {
position: absolute;
inset: 0;
width: 0%;
background: linear-gradient(90deg, #b85c38, #e0b35c);
border-radius: 999px;
}
.meta {
font-size: 12px;
color: var(--ink-soft);
display: flex;
gap: 10px;
justify-content: flex-end;
}
.llm-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.llm-output {
background: rgba(16, 16, 16, 0.95);
color: #f5f2ea;
padding: 16px;
border-radius: 12px;
min-height: 180px;
white-space: pre-wrap;
font-size: 13px;
line-height: 1.6;
}
@media (max-width: 960px) {
.grid {
grid-template-columns: 1fr;
}
.result-item {
grid-template-columns: 1fr;
align-items: flex-start;
}
.meta {
justify-content: flex-start;
}
.llm-grid {
grid-template-columns: 1fr;
}
}