-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (81 loc) · 1.45 KB
/
Copy pathstyle.css
File metadata and controls
90 lines (81 loc) · 1.45 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
html, body {
margin: 0;
padding: 0;
width: 240px;
height: 320px;
overflow: hidden;
background: #000;
font-family: Arial, sans-serif;
}
h1 {
margin: 12px 0;
color: #fff;
font-size: 20px;
font-weight: bold;
text-align: center; /* center only titles */
}
h2 {
margin: 10px 0;
color: #fff;
font-size: 16px;
font-weight: bold;
text-align: center;
}
p {
margin: 6px 12px;
color: #fff;
font-size: 13px;
line-height: 1.4;
text-align: left; /* keep paragraphs readable */
}
#menu, .page {
display: none;
width: 240px;
height: 320px;
background: #000;
color: #fff;
}
#menu.active, .page.active {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
button {
display: block;
width: 200px;
margin: 8px auto; /* center buttons only */
padding: 10px;
font-size: 14px;
font-weight: bold;
color: #fff;
background: linear-gradient(180deg, #1e90ff, #0066cc);
border: none;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.5);
text-align: center;
}
button:hover {
background: linear-gradient(180deg, #00bfff, #0077cc);
}
canvas {
background: #000;
width: 240px;
height: 320px;
display: none;
margin: 0;
padding: 0;
}
#pauseMenu {
display: none;
position: absolute;
top: 100px;
left: 50%;
transform: translateX(-50%);
background: rgba(0,0,0,0.9);
padding: 12px;
border-radius: 10px;
width: 200px;
color: #fff;
text-align: center;
}