Skip to content

Commit c7093cd

Browse files
authored
Merge pull request #16 from SujalSamai/main
Added Hamburger Menu
2 parents 8a8cc41 + 80330b0 commit c7093cd

2 files changed

Lines changed: 49 additions & 3 deletions

File tree

assets/css/index.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ body {
2020
background-color: #212121 !important;
2121
}
2222

23+
nav> * a,
24+
nav> * a:hover,
2325
footer > * a,
2426
footer > * a:hover {
2527
color: white !important;
@@ -37,6 +39,7 @@ a:hover {
3739
.main {
3840
min-height: 100vh;
3941
display: block;
42+
color:white !important;
4043
}
4144

4245
.nav__bar {
@@ -213,7 +216,7 @@ a:hover {
213216
}
214217

215218
.moosync__navbar-mobileScreen-links li:hover {
216-
color: var(--color-text-green);
219+
color: #5bb67a;
217220
}
218221

219222
#hamburger-close {
@@ -267,13 +270,13 @@ a:hover {
267270
.moosync__navbar-mobileScreen-links li {
268271
margin-top: 2rem;
269272
font-size: 2rem;
270-
color: white;
273+
color: var(--color-white);
271274
text-align: center;
272275
cursor: pointer;
273276
}
274277

275278
.moosync__navbar-mobileScreen-links li:hover {
276-
color: var(--green-primary);
279+
color: var(--color-text-green);
277280
}
278281

279282
#hamburger-close {

index.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,49 @@
9898
</button>
9999
<button id="download__btn" class="navigation__buttons">Download</button>
100100
</div>
101+
<div class="moosync__navbar-mobileScreen">
102+
<img
103+
loading="lazy"
104+
src="/assets/img/hamburgerIcon.svg"
105+
alt="Menu"
106+
id="hamburger-open"
107+
/>
108+
<div
109+
class="moosync__navbar-mobileScreen-overlayClose flex__center slide__bottom"
110+
id="menu-overlay"
111+
>
112+
<img
113+
loading="lazy"
114+
src="/assets/img/hamburgerCloseIcon.svg"
115+
alt="Close"
116+
id="hamburger-close"
117+
/>
118+
<ul class="moosync__navbar-mobileScreen-links">
119+
<li class="p__normal" id="home"><a href="#">Home</a></li>
120+
<li class="p__normal" id="privacy">
121+
<a
122+
href="https://www.iubenda.com/privacy-policy/70189564/full-legal"
123+
>Privacy Policy</a
124+
>
125+
</li>
126+
<li class="p__normal" id="documentation">
127+
<a href="/wiki/">Documentation</a>
128+
</li>
129+
<li class="p__normal" id="github">
130+
<a href="https://github.com/Moosync/Moosync">Github</a>
131+
</li>
132+
<li id="download">
133+
<button
134+
type="button"
135+
name="button"
136+
class="navigation__buttons"
137+
id="download__btn"
138+
>
139+
Download
140+
</button>
141+
</li>
142+
</ul>
143+
</div>
101144
</div>
102145
</nav>
103146
<header class="heading__page">

0 commit comments

Comments
 (0)