-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsisyfos.css
More file actions
92 lines (82 loc) · 1.56 KB
/
sisyfos.css
File metadata and controls
92 lines (82 loc) · 1.56 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
body,
html {
margin: 0;
padding: 0;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #87ceeb;
overflow: hidden;
}
#gameCanvas {
background-color: #add8e6;
border: 1px solid #000;
max-width: 96vw;
max-height: 82vh;
}
#nameDisplay {
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
font-size: 24px;
font-family: Arial, sans-serif;
color: #333;
padding: 5px;
border-radius: 5px;
pointer-events: none;
}
#hud {
position: absolute;
top: 44px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 16px;
font-family: Arial, sans-serif;
font-size: 16px;
color: #1f2937;
background: rgba(255, 255, 255, 0.55);
padding: 6px 10px;
border-radius: 8px;
}
.controls {
display: flex;
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
gap: 10px;
}
.controls button {
width: 60px;
height: 60px;
font-size: 28px;
border: none;
border-radius: 8px;
background-color: rgba(255, 255, 255, 0.88);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
cursor: pointer;
}
.controls button:active {
transform: translateY(1px);
}
@media (max-width: 768px) {
#nameDisplay {
font-size: 20px;
}
#hud {
font-size: 14px;
gap: 10px;
}
.controls {
gap: 6px;
}
.controls button {
width: 52px;
height: 52px;
font-size: 24px;
}
}