forked from ChromeGaming/GameSphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
92 lines (77 loc) · 1.34 KB
/
styles.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
*{
margin: 0;padding: 0;
}
.main {
width: 100%;
height: 90vh;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Merriweather', serif;
}
.simon {
position: relative;
margin-top: 50px;
padding: 10px;
border-radius: 5px;
}
.buttonContainer {
display: inline-grid;
grid-gap: 10px;
grid-template-columns: auto auto;
transform: rotate(45deg);
}
.square {
border-radius: 5px;
width: 150px;
height: 150px;
cursor: pointer;
}
.square:active,
.active {
filter: brightness(125%);
}
.red {
background-color: #EE6352;
}
.blue {
background-color: #08B2E3;
}
.green {
background-color: #57A773;
}
.yellow {
background-color: #FFDF64;
}
#startButton {
width: 100px;
border: none;
font-family: 'Merriweather', serif;
cursor: pointer;
border-radius: 5px;
color: #fff;
background-color: #587792;
padding: 10px;
font-size: 20px;
}
#startButton:disabled {
background-color: #eee;
}
.title {
width: min-content;
}
.winner {
animation: spin 1s ease-in-out;
}
@keyframes spin {
100% { transform:rotate(180deg) } }
header{
width: 100%;
height:60px;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
text-align: center;
font-size: 26px;
}