|
62 | 62 | text-align: center; |
63 | 63 | } |
64 | 64 |
|
65 | | -/* Force black text color for collaborators on mobile */ |
| 65 | +/* Force proper text colors for collaborators on mobile - respect dark mode */ |
66 | 66 | @media (max-width: 768px) { |
| 67 | + /* Light mode: black text */ |
67 | 68 | .blox-collaborators .resume-biography { |
68 | 69 | color: black !important; |
69 | 70 | } |
|
73 | 74 | color: black !important; |
74 | 75 | } |
75 | 76 |
|
76 | | - /* Set default link color to black, but allow hover to work */ |
77 | 77 | .blox-collaborators .resume-biography a { |
78 | 78 | color: black !important; |
79 | 79 | } |
80 | 80 |
|
81 | | - /* Preserve hover effects - use primary color on hover */ |
82 | 81 | .blox-collaborators .resume-biography a:hover { |
83 | 82 | color: rgb(37 99 235) !important; /* primary-600 */ |
84 | 83 | } |
85 | 84 |
|
86 | | - /* Organization links hover */ |
87 | 85 | .blox-collaborators .resume-biography div a:hover { |
88 | 86 | color: rgb(37 99 235) !important; /* primary-600 */ |
89 | 87 | } |
|
97 | 95 | fill: black !important; |
98 | 96 | } |
99 | 97 |
|
100 | | - /* Allow hover on network icons */ |
101 | 98 | .blox-collaborators .network-icon a:hover svg, |
102 | 99 | .blox-collaborators .network-icon a:hover path { |
103 | 100 | fill: rgb(37 99 235) !important; /* primary-600 */ |
104 | 101 | } |
| 102 | + |
| 103 | + /* Dark mode on mobile: white text */ |
| 104 | + .dark .blox-collaborators .resume-biography { |
| 105 | + color: white !important; |
| 106 | + } |
| 107 | + |
| 108 | + .dark .blox-collaborators .resume-biography h3, |
| 109 | + .dark .blox-collaborators .resume-biography div:not(.network-icon) { |
| 110 | + color: white !important; |
| 111 | + } |
| 112 | + |
| 113 | + .dark .blox-collaborators .resume-biography a { |
| 114 | + color: white !important; |
| 115 | + } |
| 116 | + |
| 117 | + .dark .blox-collaborators .resume-biography a:hover { |
| 118 | + color: rgb(96 165 250) !important; /* primary-400 */ |
| 119 | + } |
| 120 | + |
| 121 | + .dark .blox-collaborators .resume-biography div a:hover { |
| 122 | + color: rgb(96 165 250) !important; /* primary-400 */ |
| 123 | + } |
| 124 | + |
| 125 | + .dark .blox-collaborators .network-icon { |
| 126 | + color: white !important; |
| 127 | + } |
| 128 | + |
| 129 | + .dark .blox-collaborators .network-icon svg, |
| 130 | + .dark .blox-collaborators .network-icon path { |
| 131 | + fill: white !important; |
| 132 | + } |
| 133 | + |
| 134 | + .dark .blox-collaborators .network-icon a:hover svg, |
| 135 | + .dark .blox-collaborators .network-icon a:hover path { |
| 136 | + fill: rgb(96 165 250) !important; /* primary-400 */ |
| 137 | + } |
105 | 138 | } |
106 | 139 |
|
107 | | -/* Ensure dark mode still works on larger screens */ |
| 140 | +/* Ensure dark mode works on larger screens */ |
108 | 141 | @media (min-width: 769px) { |
109 | 142 | .dark .blox-collaborators .resume-biography { |
110 | 143 | color: white; |
|
0 commit comments