-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (71 loc) · 1.2 KB
/
style.css
File metadata and controls
83 lines (71 loc) · 1.2 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
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f4f4f4;
}
.game-container {
max-width: 400px;
margin: 50px auto;
background-color: white;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 2.5rem;
color: #333;
}
h3{
font-size: 1.5rem;
color: #333;
}
.simon-board {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-bottom: 20px;
}
.color-button {
width: 150px;
height: 150px;
border-radius: 10px;
cursor: pointer;
transition: opacity 0.2s ease-in-out;
}
.green {
background-color: #2ecc71;
}
.red {
background-color: #e74c3c;
}
.yellow {
background-color: #f1c40f;
}
.blue {
background-color: #3498db;
}
#start-button {
padding: 10px 20px;
font-size: 1.2rem;
background-color: #333;
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
#start-button:hover {
background-color: #555;
}
#message {
font-size: 1.2rem;
color: #333;
margin-top: 20px;
}
.color-button.active {
opacity: 0.6;
}
.blink{
background-color: white;
}
.bgRed{
background-color: red;
}