-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
177 lines (157 loc) · 2.8 KB
/
styles.css
File metadata and controls
177 lines (157 loc) · 2.8 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
*
{
font-family: 'Nova Flat', 'Allerta Stencil';
margin: 0;
padding: 0;
/* border: 1px solid red; */
}
.page
{
display: flex;
flex-direction: column;
background-color: #000000;
color: #3500D3;
}
.header
{
font-size: 48px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
flex: 1 1 0;
flex-wrap: wrap;
}
.footer
{
font-size: 22px;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
flex: 1 1 0;
flex-wrap: wrap;
}
.body
{
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 150px 100px;
background-color: #0C0032;
}
.center
{
color: #3500D3;
background-color: #0C0032;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
flex: 1 1 0;
}
.start-resultWinLose,
.rules-resultInfo
{
font-size: 28px;
font-weight: 600;
}
a
{
text-decoration: none;
color: #3500D3;
}
.roundChoiceAndScore
{
display: flex;
justify-content: center;
align-items: center;
gap: 6rem;
padding: 20px;
margin: 10px 0;
flex-wrap: wrap;
}
.player,
.computer
{
display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
justify-content: center;
}
.player .playerScore,
.computer .computerScore
{
font-size: 22px;
font-weight: 600;
}
.playerChoice,
.computerChoice
{
font-size: 84px;
}
.choices
{
display: flex;
gap: 2rem;
flex-wrap: wrap;
}
.choices button
{
border-radius: 12px;
padding: 50px;
background-color: #240090;
font-size: 64px;
border: 2px solid #240090;
}
#overlay
{
position: fixed; /* Sit on top of the page content */
display: none; /* Hidden by default */
width: 100%; /* Full width (cover the whole page) */
height: 100%; /* Full height (cover the whole page) */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5); /* Black background with opacity */
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
cursor: pointer; /* Add a pointer on hover */
}
.endGame
{
margin: 0;
display: flex;
gap: 1rem;
flex-direction: column;
background-color: #190061;
padding: 60px;
border-radius: 12px;
justify-content: center;
align-items: center;
}
.endgameMessage
{
font-size: 48px;
font-weight: bold;
}
.restart
{
font-size: 36px;
font-weight: bold;
border-radius: 12px;
padding: 20px;
background-color: #000000;
border: 2px solid #000000;
color: #240090;
}
#overlay.overlayActive
{
display: flex;
align-items: center;
justify-content: center;
}