-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpageStyle.css
69 lines (68 loc) · 1.63 KB
/
pageStyle.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
:root {
--menu-width: 300px;
--hs-width: 200px;
--popup-width: 300px;
--canvas-width: 480px;
--space-width: 5px;
}
.pageContainer{
width: 100%;
height: 100%;
}
.centering {
width: calc(var(--menu-width) + var(--space-width) + var(--canvas-width) + var(--space-width) + var(--hs-width));
position: relative;
margin: 0 auto;
display: block;
/* border: 1px solid red; */
}
#popup {
width: var(--popup-width);
height:100px;
margin: 0 0 0 calc(var(--menu-width) + var(--space-width) + (var(--canvas-width) - var(--popup-width))/2 - 20px);
padding: 20px;
box-shadow: 10px 10px 5px grey;
background-color: #d9d9d9;
position: absolute;
border: 1px solid black;
z-index: 1; /* display on top of anything else */
display:none;
}
canvas {
background: #eee;
position: relative;
margin: 0 0 0 calc(var(--menu-width) + var(--space-width));
}
.instruct {
width: var(--menu-width);
height: 100%;
position: absolute;
top: 0px;
margin: 0;
/* border: 1px solid black; */
}
.high {
width: var(--hs-width);
height: 100%;
overflow: auto;
position: absolute;
top: 0px;
margin: 0 0 0 calc(var(--canvas-width) + var(--menu-width) + var(--space-width) * 2);
/* border: 1px solid black; */
}
#highscores {
width: var(--hs-width);
}
.hs-table{
border-collapse: collapse;
}
.hs-table, .hs-table td, .hs-table th{
border: 1px solid black;
}
.hs-table td, .hs-table th {
text-align: left;
width: calc(var(--hs-width)/2);
}
.controls{
/* border: none; */
}