-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
62 lines (55 loc) · 1.16 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* For viewports with a 16/9 aspect ratio or wider */
@media (min-aspect-ratio: 4/3) {
figure {
width: 40%;
}
}
/* For viewports narrower than a 16/9 aspect ratio */
@media (max-aspect-ratio: 4/3) {
figure {
width: 80%;
}
}
img {
width: 100%;
object-fit: cover;
}
.header {
background-color: saddlebrown;
color: #fff;
margin-bottom: 2rem;
padding: 2rem 1rem;
text-align: center;
}
.grid {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
.rainbow-text {
font-weight: 900;
font-size: 4em;
padding-left: 1.8rem;
padding-bottom: 0.8rem;
letter-spacing: 0.15rem;
color: var(--rainbow-text-base-color);
text-shadow: -4px 4px #ef3550,
-8px 8px #f48fb1,
-12px 12px #7e57c2,
-16px 16px #2196f3,
-20px 20px #26c6da,
-24px 24px #43a047,
-28px 28px #eeff41,
-32px 32px #f9a825,
-36px 36px #ff5722;
}
body {
color: white;
background-color: black;
}
footer {
background-color: #101010;
}
figcaption {
text-align: center;
}