-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (85 loc) · 1.35 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "DM Sans", sans-serif;
}
body {
background-color: hsl(27, 66%, 92%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.chart {
width: 420px;
background-color: #ffff;
border-radius: 10px;
padding: 20px 10px 30px;
}
.title {
margin: 0 10px 30px;
font-size: 24px;
color: hsl(25, 47%, 15%);
}
.flex {
display: flex;
justify-content: space-between;
align-items: center;
}
.flex-item2 {
direction: rtl;
}
.flex-item2 .perc {
font-weight: 700;
}
.flex-item1,
.perc {
color: hsl(25, 47%, 15%);
}
.past,
.total {
color: hsl(28, 10%, 53%);
}
.sec {
border-top: 3px solid hsl(27, 66%, 92%);
padding: 20px 0 0;
margin: 20px 15px 0;
}
.head {
background-color: hsl(10, 79%, 65%);
display: flex;
padding: 20px;
width: 420px;
margin: 0 0 20px;
border-radius: 10px;
justify-content: space-between;
color: #ffff;
}
.sec1 h1 {
margin-top: 5px;
font-weight: 600;
font-size: 28px;
}
.attribution {
margin: 20px 0 0;
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
text-decoration: none;
}
@media screen and (max-width: 420px) {
.head,
.chart {
width: 380px;
}
}
@media screen and (max-width: 376px) {
.head,
.chart {
width: 350px;
}
}