-
Notifications
You must be signed in to change notification settings - Fork 3
/
common.css
175 lines (172 loc) · 3.07 KB
/
common.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/* Background animation - Credit to AffectedArc07 from the SS13 WebMap https://affectedarc07.github.io/SS13WebMap/ */
@keyframes animateBackground {
from {
background-position: 0 0;
}
to {
background-position: -960px 0;
}
}
.layer1,
.layer2,
.layer3 {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-repeat: repeat;
z-index: -1;
}
.layer1 {
background-image: url("images/layer1.webp");
animation: animateBackground 80s linear infinite;
}
.layer2 {
background-image: url("images/layer2.webp");
animation: animateBackground 40s linear infinite;
}
.layer3 {
background-image: url("images/layer3.webp");
animation: animateBackground 20s linear infinite;
}
.mainbox {
background-color: #272727;
text-align: center;
margin: 5% 10%;
padding-bottom: 5rem;
}
ul.topnav {
list-style-type: none;
margin: 0;
padding: 0;
margin: 0;
position: sticky;
overflow: hidden;
border-bottom: 2px solid #161616;
background: #383838;
}
ul.topnav li {
float: left;
}
ul.topnav li a {
display: block;
color: #fff;
text-decoration: none;
font-size: 16px;
background: #40628a;
border: 1px solid #161616;
padding: 1px 4px;
margin: 0 1px;
}
ul.topnav li a:hover {
color: #40628a;
background: #fff;
}
ul.topnav li a.active {
color: #fff;
background: #408a4a;
}
a {
color: #4f9ad2;
text-decoration: none;
}
a:hover {
color: #40628a;
text-decoration: underline;
}
ul.topnav li.right {
float: right;
}
@media screen and (max-width:750px) {
.mainbox {
width: 100%;
margin: 0;
}
ul.topnav li,
ul.topnav li.right {
float: none;
}
}
body {
padding: 10px;
font-size: 14px;
color: #fff;
line-height: 170%;
font-family: Verdana,Geneva,sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 16px 0 8px;
color: #4f9ad2;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 18px;
}
h3 {
font-size: 16px;
}
h4 {
font-size: 14px;
}
.progress-reports {
margin: 30px;
padding: 10px;
list-style-type: none;
background-color: #383838;
}
.mapbox {
width: 100%;
height: 0;
padding-bottom: 50%;
}
.leaflet-container {
background-image: url("images/layer1.webp");
animation: animateBackground 20s linear infinite;
background-repeat: repeat;
}
.collapsible {
background-color: #383838;
font-weight: 700;
color: #517087;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 18px;
}
.collapsible:hover {
background-color: #ccc;
}
ul.simple_list {
list-style-type: none;
padding-left: 0;
}
ul.simple_list li a {
display: block;
color: #fff;
text-decoration: none;
font-size: 16px;
background: #40628a;
border: 1px solid #161616;
padding: 1px 4px;
margin: 0 1px;
}
ul.simple_list li a:hover {
color: #40628a;
background: #fff;
}
ul.simple_list li a.active {
color: #fff;
background: #628a40;
}