|
32 | 32 | <!-- Using a specific versioned CDN for Lucide icons --> |
33 | 33 | <script src="https://cdn.jsdelivr.net/npm/lucide-static@0.269.0/dist/umd/lucide.min.js"></script> |
34 | 34 | <!-- Add Google Fonts for Inter and JetBrains Mono --> |
35 | | - <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet"> |
| 35 | + <link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap" rel="stylesheet"> |
36 | 36 | <!-- Favicon and meta tags --> |
37 | 37 | <link rel="icon" type="image/png" href="/assets/images/multikernel-logo.png"> |
38 | 38 | <meta name="description" content="{% if page.description %}{{ page.description }}{% else %}Enterprise Linux Kernel Solutions - Multikernel Technologies delivers highly-customized and well-tuned Linux kernels for different business services.{% endif %}"> |
|
49 | 49 | position: fixed; |
50 | 50 | top: 0; left: 0; right: 0; |
51 | 51 | width: 100%; |
52 | | - height: 72px; |
53 | | - background: rgba(255,255,255,0.97); |
54 | | - backdrop-filter: blur(12px); |
55 | | - -webkit-backdrop-filter: blur(12px); |
56 | | - border-bottom: 1px solid rgba(0,0,0,0.06); |
| 52 | + height: 64px; |
| 53 | + background: rgba(15, 23, 42, 0.97); |
| 54 | + backdrop-filter: blur(16px); |
| 55 | + -webkit-backdrop-filter: blur(16px); |
| 56 | + border-bottom: 1px solid rgba(255,255,255,0.06); |
57 | 57 | z-index: 999999; |
58 | 58 | } |
59 | 59 | .site-header-inner { |
60 | | - max-width: 1440px; |
| 60 | + max-width: 1280px; |
61 | 61 | margin: 0 auto; |
62 | | - padding: 0 60px; |
63 | | - height: 72px; |
| 62 | + padding: 0 40px; |
| 63 | + height: 64px; |
64 | 64 | display: flex; |
65 | 65 | align-items: center; |
66 | | - gap: 40px; |
| 66 | + gap: 32px; |
67 | 67 | } |
68 | 68 | .site-logo { |
69 | 69 | display: flex; |
|
72 | 72 | flex-shrink: 0; |
73 | 73 | } |
74 | 74 | .site-logo img { |
75 | | - height: 40px; |
| 75 | + height: 34px; |
76 | 76 | width: auto; |
77 | 77 | } |
78 | 78 | .site-nav { |
79 | 79 | display: flex; |
80 | 80 | align-items: center; |
81 | | - gap: 2px; |
| 81 | + gap: 1px; |
82 | 82 | flex: 1; |
83 | 83 | } |
84 | 84 | .site-nav-link { |
85 | | - padding: 8px 16px; |
86 | | - font-size: 14px; |
| 85 | + padding: 6px 14px; |
| 86 | + font-size: 13px; |
87 | 87 | font-weight: 500; |
88 | | - color: #374151; |
| 88 | + color: rgba(255,255,255,0.55); |
89 | 89 | text-decoration: none; |
90 | | - border-radius: 6px; |
| 90 | + border-radius: 4px; |
91 | 91 | transition: color 0.15s, background 0.15s; |
92 | 92 | white-space: nowrap; |
93 | 93 | } |
94 | 94 | .site-nav-link:hover { |
95 | | - color: #111827; |
96 | | - background: #f3f4f6; |
| 95 | + color: rgba(255,255,255,0.9); |
| 96 | + background: rgba(255,255,255,0.06); |
97 | 97 | } |
98 | 98 | .site-nav-link.active { |
99 | | - color: #111827; |
| 99 | + color: white; |
100 | 100 | font-weight: 600; |
101 | 101 | } |
102 | 102 | /* Dropdown */ |
103 | 103 | .site-nav-dropdown { |
104 | 104 | position: relative; |
105 | 105 | } |
106 | 106 | .site-nav-dropdown-trigger { |
107 | | - padding: 8px 16px; |
108 | | - font-size: 14px; |
| 107 | + padding: 6px 14px; |
| 108 | + font-size: 13px; |
109 | 109 | font-weight: 500; |
110 | | - color: #374151; |
| 110 | + color: rgba(255,255,255,0.55); |
111 | 111 | text-decoration: none; |
112 | | - border-radius: 6px; |
| 112 | + border-radius: 4px; |
113 | 113 | cursor: pointer; |
114 | 114 | display: flex; |
115 | 115 | align-items: center; |
|
122 | 122 | } |
123 | 123 | .site-nav-dropdown-trigger:hover, |
124 | 124 | .site-nav-dropdown:hover .site-nav-dropdown-trigger { |
125 | | - color: #111827; |
126 | | - background: #f3f4f6; |
| 125 | + color: rgba(255,255,255,0.9); |
| 126 | + background: rgba(255,255,255,0.06); |
127 | 127 | } |
128 | 128 | .site-nav-dropdown-trigger.active { |
129 | | - color: #111827; |
| 129 | + color: white; |
130 | 130 | font-weight: 600; |
131 | 131 | } |
132 | 132 | .site-nav-dropdown-trigger svg { |
133 | 133 | width: 10px; |
134 | 134 | height: 10px; |
135 | | - opacity: 0.5; |
| 135 | + opacity: 0.4; |
136 | 136 | transition: transform 0.15s; |
137 | 137 | } |
138 | 138 | .site-nav-dropdown:hover .site-nav-dropdown-trigger svg { |
|
143 | 143 | position: absolute; |
144 | 144 | top: calc(100% + 8px); |
145 | 145 | left: 0; |
146 | | - min-width: 240px; |
147 | | - background: white; |
148 | | - border: 1px solid rgba(0,0,0,0.08); |
149 | | - border-radius: 10px; |
150 | | - box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.04); |
151 | | - padding: 6px; |
| 146 | + min-width: 260px; |
| 147 | + background: #1e293b; |
| 148 | + border: 1px solid rgba(255,255,255,0.08); |
| 149 | + border-radius: 6px; |
| 150 | + box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3); |
| 151 | + padding: 4px; |
152 | 152 | z-index: 1000; |
153 | 153 | } |
154 | 154 | .site-nav-dropdown:hover .site-nav-dropdown-menu { |
|
159 | 159 | padding: 10px 14px; |
160 | 160 | font-size: 13px; |
161 | 161 | font-weight: 500; |
162 | | - color: #374151; |
| 162 | + color: rgba(255,255,255,0.6); |
163 | 163 | text-decoration: none; |
164 | | - border-radius: 7px; |
| 164 | + border-radius: 4px; |
165 | 165 | transition: color 0.15s, background 0.15s; |
166 | 166 | line-height: 1.3; |
167 | 167 | } |
168 | 168 | .site-nav-dropdown-item:hover { |
169 | | - color: #111827; |
170 | | - background: #f3f4f6; |
| 169 | + color: white; |
| 170 | + background: rgba(255,255,255,0.06); |
171 | 171 | } |
172 | 172 | .site-nav-dropdown-item.active { |
173 | | - color: #111827; |
174 | | - background: #f3f4f6; |
| 173 | + color: white; |
| 174 | + background: rgba(255,255,255,0.08); |
175 | 175 | font-weight: 600; |
176 | 176 | } |
177 | 177 | .site-nav-dropdown-item small { |
178 | 178 | display: block; |
179 | | - font-size: 12px; |
| 179 | + font-size: 11px; |
180 | 180 | font-weight: 400; |
181 | | - color: #9ca3af; |
| 181 | + color: rgba(255,255,255,0.3); |
182 | 182 | margin-top: 3px; |
| 183 | + font-family: 'IBM Plex Mono', monospace; |
183 | 184 | } |
184 | 185 | /* GitHub icon */ |
185 | 186 | .site-nav-icon { |
186 | 187 | display: flex; |
187 | 188 | align-items: center; |
188 | 189 | justify-content: center; |
189 | | - width: 36px; |
190 | | - height: 36px; |
191 | | - color: #6b7280; |
| 190 | + width: 34px; |
| 191 | + height: 34px; |
| 192 | + color: rgba(255,255,255,0.4); |
192 | 193 | text-decoration: none; |
193 | | - border-radius: 8px; |
| 194 | + border-radius: 4px; |
194 | 195 | transition: color 0.15s, background 0.15s; |
195 | 196 | } |
196 | 197 | .site-nav-icon:hover { |
197 | | - color: #111827; |
198 | | - background: #f3f4f6; |
| 198 | + color: white; |
| 199 | + background: rgba(255,255,255,0.06); |
199 | 200 | } |
200 | 201 | .site-nav-icon svg { |
201 | | - width: 20px; |
202 | | - height: 20px; |
| 202 | + width: 18px; |
| 203 | + height: 18px; |
203 | 204 | } |
204 | 205 | /* CTA */ |
205 | 206 | .site-nav-cta { |
206 | 207 | display: inline-flex; |
207 | 208 | align-items: center; |
208 | | - padding: 9px 20px; |
| 209 | + padding: 7px 18px; |
209 | 210 | font-size: 13px; |
210 | 211 | font-weight: 600; |
211 | | - color: white; |
212 | | - background: #111827; |
| 212 | + color: #0f172a; |
| 213 | + background: #e2a23b; |
213 | 214 | text-decoration: none; |
214 | | - border-radius: 8px; |
| 215 | + border-radius: 4px; |
215 | 216 | margin-left: 4px; |
216 | | - transition: background 0.15s; |
| 217 | + transition: background 0.15s, box-shadow 0.15s; |
217 | 218 | white-space: nowrap; |
218 | 219 | } |
219 | 220 | .site-nav-cta:hover { |
220 | | - background: #374151; |
| 221 | + background: #f5b829; |
| 222 | + box-shadow: 0 0 16px rgba(226, 162, 59, 0.25); |
221 | 223 | } |
222 | 224 | /* Divider */ |
223 | 225 | .site-nav-divider { |
224 | 226 | width: 1px; |
225 | | - height: 24px; |
226 | | - background: #e5e7eb; |
227 | | - margin: 0 12px; |
| 227 | + height: 20px; |
| 228 | + background: rgba(255,255,255,0.1); |
| 229 | + margin: 0 10px; |
228 | 230 | margin-left: auto; |
229 | 231 | flex-shrink: 0; |
230 | 232 | } |
|
237 | 239 | border: none; |
238 | 240 | background: none; |
239 | 241 | cursor: pointer; |
240 | | - border-radius: 8px; |
| 242 | + border-radius: 4px; |
241 | 243 | margin-left: auto; |
242 | 244 | } |
243 | 245 | .site-mobile-toggle:hover { |
244 | | - background: #f3f4f6; |
| 246 | + background: rgba(255,255,255,0.06); |
245 | 247 | } |
246 | 248 | .site-mobile-toggle span { |
247 | | - width: 20px; |
| 249 | + width: 18px; |
248 | 250 | height: 2px; |
249 | | - background: #374151; |
| 251 | + background: rgba(255,255,255,0.6); |
250 | 252 | display: block; |
251 | 253 | border-radius: 1px; |
252 | 254 | } |
|
0 commit comments