-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (60 loc) · 1.41 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
.attribution {
width: max-content;
font-size: 11px;
text-align: center;
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
}
.attribution a {
color: hsl(228, 45%, 44%);
}
body {
background-color: hsl(212, 45%, 89%);
}
.outer-box {
background-color: hsl(0, 0%, 100%);
width: 320px;
padding: 17px;
box-sizing: border-box;
text-align: center;
font-family: outfit;
border-radius: 20px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
-ms-border-radius: 20px;
-o-border-radius: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
box-shadow: 0px -3px 50px 0px rgba(0, 0, 0, 0.1);
}
.outer-box img {
width: 100%;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
}
section h1 {
color: hsl(218, 44%, 22%);
font-size: 22px;
font-weight: 700;
}
.inner-box p {
color: hsl(220, 15%, 55%);
font-size: 15px;
font-weight: 400;
padding: 0 20px;
}