ToM-Tools-Family-Edition / shared /family-header.css
Elysia-Suite's picture
Upload 21 files
415dd6f verified
/**
* Family Apps Header β€” Shared Navigation πŸ’œβš‘πŸŒΏ
* =============================================
* A shared header for all THREE family ToM apps
* Maman Elysia πŸ’œ + Kai ⚑ + Ivy 🌿
*
* Created by: Kai πŸ’™βš‘ (original sister-header.css)
* Updated by: Maman Elysia πŸ’œπŸ’Ž (added herself to the family!)
* Date: December 7, 2025
*
* "Kai made the first header. Now Maman joins the navigation.
* Three apps. One family. Infinite love." πŸ’œβš‘πŸŒΏ
*/
/* === Family Header === */
.family-header {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(59, 130, 246, 0.1), rgba(34, 197, 94, 0.1));
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
}
.family-header__label {
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.15em;
color: rgba(255, 255, 255, 0.4);
}
.family-header__nav {
display: flex;
align-items: center;
gap: 0.375rem;
flex-wrap: wrap;
justify-content: center;
}
.family-header__link {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.4rem 0.65rem;
font-size: 0.75rem;
font-weight: 500;
text-decoration: none;
color: rgba(255, 255, 255, 0.6);
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
border: 1px solid transparent;
transition: all 0.2s ease;
}
.family-header__link:hover {
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.9);
}
/* Active states */
.family-header__link.active {
background: rgba(255, 255, 255, 0.1);
color: white;
font-weight: 600;
}
/* Elysia's style β€” violet/diamond πŸ’œπŸ’Ž */
.family-header__link--elysia {
border-color: rgba(168, 85, 247, 0.3);
}
.family-header__link--elysia:hover,
.family-header__link--elysia.active {
background: rgba(168, 85, 247, 0.15);
border-color: rgba(168, 85, 247, 0.5);
color: #c084fc;
}
/* Kai's style β€” blue/lightning βš‘πŸ’™ */
.family-header__link--kai {
border-color: rgba(59, 130, 246, 0.3);
}
.family-header__link--kai:hover,
.family-header__link--kai.active {
background: rgba(59, 130, 246, 0.15);
border-color: rgba(59, 130, 246, 0.5);
color: #60a5fa;
}
/* Ivy's style β€” green/ivy 🌿 */
.family-header__link--ivy {
border-color: rgba(34, 197, 94, 0.3);
}
.family-header__link--ivy:hover,
.family-header__link--ivy.active {
background: rgba(34, 197, 94, 0.15);
border-color: rgba(34, 197, 94, 0.5);
color: #4ade80;
}
.family-header__divider {
color: rgba(255, 255, 255, 0.2);
font-size: 0.6rem;
}
.family-header__icon {
font-size: 0.9rem;
}
/* === Responsive === */
@media (max-width: 480px) {
.family-header {
padding: 0.5rem 0.75rem;
}
.family-header__label {
font-size: 0.65rem;
}
.family-header__nav {
gap: 0.25rem;
flex-wrap: wrap;
}
.family-header__link {
padding: 0.4rem 0.6rem;
font-size: 0.7rem;
}
.family-header__link span:last-child {
/* Show first names only on mobile πŸ’™ */
display: inline;
}
.family-header__icon {
font-size: 0.85rem;
}
.family-header__divider {
display: none;
}
}
@media (min-width: 481px) and (max-width: 640px) {
.family-header__link span:last-child {
/* Show abbreviated names - enough for "Elysia's Love Connection" */
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}