-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (115 loc) · 2.77 KB
/
style.css
File metadata and controls
121 lines (115 loc) · 2.77 KB
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
118
119
120
121
body {
font-family: 'Bubblegum Sans', cursive;
background: url("background.jpg");
background-size: cover;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
overflow: hidden;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.2);
z-index: -1;
}
h1 {
color: #e91e63; /* Pink color */
font-size: 4vw;
margin-bottom: 2vh;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}.gauge-container {
position: relative;
width: 60vh;
height: 60vh;
max-width: 500px;
max-height: 500px;
margin-bottom: 4vh;
display: flex;
justify-content: center;
align-items: center;
}.gauge {
width: 100%;
height: 100%;
position: relative;
}.gauge-background {
fill: rgba(255, 255, 255, 0.5);
stroke: none;
}.gauge-fill {
fill: #4caf50;
stroke: none;
transition: d 1s ease-in-out; /* Smooth transition for the path */
}.gauge-cover {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60%;
height: 60%;
background-color: rgba(255, 255, 255, 0.7);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #e91e63; /* Pink color */
z-index: 2;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}.lily-image {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
height: auto;
border-radius: 50%;
object-fit: cover;
transition: opacity 0.5s ease-in-out;
z-index: 1;
}.refill-buttons {
display: flex;
gap: 2vw;
}.refill-buttons button {
background-color: #e91e63; /* Pink color */
color: white;
padding: 1.5vh 3vh;
font-size: 2vw;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease;
}.refill-buttons button:hover {
background-color: #d81b60;
}
#pauseButton {
background-color: #4CAF50; /* Green color */
color: white;
padding: 1.5vh 3vh;
font-size: 2vw;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease;
margin-top: 2vh;
}
#pauseButton:hover {
background-color: #388E3C;
}
.star-stickers {
font-size: 3vw;
margin-top: 1vh;
}
@media (max-width: 768px) {
/*... (media query styles)... */
}