-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimpleSimon.css
More file actions
109 lines (91 loc) · 1.65 KB
/
simpleSimon.css
File metadata and controls
109 lines (91 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
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f5f5f5;
margin: 0;
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
h1 {
color: #333;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 40px;
}
.square {
width: 100px;
height: 100px;
background-color: gray;
margin: 10px;
border-radius: 10px;
opacity: 1;
transition: opacity 0.5s;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
color: #fff;
cursor: pointer;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
#square1 {
background-color: #165a86;
}
#square2 {
background-color: #ff5c24;
}
#square3 {
background-color: #e363ff;
}
#square4 {
background-color: #3f864c;
}
.square.selected {
opacity: 0.6;
}
.square.correct {
background-color: green;
}
.square.incorrect {
background-color: red;
}
#score {
font-size: 24px;
margin-top: 20px;
}
#start-button {
font-size: 24px;
margin-top: 20px;
padding: 10px 20px;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s;
}
#start-button:hover {
background-color: #45a049;
}
/* Media Queries */
@media (max-width: 410px) {
.container {
flex-direction: column;
align-items: center;
}
.square {
width: 80%;
height: auto;
margin: 10px 0;
}
#start-button {
width: 80%;
}
}