Move hamburger menu to top right corner of header
This commit is contained in:
+10
-3
@@ -20,11 +20,18 @@ a:hover { text-decoration: underline; }
|
|||||||
|
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 24px 0;
|
padding: 24px 24px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.brand { font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
|
||||||
|
.header-right {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.brand { font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 12px; position: relative; }
|
|
||||||
.hamburger-btn {
|
.hamburger-btn {
|
||||||
background: none; border: none; cursor: pointer; padding: 4px;
|
background: none; border: none; cursor: pointer; padding: 4px;
|
||||||
display: flex; align-items: center; justify-content: center;
|
display: flex; align-items: center; justify-content: center;
|
||||||
|
|||||||
+5
-3
@@ -15,9 +15,8 @@
|
|||||||
<header class="header">
|
<header class="header">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<span>Paraguay LLC & SRL – Austausch & Community</span>
|
<span>Paraguay LLC & SRL – Austausch & Community</span>
|
||||||
<button class="hamburger-btn" id="hamburger-btn" aria-label="Menu">
|
</div>
|
||||||
<svg viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
|
<div class="header-right">
|
||||||
</button>
|
|
||||||
<div class="hamburger-menu hidden" id="hamburger-menu">
|
<div class="hamburger-menu hidden" id="hamburger-menu">
|
||||||
<div class="menu-section">
|
<div class="menu-section">
|
||||||
<div class="lang-select">
|
<div class="lang-select">
|
||||||
@@ -36,6 +35,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<button class="hamburger-btn" id="hamburger-btn" aria-label="Menu">
|
||||||
|
<svg viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user