-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
114 lines (97 loc) · 1.67 KB
/
style.css
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
html,
body {
margin: 0;
padding: 0;
background-color: #000;
color: #00aa00;
font-family: 'Press Start 2P', sans-serif;
}
.loading-indicator {
position: absolute;
top: 20%;
left: 50%;
transform: translateX(-50%);
pointer-events: none;
transition: opacity 2s ease;
transition-delay: 5s;
}
.loading-indicator.hide {
opacity: 0;
}
a {
color: #00aa00;
}
.layout {
height: 100vh;
width: 100vw;
display: grid;
grid-template-rows: 50vh;
grid-template-columns: 1fr 1fr 1fr;
}
.renderer {
grid-row: 1;
grid-column: 1 / -1;
position: relative;
}
.reticle {
display: block;
height: 20px;
width: 20px;
position: absolute;
border: 3px solid #ff0000;
border-radius: 20px;
top: calc(50% - 10px);
left: calc(50% - 10px);
}
.bookmarks {
grid-row: 2;
grid-column: 1 / 2;
border-top: 2px solid #00aa00;
max-height: calc(50vh - 20px);
overflow-y: scroll;
}
.bookmarks-list:empty::before {
content: 'No bookmarks. Press B to bookmark the selected object.';
}
.object-data {
grid-row: 2;
grid-column: 2 / 3;
border-top: 2px solid #00aa00;
max-height: calc(50vh - 20px);
display: flex;
flex-direction: column;
}
.object-title {
margin-top: 0;
}
.object-image {
border: 2px solid #00aa00;
height: 100%;
width: auto;
align-self: start;
}
.object-image[src=""] {
display: none;
}
.controls {
grid-row: 2;
grid-column: 3 / 4;
border-top: 2px solid #00aa00;
display: flex;
flex-direction: column;
}
.controls-list {
list-style-type: none;
padding: 0;
}
.controls-list li + li {
margin-top: 1em;
}
.key {
border: 2px solid #00aa00;
padding: 4px;
}
.sector {
margin-top: auto;
padding-bottom: 10px;
}