Move theme switch into brand row and center nav links on phones
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0000af15c5
commit
22988f7e69
1 file changed
+6
@@ -123,6 +123,12 @@ h3 { font-size: 1.05rem; margin-top: 1.6em; }
|
|||||||
.site-nav { display: flex; gap: 20px; font-size: .95rem; }
|
.site-nav { display: flex; gap: 20px; font-size: .95rem; }
|
||||||
.site-nav a { color: var(--muted); text-decoration: none; }
|
.site-nav a { color: var(--muted); text-decoration: none; }
|
||||||
.site-nav a:hover { color: var(--text); }
|
.site-nav a:hover { color: var(--text); }
|
||||||
|
/* Phone: brand and tools share the first row, the links sit centered below. */
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.site-header__inner { gap: 0 16px; }
|
||||||
|
.site-header__inner .header-tools { order: 2; }
|
||||||
|
.site-header__inner .site-nav { order: 3; flex-basis: 100%; justify-content: center; padding-bottom: 12px; }
|
||||||
|
}
|
||||||
.site-footer { padding: 24px 16px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border);
|
.site-footer { padding: 24px 16px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border);
|
||||||
display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
|
display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user