Skip to content

Commit 245f1e4

Browse files
committed
📦 NEW: responsive styles
1 parent 73e65c8 commit 245f1e4

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

styles/Coding_Crow.module.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,12 @@
1616
text-transform: uppercase;
1717
font-size: 3rem;
1818
}
19+
20+
/* responsive styles */
21+
22+
@media screen and (max-width: 600px) {
23+
.pod_img h1 {
24+
text-transform: uppercase;
25+
font-size: 2rem;
26+
}
27+
}

styles/Pod.module.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@
1818
flex-direction: row;
1919
flex-wrap: wrap;
2020
}
21+
22+
/* responsive styles */
23+
24+
@media screen and (max-width: 600px) {
25+
.pod_details h2 {
26+
font-size: 1.7rem;
27+
}
28+
}

styles/Pod_leader.module.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,24 @@
33
display: flex;
44
flex-direction: column;
55
align-items: center;
6-
padding-top: 50px;
6+
justify-content: center;
77
}
88

99
.pod_leader h2 {
1010
font-size: 2.5rem;
1111
text-transform: uppercase;
12+
margin: 0;
13+
}
14+
15+
/* responsive styles */
16+
17+
@media screen and (max-width: 600px) {
18+
.pod_leader {
19+
padding-top: 0px;
20+
}
21+
22+
.pod_leader h2 {
23+
font-size: 1.7rem;
24+
text-transform: uppercase;
25+
}
1226
}

0 commit comments

Comments
 (0)