-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (106 loc) · 1.91 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
body {
background-color: antiquewhite;
position: relative;
}
.hidden {
display: none;
}
.cake {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.cake__info {
font-size: 20px;
}
.cake__count {
font-weight: 700;
text-decoration: underline;
}
.progress-bar {
width: 100px;
background-color: #3d31316c;
border-radius: 3px;
}
.progress-bar-fill {
display: block;
height: 10px;
background-color: #17e004;
border-radius: 3px;
}
.cake__button {
font-weight: 700;
padding: 10px;
width: 150px;
border-radius: 10px;
border: 1px solid black;
background-color: #17e004;
transition: background-color 0.5s;
margin-bottom: 50px;
}
.cake__button:disabled {
background-color: grey;
color: white;
}
.cake__button--pause {
background-color: #fe2525;
color: white;
}
.cake__button-info {
color: #fe2525;
font-weight: 700;
}
/* COOKIES TABLE */
.cookies-table {
display: flex;
flex-wrap: wrap;
height: 100px;
gap: 20px;
}
.cookies-table--click {
position: absolute;
font-size: 32px;
pointer-events: none;
animation-name: clickEvent;
animation-duration: 1.5s;
}
.cookie {
border-radius: 50%;
background-color: yellow;
}
/* STOVE */
.stove__button {
border-radius: 10px;
padding: 10px;
background-color: firebrick;
color: white;
}
.stove__info {
text-align: center;
}
.oven {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-template-rows: repeat(3,100px);
border: 1px solid black;
}
.oven__slot {
background-color: white;
border: 1px solid black;
transition: all 0.5s;
}
.buy {
border-radius: 10px;
padding: 10px;
background-color: rgb(22, 17, 17);
color: white;
}
/* animation */
@keyframes clickEvent {
0% {opacity: 0; font-size: 16px;}
25% {opacity: 0.2; font-size: 20px;}
50% {opacity: 0.5; font-size: 24px;}
75% {opacity: 0.7; font-size: 28px;}
100% {opacity: 1; font-size: 32px;}
}