-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (76 loc) · 1.27 KB
/
Copy pathstyle.css
File metadata and controls
86 lines (76 loc) · 1.27 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
@keyframes grow {
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
body {
display: flex;
flex-direction: column;
align-items: center;
overflow-x: hidden;
font-family: 'Segoe UI', sans-serif;
background-color: #e6f4ea;
height: 100vh;
margin: 0;
padding: 0;
}
h1 {
font-size: 2rem;
font-weight: bold;
margin-bottom: 1rem;
color: #2e7d32;
text-align: center;
}
#timer {
font-size: 1.2rem;
margin-bottom: 1rem;
color: #4b6043;
text-align: center;
}
#buttons {
text-align: center;
}
button {
background-color: #66bb6a;
color: white;
border: none;
padding: 0.6rem 1.2rem;
margin: 0.25rem;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.2s;
}
button:hover {
background-color: #558b2f;
}
#garden {
margin-top: 2rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.plant {
animation: grow 0.5s ease-out;
font-size: 2rem;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
transform-origin: center;
flex: 0 0 auto;
transition: transform 0.3s ease;
}
.plant:hover {
transform: scale(1.2);
}