-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (75 loc) · 1.43 KB
/
Copy pathstyle.css
File metadata and controls
84 lines (75 loc) · 1.43 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
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800&display=swap');
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
display: grid;
place-content: center;
grid-template-columns: 220px 46px;
grid-template-rows: auto auto auto;
grid-template-areas:
"title title"
"name color"
"play play";
gap: 8px;
}
#canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
#canvasGame {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 21;
}
#title {
grid-area: title;
margin: 0 0 16px;
font-family: 'Orbitron', sans-serif;
font-weight: 800;
font-size: 48px;
color: #ffffff;
text-align: center;
letter-spacing: 2px;
}
#name {
grid-area: name;
padding: 10px 14px;
font-size: 16px;
font-weight: bold;
color: white;
background-color: #d9d9d9;
border: 2px solid #1a1a1a;
border-radius: 6px;
}
#color {
grid-area: color;
aspect-ratio: 1 / 1;
padding: 0;
border: 2px solid #1a1a1a;
border-radius: 6px;
cursor: pointer;
}
#play {
grid-area: play;
padding: 10px 14px;
font-size: 16px;
font-weight: bold;
color: white;
background-color: #7a7a7a;
border: 2px solid #1a1a1a;
border-radius: 6px;
cursor: pointer;
}
#play:hover {
background-color: #8c8c8c;
}