-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (69 loc) · 1.21 KB
/
style.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* general style start */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: hsl(212, 45%, 89%);
font-family: "Outfit", sans-serif;
font-size: 10px;
}
h1 {
color: hsl(218, 44%, 22%);
font-weight: 700;
font-size: 1.3rem;
}
h2 {
color: hsl(220, 15%, 55%);
font-weight: 400;
font-size: 1rem;
}
/* general style stop */
.container {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-content: center;
text-align: center;
}
.card {
background-color: white;
display: flex;
flex-direction: column;
justify-content: center;
width: 20%;
border-radius: 20px;
text-align: center;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
@media screen and (max-width: 375px) {
.card {
width: 60%;
}
}
@media screen and (max-width: 1020px) {
.card {
width: 40%;
}
}
.card img {
padding: 4% 4% 0 4%;
width: 100%;
border-radius: 20px;
}
.card h1 {
margin: 10px 20px;
}
.card h2 {
margin: 20px 20px;
}
.attribution {
font-size: 1.2rem;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}