forked from andrewmunn/ciws-command
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
59 lines (52 loc) · 892 Bytes
/
Copy pathstyle.css
File metadata and controls
59 lines (52 loc) · 892 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
background: #05070d;
}
body {
-webkit-user-select: none;
user-select: none;
-webkit-touch-callout: none;
touch-action: none;
cursor: none; /* we draw our own crosshair in every state */
}
#scene,
#hud {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: block;
}
#scene {
z-index: 0;
}
/* The HUD canvas sits on top but never eats pointer events. */
#hud {
z-index: 1;
pointer-events: none;
}
/* Unobtrusive author credit -> the GitHub repo. */
#credit {
position: fixed;
right: 10px;
bottom: 8px;
z-index: 2;
font: 11px 'Courier New', monospace;
color: #5a6b7d;
text-decoration: none;
cursor: pointer;
pointer-events: auto;
}
#credit:hover {
color: #bcd2e6;
text-decoration: underline;
}