-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
124 lines (94 loc) · 1.82 KB
/
main.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
@import url('https://fonts.googleapis.com/css2?family=Federo&family=Katibeh&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Federo', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
/* height: 100vh; */
margin-bottom: 40px;
background-color: #64AFDE ;
background-color: #1A7BB8;
color: #fff;
text-align: center;
}
h1{
margin-top: 10px;
padding: 0px;
font-size: 3rem;
}
h4{
margin-top: 5px;
padding: 0px;
font-size: 1.2rem;
}
h4 span{
display: flex;
flex-wrap: wrap;
width: 300px;
align-items: center;
justify-content: center;
}
.cup {
display: flex;
flex-direction: column;
overflow: hidden;
background-color: #fff;
height: 270px;
width: 180px;
border: 5px solid #0A4367 ;
border-radius: 5px 5px 70px 70px;
margin: 8px;
cursor: pointer;
transition: 0.3s ease;
}
.cups {
display: flex;
flex-wrap: wrap;
width: 300px;
align-items: center;
justify-content: center;
}
.cup.cupsmall {
background-color: #fff;
height: 80px;
width: 50px;
border: 3px solid #0A4367 ;
border-radius: 0 0 20px 20px;
color: #1A7BB8 ;
padding: 7px;
line-height: 16px;
}
.cups .full {
background-color: #64AFDE;
color: #fff;
transition: 0.9s ease;
}
.cup .remained {
color: blue;
display: flex;
flex-direction: column;
flex: 1;
align-items: center;
justify-content: center;
}
.remained span {
font-size: 2rem;
font-weight: bolder;
}
.remained small {
font-size: 20px;
}
.percentage {
color: blue;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
background-color: #64AFDE;
transition: 0.3s ease;
}