File size: 3,910 Bytes
415dd6f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | /**
* 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;
}
}
|