Skip to content

Commit 1f51fa1

Browse files
committed
Placing the hover styling of logo inside .logo
1 parent 5165d7b commit 1f51fa1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

styles/Footer.module.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525

2626
.footerItem {
27-
+ .footerItem {
27+
+.footerItem {
2828
margin-top: 0.5rem;
2929
}
3030

@@ -38,10 +38,10 @@
3838
border-radius: 50%;
3939
height: 4.5em;
4040
cursor: pointer;
41-
}
4241

43-
.logo:hover {
44-
opacity: 0.6;
42+
&:hover {
43+
opacity: 0.6;
44+
}
4545
}
4646

4747
.subscribe {
@@ -79,6 +79,7 @@
7979
border: 1px solid #696969;
8080
text-transform: uppercase;
8181
@include transition(opacity 0.3s ease);
82+
8283
&:hover {
8384
opacity: 0.6;
8485
cursor: pointer;
@@ -91,7 +92,7 @@
9192
display: flex;
9293
justify-content: center;
9394

94-
+ .socialMedia {
95+
+.socialMedia {
9596
margin-left: 1rem;
9697
}
9798

@@ -134,10 +135,12 @@
134135
h2 {
135136
margin-top: 0.5rem;
136137
}
138+
137139
button {
138140
font-size: 0.875rem;
139141
width: 30%;
140142
}
143+
141144
input {
142145
width: 70%;
143146
}
@@ -151,4 +154,4 @@
151154
.copyright {
152155
text-align: left;
153156
}
154-
}
157+
}

0 commit comments

Comments
 (0)