Spaces:
Running

hyperFVC / viewer.css
lauransotomayor's picture
Mirror GitHub Pages presentation build (part 4)
d1ffd83 verified
Raw History Blame Contribute Delete
5.58 kB
.fvc-topbar {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
padding: 1rem 1.25rem;
border-radius: 12px;
background: linear-gradient(120deg, #1f3b2d, #35614a);
color: #f4f7f2;
}
.fvc-topbar h1 { margin: 0; font-size: 1.8rem; color: #fff; }
.fvc-topbar p { margin: 0; }
.fvc-eyebrow {
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.72rem;
opacity: 0.8;
}
.fvc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fvc-chip {
padding: 0.25rem 0.6rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.14);
font-size: 0.78rem;
white-space: nowrap;
}
.fvc-chip a { color: inherit; }
.fvc-crumb { font-size: 0.85rem; opacity: 0.75; margin: 0.25rem 0; }
.fvc-brand { font-weight: 700; font-size: 1.15rem; }
.fvc-side-title {
text-transform: uppercase;
letter-spacing: 0.06em;
font-size: 0.7rem;
font-weight: 600;
opacity: 0.65;
margin: 0.6rem 0 0.2rem;
}
.fvc-legend { display: grid; gap: 0.3rem; font-size: 0.85rem; }
.fvc-legend div { display: flex; align-items: center; gap: 0.5rem; }
.fvc-legend i {
width: 0.8rem;
height: 0.8rem;
border-radius: 3px;
display: inline-block;
border: 1px solid rgba(0, 0, 0, 0.2);
}
.fvc-note { font-size: 0.75rem; opacity: 0.7; line-height: 1.35; }
.fvc-metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 0.75rem;
}
.fvc-metrics div {
padding: 0.8rem 1rem;
border-radius: 10px;
border: 1px solid rgba(127, 127, 127, 0.25);
}
.fvc-metrics span { display: block; font-size: 0.75rem; opacity: 0.7; }
.fvc-metrics strong { font-size: 1.4rem; overflow-wrap: anywhere; }
/* Study-overview diagram: numbered card grid, styled after the companion poster */
.fvc-diagram { display: flex; flex-direction: column; gap: 0.85rem; margin: 0.4rem 0 1rem; }
.fvc-diagram-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.fvc-diagram-sub { font-size: 0.82rem; opacity: 0.72; margin: 0 0 0.3rem; }
.fvc-diagram-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 0.75rem;
align-items: stretch;
}
.fvc-dcard {
border-radius: 12px;
overflow: hidden;
border: 1px solid rgba(127, 127, 127, 0.22);
display: flex;
flex-direction: column;
background: rgba(127, 127, 127, 0.03);
}
.fvc-dcard-head { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; }
.fvc-dbadge {
width: 1.6rem;
height: 1.6rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 0.82rem;
color: #fff;
flex: none;
}
.fvc-dcard-head strong { font-size: 0.95rem; display: block; }
.fvc-dcard-head span { display: block; font-size: 0.72rem; opacity: 0.75; }
.fvc-dcard-body { padding: 0.65rem 0.9rem 0.8rem; font-size: 0.82rem; line-height: 1.45; flex: 1; }
.fvc-dcard-body ul { margin: 0.2rem 0 0; padding-left: 1.05rem; }
.fvc-dcard-body li { margin-bottom: 0.25rem; }
.fvc-dcard.teal .fvc-dcard-head { background: #e2f1ea; }
.fvc-dbadge.teal { background: #2f8f5b; }
.fvc-dcard.orange .fvc-dcard-head { background: #fdecd9; }
.fvc-dbadge.orange { background: #d97a34; }
.fvc-dcard.blue .fvc-dcard-head { background: #e4ecfb; }
.fvc-dbadge.blue { background: #2f5fd9; }
.fvc-dcard.purple .fvc-dcard-head { background: #f0e7fb; }
.fvc-dbadge.purple { background: #7d4fd9; }
.fvc-dresults {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
gap: 0.7rem;
padding: 0.75rem 0.9rem 0.9rem;
}
.fvc-dq { border-radius: 10px; border: 1px solid rgba(127, 127, 127, 0.2); padding: 0.6rem 0.75rem; }
.fvc-dq-label {
font-size: 0.66rem;
text-transform: uppercase;
letter-spacing: 0.05em;
opacity: 0.6;
font-weight: 700;
}
.fvc-dq h4 { margin: 0.2rem 0 0.35rem; font-size: 0.85rem; }
.fvc-dstat { font-size: 1.2rem; font-weight: 700; }
.fvc-dq p { margin: 0.3rem 0 0; font-size: 0.78rem; opacity: 0.82; line-height: 1.4; }
.fvc-dtakeaways {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.6rem;
padding: 0.8rem 0.95rem;
background: #fbeef2;
border-radius: 12px;
}
.fvc-dtakeaways div { font-size: 0.8rem; line-height: 1.42; }
.fvc-dtakeaways strong { display: block; margin-bottom: 0.15rem; font-size: 0.82rem; }
/* Mini CSS-only bar charts for the companion-poster recreation */
.fvc-chart-title { font-size: 0.8rem; font-weight: 600; margin: 0.6rem 0 0.15rem; }
.fvc-chart-row { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.fvc-chart {
display: flex;
align-items: flex-end;
gap: 0.55rem;
height: 130px;
padding: 0.3rem 0.3rem 0;
border-bottom: 2px solid rgba(127, 127, 127, 0.3);
min-width: 160px;
}
.fvc-chart.wide { min-width: 280px; flex: 1; }
.fvc-bar-col {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
height: 100%;
width: 2.1rem;
}
.fvc-bar-val { font-size: 0.64rem; font-weight: 700; margin-bottom: 0.15rem; }
.fvc-bar { width: 100%; border-radius: 4px 4px 0 0; min-height: 2px; }
.fvc-bar-label {
font-size: 0.62rem;
opacity: 0.78;
margin-top: 0.3rem;
text-align: center;
line-height: 1.15;
}
.fvc-chart-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; font-size: 0.72rem; margin: 0.3rem 0 0.1rem; }
.fvc-chart-legend span { display: inline-flex; align-items: center; gap: 0.3rem; }
.fvc-chart-legend i { width: 0.7rem; height: 0.7rem; border-radius: 3px; display: inline-block; }
.fvc-dcard-note { font-size: 0.72rem; opacity: 0.68; padding: 0 0.9rem 0.8rem; margin: 0; }