algorithm-research-deck / static /dynamic-content.css
zhiyi
Refine Space header and point layouts
f943246
Raw History Blame Contribute Delete
3.48 kB
.content-list {
display: grid;
gap: 10px;
}
.content-item,
.content-card,
.content-field,
.process-step {
padding: 10px 14px;
border: 1px solid #344158;
border-radius: 9px;
background: #101827;
}
.content-card .content-object {
display: block;
}
.content-field h4 {
margin: 0 0 4px;
color: var(--accent);
font-size: 13px;
}
.content-field p,
.content-item p {
margin: 0;
}
.point-heading {
margin: 0 0 8px;
color: #dcecff;
font-size: 17px;
}
.point-detail > p {
margin: 0;
}
.point-subpoints {
margin-top: 10px;
padding-top: 9px;
border-top: 1px solid var(--line);
}
.point-subpoints .content-list {
gap: 6px;
}
.point-subpoints .content-item {
position: relative;
padding: 0 0 0 16px;
border: 0;
background: transparent;
}
.point-subpoints .content-item::before {
content: "";
position: absolute;
top: .7em;
left: 1px;
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--accent);
}
.process {
display: grid;
gap: 12px;
}
.process-step {
display: grid;
grid-template-columns: 38px 1fr;
align-items: start;
gap: 12px;
}
.process-step > span {
display: grid;
place-items: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: #263b68;
color: #fff;
font-weight: 700;
}
.equation {
overflow: auto;
padding: 18px;
border: 1px solid #344158;
border-radius: 9px;
background: #101827;
font-size: clamp(16px, 1.6vw, 24px);
}
.evidence-gap {
padding: 16px;
border-left: 4px solid #e7ae59;
border-radius: 8px;
background: #231c12;
}
.comparison-table {
min-width: 760px;
table-layout: fixed;
}
.comparison-table th:first-child {
width: 18%;
}
.comparison-table td,
.comparison-table th {
overflow-wrap: anywhere;
}
.comparison-table td > p {
margin: 0;
}
.process-flow {
display: grid;
gap: 14px;
}
.flow-common {
display: grid;
gap: 12px;
max-width: 720px;
margin: 0 auto;
}
.flow-fork {
justify-self: center;
padding: 5px 14px;
border-radius: 999px;
background: #263b68;
color: #bcd0ff;
font-size: 13px;
}
.flow-branches {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 18px;
}
.flow-lane {
display: grid;
align-content: start;
gap: 12px;
padding: 15px;
border: 1px solid #344158;
border-radius: 12px;
background: #0d1421;
}
.flow-lane h3 {
margin: 0;
color: #bcd0ff;
}
.flow-node {
position: relative;
margin: 0;
border: 1px solid #3d4c65;
border-radius: 10px;
background: #131d2d;
transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.flow-node + .flow-node::before {
content: "↓";
position: absolute;
top: -20px;
left: 50%;
color: var(--accent);
}
.flow-node:hover,
.flow-node[open] {
transform: translateY(-2px);
border-color: var(--accent);
background: #182643;
}
.flow-node summary,
.flow-node > p {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
cursor: pointer;
list-style: none;
}
.flow-node summary::-webkit-details-marker {
display: none;
}
.flow-node summary span,
.flow-node > span {
display: inline-grid;
flex: 0 0 30px;
place-items: center;
width: 30px;
height: 30px;
border-radius: 50%;
background: #2b4274;
color: #fff;
font-size: 12px;
}
.flow-detail {
padding: 0 14px 14px 54px;
animation: reveal .2s ease-out;
}
@keyframes reveal {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}