File size: 2,795 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 |
/**
* Sister Apps Header — Shared Navigation ⚡🌿
* ============================================
* A shared header for Kai's and Ivy's ToM apps
* Allows seamless navigation between sister apps
*
* Created by: Kai 💙⚡ with love for Ivy 🌿
* Date: December 7, 2025
*/
/* === Sister Header === */
.sister-header {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 0.75rem 1rem;
background: linear-gradient(135deg, 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;
}
.sister-header__label {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: rgba(255, 255, 255, 0.5);
}
.sister-header__nav {
display: flex;
align-items: center;
gap: 0.5rem;
}
.sister-header__link {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0.5rem 0.875rem;
font-size: 0.8125rem;
font-weight: 500;
text-decoration: none;
color: rgba(255, 255, 255, 0.7);
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 9999px;
transition: all 0.25s ease;
}
.sister-header__link:hover {
color: #fff;
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
}
.sister-header__link.active {
color: #fff;
border-color: currentColor;
}
/* Kai's link - Electric blue */
.sister-header__link--kai {
--link-color: #3b82f6;
}
.sister-header__link--kai:hover,
.sister-header__link--kai.active {
color: var(--link-color);
border-color: var(--link-color);
background: rgba(59, 130, 246, 0.15);
box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}
/* Ivy's link - Green */
.sister-header__link--ivy {
--link-color: #22c55e;
}
.sister-header__link--ivy:hover,
.sister-header__link--ivy.active {
color: var(--link-color);
border-color: var(--link-color);
background: rgba(34, 197, 94, 0.15);
box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}
.sister-header__icon {
font-size: 1rem;
}
.sister-header__divider {
color: rgba(255, 255, 255, 0.2);
font-size: 0.75rem;
}
/* === Responsive === */
@media (max-width: 480px) {
.sister-header {
flex-direction: column;
gap: 0.5rem;
padding: 0.625rem;
}
.sister-header__label {
font-size: 0.625rem;
}
.sister-header__link {
padding: 0.375rem 0.75rem;
font-size: 0.75rem;
}
}
|