-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (95 loc) · 1.65 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
99
100
101
102
* {
margin: 0;
padding: 0;
box-sizing: 0;
}
body {
background-image: url("https://cdn.pixabay.com/photo/2013/07/12/17/49/landscape-152502_1280.png");
font-family: "Odibee Sans", cursive;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
text-align: center;
}
h1 {
font-size: 5rem;
margin: 4rem 0;
}
#score {
font-size: 2rem;
color: green;
}
.container {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.circle {
border-radius: 50%;
height: 150px;
width: 150px;
background-color: saddlebrown;
display: inline-block;
margin: 2rem 1rem;
display: flex;
align-items: center;
justify-content: center;
cursor: url("./img/watering\ can.png"), auto;
}
.flower.active {
visibility: visible;
}
button {
padding: 1rem 2rem;
border-radius: 5px;
background-color: burlywood;
margin: 1rem;
font-family: inherit;
font-size: inherit;
border: none;
cursor: pointer;
}
#overlay {
visibility: hidden;
position: fixed;
z-index: 100;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
}
.modal {
background-color: rgba(255, 255, 255, 0.911);
padding: 2rem;
width: 35%;
height: 25%;
border-radius: 10px;
position: relative;
}
.modal button {
position: absolute;
top: 0;
right: 0;
padding: 0.5rem 1rem;
background-color: transparent;
}
.modal p {
font-size: 1.5rem;
margin: 2rem 0;
color: rgba(194, 65, 33, 0.973);
}
#result {
color: green;
}
#stop {
display: none;
}
.flower {
font-size: 4rem;
visibility: hidden;
}