-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
133 lines (106 loc) · 2.32 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
========================================================================
Point-Region Quadtree
Copyright (C) 2017 Roland Rytz <roland@draemm.li>
Licensed under the GNU Affero General Public License Version 3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
For more information, see:
https://draemm.li/various/quadtree/LICENSE
========================================================================
*/
*{
box-sizing: border-box;
margin: 0px;
padding: 0px;
border: none;
}
html, body{
height: 100%;
}
body {
font-family: sans-serif;
display: flex;
flex-direction: column;
overflow: hidden;
background-color: #333333;
color: #FFFFFF;
}
a{
cursor: pointer;
color: #FFAA00;
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
a#title:hover{
text-decoration: none;
}
a#title:hover > h1{
color: #FFAA00;
}
h1{
padding: 10px;
font-weight: 200;
color: #FFFFFF;
display: inline-block;
border-right: 1px #555555 solid;
margin-right: 10px;
text-shadow: 2px 2px 0px #000000;
}
.menuContainer{
display: inline-block;
border-left: 1px #555555 solid;
margin-left: 10px;
padding-left: 15px;
height: 100%;
}
#canvasContainer{
flex-grow: 1;
width: 100%;
background-color: #000000;
cursor: crosshair;
padding: 0px;
overflow: hidden;
}
#infobox{
position: absolute;
padding: 5px;
background-color: rgba(0, 0, 0, 0.5);
}
footer{
text-align: right;
padding: 10px;
}
label.fancyRadio,
button{
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
background-color: #333333;
font-size: 16px;
color: #FFFFFF;
border: 1px #222222 solid;
cursor: pointer;
margin: 0px;
padding: 5px 15px;
display: inline-block;
}
label.fancyRadio:hover,
button:hover{
background-color: #666666;
}
input[type="radio"].fancyRadio{
display: none;
}
input[type="radio"]:checked + label.fancyRadio{
background-image: none;
background-color: #606060;
}
div.fancyRadio{
display: inline-block;
}