Skip to content

Commit b4b5622

Browse files
committed
mobile nav update and header padding fixes
1 parent 986cf3b commit b4b5622

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

assets/css/main.css

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,11 +2238,19 @@ input, select, textarea {
22382238
flex-direction: column-reverse;
22392239
padding: 0;
22402240
}
2241+
2242+
#nav ul li {
2243+
padding: 0;
2244+
}
22412245

22422246
#nav li.links {
22432247
display: none;
22442248
}
22452249

2250+
#nav a {
2251+
padding: 1em;
2252+
}
2253+
22462254
#nav .menu {
22472255
display: flex;
22482256
flex-grow: 1;
@@ -4361,10 +4369,8 @@ input, select, textarea {
43614369

43624370
/* Banner (style4) My Custom Style */
43634371
.banner.style4 {
4364-
/* height:20rem;
4365-
padding-bottom: 4rem; */
43664372
height:12rem;
4367-
padding-bottom: 2rem;
4373+
/* padding-bottom: 2rem; */
43684374
/*padding: 3rem 3.75rem 3rem 3.75rem ;*/
43694375
-moz-align-items: center;
43704376
-webkit-align-items: center;
@@ -4477,7 +4483,7 @@ input, select, textarea {
44774483

44784484
.banner.style4 {
44794485
/* padding-bottom: 3rem; */
4480-
padding-bottom: 1.5rem;
4486+
/* padding-bottom: 1.5rem; */
44814487
}
44824488

44834489

@@ -4489,7 +4495,7 @@ input, select, textarea {
44894495

44904496
.banner.style4 {
44914497
/* padding-bottom: 3rem ; */
4492-
padding-bottom: 1.5rem ;
4498+
/* padding-bottom: 1.5rem ; */
44934499
}
44944500

44954501

@@ -4499,7 +4505,7 @@ input, select, textarea {
44994505

45004506
.banner.style4 {
45014507
/* padding-bottom: 3rem ; */
4502-
padding-bottom: 1.5rem ;
4508+
/* padding-bottom: 1.5rem ; */
45034509
}
45044510

45054511

map.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
<section class="color8 invert align-center">
5555
<nav id="nav">
5656
<ul >
57-
<li class="links"><a href="zerotohero.html">Getting Started</a></li>
58-
<li class="links"><a href="index.html">Patterns</a></li>
59-
<li class="links"><a href="fabrics.html">Fabrics</a></li>
60-
<li class="links"><a href="hardware.html">Hardware</a></li>
61-
<li class="links active"><a href="#">MYOG Suppliers</a></li>
62-
<li class="menu"><a href="javascript:void(0);" class="icon" onclick="navCollapse()">
63-
<i class="fa fa-bars"></i>
64-
</a></li>
57+
<li class="links"><a href="zerotohero.html">Getting Started</a></li>
58+
<li class="links"><a href="index.html">Patterns</a></li>
59+
<li class="links"><a href="fabrics.html">Fabrics</a></li>
60+
<li class="links"><a href="hardware.html">Hardware</a></li>
61+
<li class="links active"><a href="#">MYOG Suppliers</a></li>
62+
<li class="menu"><a href="javascript:void(0);" class="icon" onclick="navCollapse()">
63+
<i class="fa fa-compass fa-2x"></i>
64+
</a></li>
6565
</ul>
6666
</nav>
6767
</section>

0 commit comments

Comments
 (0)