Skip to content

Commit 08f0396

Browse files
committed
refactor(navigation.css): remove old footer styles
1 parent e5a3233 commit 08f0396

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

src/css/layout/navigation.css

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
nav,
2-
footer {
1+
nav {
32
position: relative;
43
padding: 1rem 1.5rem;
54
}
65

7-
nav ul,
8-
footer ul {
6+
nav ul {
97
display: flex;
108
gap: 2rem;
119
list-style-type: none;
@@ -40,16 +38,6 @@ nav .logo-circle {
4038
transform: scale(1.05);
4139
}
4240

43-
footer {
44-
padding: 130px 0;
45-
text-align: center;
46-
}
47-
footer ul.nav {
48-
justify-content: center;
49-
margin: 0;
50-
padding: 0;
51-
}
52-
footer ul.nav a,
5341
nav > ul > li:last-child > a {
5442
background: linear-gradient(to top, #df3434 0%, #fb5e55 100%);
5543
box-shadow: 0 15px 28px rgba(129, 0, 0, 0.2), 0 2px 5px rgba(137, 0, 0, 0.2);
@@ -63,20 +51,6 @@ nav li.subitem {
6351
text-align: center;
6452
}
6553

66-
footer ul.nav a {
67-
padding: 15px 20px;
68-
}
69-
footer .nav .nav-contact-us > a > span {
70-
background-attachment: local;
71-
background-image: url('/assets/images/contact-icon.svg');
72-
background-clip: padding-box;
73-
background-origin: padding-box;
74-
background-repeat: no-repeat;
75-
background-position: top 2px left;
76-
background-size: 20px;
77-
padding-left: 25px;
78-
}
79-
8054
nav .menu-icon {
8155
display: none;
8256
width: 30px;
@@ -166,13 +140,6 @@ nav .menu-icon.close {
166140

167141
@media screen and (max-width: 600px) and (orientation: portrait),
168142
(max-width: 548px) and (orientation: landscape) {
169-
footer ul {
170-
flex-direction: column;
171-
}
172-
footer ul li {
173-
margin: 1rem auto;
174-
}
175-
176143
nav ul {
177144
width: 50%;
178145
}
@@ -193,4 +160,4 @@ nav .menu-icon.close {
193160
clip: rect(0, 0, 0, 0);
194161
white-space: nowrap;
195162
border: 0;
196-
}
163+
}

0 commit comments

Comments
 (0)