-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
61 lines (61 loc) · 1.08 KB
/
style.css
File metadata and controls
61 lines (61 loc) · 1.08 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
body {
background: #23272f;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
#pong-container {
position: relative;
}
#controls {
background: #266fed;
color: #fff;
padding: 16px 24px 12px 24px;
border-radius: 10px 10px 0 0;
margin-bottom: 0;
box-shadow: 0 4px 20px #0004;
font-family: 'Segoe UI', Arial, sans-serif;
}
#controls h2 {
margin: 0 0 5px 0;
font-size: 1.3em;
font-weight: bold;
}
#controls ul {
margin: 0;
padding-left: 1.2em;
font-size: 1.08em;
}
#controls li {
margin-bottom: 2px;
line-height: 1.5;
}
#controls kbd {
background: #fff6;
border-radius: 4px;
padding: 0px 5px;
font-size: 1em;
font-family: monospace;
}
#pong-canvas {
background: #191c22;
display: block;
border-radius: 0 0 10px 10px;
box-shadow: 0 8px 32px #0008;
}
#scoreboard {
color: #fff;
font-size: 32px;
font-family: monospace;
font-weight: bold;
display: flex;
justify-content: center;
gap: 1em;
position: absolute;
top: 16px;
width: 100%;
pointer-events: none;
text-shadow: 0 2px 8px #000c;
}