-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (94 loc) · 1.65 KB
/
Copy pathstyle.css
File metadata and controls
111 lines (94 loc) · 1.65 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #f4f4f9;
text-align: center;
padding: 50px;
}
h1 {
font-size: 3rem;
margin-bottom: 30px;
color: #333;
}
#game-container {
display: flex;
justify-content: center;
margin-bottom: 30px;
}
.color-btn {
width: 100px;
height: 100px;
border-radius: 10px;
margin: 10px;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
transition: transform 0.2s;
}
#green {
background-color: green;
}
#red {
background-color: red;
}
#yellow {
background-color: yellow;
}
#blue {
background-color: blue;
}
.color-btn.active {
transform: scale(1.1);
}
#game-status {
margin-top: 20px;
font-size: 1.2rem;
color: #333;
}
#start-btn {
margin-top: 20px;
padding: 10px 20px;
font-size: 1.2rem;
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#start-btn:hover {
background-color: #45a049;
}
#status {
font-weight: bold;
}
#level-message {
font-size: 24px;
font-weight: bold;
color: green;
text-align: center;
margin-top: 20px;
opacity: 0;
transition: opacity 0.5s ease-in-out;
display: none;
}
#level-message.show {
opacity: 1;
display: block;
}
.my-text {
font-size: 1.5rem;
margin-top: 20px;
color: #333;
opacity: 0;
transition: opacity 0.5s ease-in-out;
display: none;
}
.my-text.show {
opacity: 1;
display: block;
transition: opacity 0.5s ease-in-out;
}