Skip to content

Commit 46d9011

Browse files
committed
style footer
1 parent 0bae80b commit 46d9011

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

web-components/footer/footer.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
footer {
2+
background-color: #1c1c1c;
3+
margin: 0;
4+
padding: 1em;
5+
width: 100%;
6+
}
7+
8+
footer > ul, footer > p {
9+
padding-left: 3em;
10+
}
11+
12+
ul {
13+
list-style-type: none;
14+
display: flex;
15+
flex-flow: row wrap;
16+
gap: 2em;
17+
align-items: center;
18+
}
19+
20+
li a {
21+
color: #78A9FF;
22+
text-decoration: none;
23+
}
24+
25+
li div {
26+
height: 1em;
27+
border: solid gray 1px;
28+
}
29+
30+
p {
31+
color: #a8a8a8;
32+
}
33+
34+
@media screen and (max-width: 35em) {
35+
footer > ul, footer > p {
36+
padding-left: 1em;
37+
}
38+
39+
li div {
40+
display: none;
41+
}
42+
43+
ul {
44+
display: flex;
45+
flex-flow: column wrap;
46+
gap: 0em;
47+
align-items: flex-start;
48+
}
49+
}

0 commit comments

Comments
 (0)