Replace Community news with a Featured module section
This commit is contained in:
1 parent
1fe99c126b
commit
81614770bf
6 files changed
+72
-16
No files matched your search
@@ -898,3 +898,40 @@ html.js [data-rv].rv-in { opacity: 1; transform: none; }
|
||||
}
|
||||
.sponsor-foot a { color: rgba(246, 236, 218, 0.92); text-decoration-color: var(--oak); text-underline-offset: 3px; }
|
||||
.sponsor-foot a:hover { color: var(--sand); }
|
||||
|
||||
/* ---------- featured module ---------- */
|
||||
.featured-card {
|
||||
background: var(--tint);
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: var(--r-box);
|
||||
padding: clamp(20px, 3vw, 34px);
|
||||
max-width: 46em;
|
||||
}
|
||||
.featured-kicker {
|
||||
margin: 0 0 6px;
|
||||
font-size: var(--step-xs);
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
color: var(--oak);
|
||||
font-weight: 600;
|
||||
}
|
||||
.featured-name {
|
||||
margin: 0 0 10px;
|
||||
font-family: var(--display);
|
||||
font-weight: 600;
|
||||
font-size: var(--step-h3);
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
.featured-name a { text-decoration: none; color: var(--ink); }
|
||||
.featured-name a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
|
||||
.featured-note { margin: 0 0 14px; color: var(--muted); font-size: var(--step-body); max-width: 38em; }
|
||||
.featured-branches { margin: 0; display: flex; gap: 8px; }
|
||||
.branch {
|
||||
font-size: var(--step-xs);
|
||||
letter-spacing: 0.08em;
|
||||
padding: 3px 9px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid var(--rule);
|
||||
color: var(--muted);
|
||||
}
|
||||
.branch.is-on { border-color: var(--olive); color: var(--olive); }
|
||||
Reference in new issue
Block a user