forked from webprogramming260/simon-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplay.css
119 lines (103 loc) · 1.93 KB
/
play.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
#count {
color: rgb(246, 239, 158);
}
.players {
flex: 1;
width: 100%;
padding: 0.5em;
}
.player-name {
color: rgb(118, 190, 210);
}
#player-messages {
padding-top: 0.25em;
opacity: 0.7;
}
.event {
color: rgb(69, 69, 69);
}
.player-event {
color: rgb(165, 220, 235);
}
.system-event {
color: rgb(221, 148, 40);
}
.game {
background: rgb(0, 0, 0);
border-radius: 50%;
box-shadow: 0 0 20px 5px rgb(69, 69, 69);
width: 80vw;
height: 80vw;
position: absolute;
min-width: 350px;
min-height: 350px;
max-width: min(80vmin, 1000px);
max-height: min(80vmin, 1000px);
}
.button-container {
width: 100%;
height: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.button-top-left {
border-radius: 100% 0 0 0;
margin: 20px 0 0 20px;
background-color: green;
border: thick solid rgb(36, 53, 0);
}
.button-top-right {
border-radius: 0 100% 0 0;
margin: 20px 20px 0 0;
background-color: red;
border: thick solid rgb(83, 12, 12);
}
.button-bottom-left {
border-radius: 0 0 0 100%;
margin: 0 0 20px 20px;
background-color: yellow;
border: thick solid rgb(130, 124, 13);
}
.button-bottom-right {
border-radius: 0 0 100% 0;
margin: 0 20px 20px 0;
background-color: blue;
border: thick solid rgb(27, 14, 100);
}
.controls {
position: absolute;
border-radius: 50%;
width: 200px;
height: 200px;
background-color: black;
padding: 2em;
display: flex;
align-items: center;
justify-content: space-around;
flex-direction: column;
}
.game-name {
font-size: 2em;
font-weight: bold;
margin-bottom: 0.5em;
}
.score {
position: absolute;
text-align: center;
font-size: 20px;
font-family: monospace;
font-weight: bold;
color: red;
cursor: default;
width: 50px;
height: 30px;
border-radius: 10px;
border: solid thin rgb(117, 0, 0);
background-color: #300;
}
.center {
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}