levineuwirth.org/static/css/home.css

107 lines
2.5 KiB
CSS

/* home.css — Homepage-specific styles (loaded only on index.html) */
/* ============================================================
UTILITY ROWS
Professional row and curiosities row: compact Fira Sans
link strips separated by middots. Two rows, visually equal.
============================================================ */
.hp-pro-row,
.hp-curiosity-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
font-family: var(--font-sans);
font-size: var(--text-size-small);
margin-top: 0.75rem;
}
/* First row: extra top margin since the hr is gone — breathing
room between the intro block and the utility rows. */
.hp-pro-row {
margin-top: 2rem;
}
.hp-pro-row a,
.hp-curiosity-row a {
color: var(--text-muted);
text-decoration: none;
transition: color var(--transition-fast);
padding: 0.1rem 0.15rem;
}
.hp-pro-row a:hover,
.hp-curiosity-row a:hover {
color: var(--text);
}
.hp-sep {
color: var(--text-faint);
padding: 0 0.2em;
user-select: none;
pointer-events: none;
}
/* ============================================================
LATIN BENEDICTION
Right-aligned closing salutation, set in lang="la" for
correct hyphenation and screen-reader pronunciation.
============================================================ */
.hp-latin {
text-align: right;
margin-top: 1.5rem;
}
.hp-latin p {
margin: 0;
color: var(--text-muted);
}
/* ============================================================
PORTAL LIST
Annotated portal directory, eight items, one per line.
Name link — em dash — short description in faint text.
============================================================ */
.hp-portals {
margin-top: 2.5rem;
font-family: var(--font-sans);
}
.hp-portal-item {
display: flex;
align-items: baseline;
gap: 0.4em;
padding: 0.2rem 0;
}
.hp-portal-name {
color: var(--text);
text-decoration: underline;
text-decoration-color: var(--border-muted);
text-decoration-thickness: 0.15em;
text-underline-offset: 0.2em;
text-decoration-skip-ink: auto;
transition: text-decoration-color var(--transition-fast), color var(--transition-fast);
flex-shrink: 0;
}
.hp-portal-name:hover {
text-decoration-color: var(--link-hover-underline);
}
.hp-portal-dash {
color: var(--text-faint);
padding: 0 0.15em;
user-select: none;
flex-shrink: 0;
}
.hp-portal-desc {
font-size: var(--text-size-small);
color: var(--text-faint);
line-height: 1.4;
}