/
nmstyle.css
237 lines (197 loc) · 4.66 KB
/
nmstyle.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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
/* body font color and background, also scrollbar color*/
body {
background-color: #141514;
color: #afcfff;
/* But IF.. */
scrollbar-arrow-color: #585858;
scrollbar-base-color: #1e1e1e;
scrollbar-highlight-color : #585858;
scrollbar-shadow-color : #585858;
scrollbar-track-color: #0C0C0C;
}
h1, h2, h3, h4 {
margin: auto;
}
/* all links */
a {
font-size: 24px
}
/* unvisited link */
a:link {
color: #ea8ab0;
/* no underlined stuff and stuff */
text-decoration: none;
}
/* visited link */
a:visited {
color: #51e6d9;
}
/* mouse over link */
a:hover {
color: #ba0044;
animation: blink 2s;
}
/* selected link */
a:active {
color: #ba0044;
}
/* main content */
form > div {
padding: 4px;
}
div.content{
border: 4px solid #445644;
border-radius: 8px;
padding: 4px;
background-color: #4d733f;
margin-top:6px;
overflow: auto;
}
.content a {
font-size: 18px;
}
div.error {
background-color: #a23f3f !important;
font-weight: bold;
}
div.info {
background-color: #437298 !important;
}
div.warn {
background-color: #656334 !important;
}
form {
display: table-caption;
}
/* The side navigation menu (See: https://www.w3schools.com/howto/howto_js_sidenav.asp)*/
.sidenav {
min-height: 82%; /* 100% Full-height */
width: 200px; /* 200px width - change this with JavaScript */
position: fixed; /* Stay in place */
/*z-index: 1; /* Stay on top */
top: 0;
left: 0;
background-color: #111; /* Black*/
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 8px; /* Place content 60px from the top */
transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
margin-top: 80px;
border-radius:10px;
border: 2px solid #445644;
background-color: #4d733f;
word-wrap: break-word;
}
/* The navigation menu links */
.sidenav a {
padding: 8px 8px 8px 8px;
text-decoration: none;
font-size: 25px;
color: #b5abab;
display: block;
transition: 0.3s;
}
.smallerLinks a {
font-size: 18px;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
color: #f1f1f1;
}
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
position: absolute;
top: 0;
right: 0px;
font-size: 36px;
margin-left: 50px;
}
#logo {
transition: 0.5s; /* 0.5 second transition effect to slide out the sidenav */
}
#main {
margin-top: 80px;
margin-left: 206px;
transition: 0.5s; /* 0.5 second transition effect to slide out the sidenav */
}
/* button */
input, select, textarea {
background-color: #d6e4b4 !important;
color: #025207 !important;
border: solid 1px #118702 !important;
padding: 4px !important;
}
/* All tables shall fit the whole screen size to the left */
table {
min-width: 100%;
text-align: center;
}
/* On smaller screens, where height is less than 480px, change the style of the sidenav and header nav. (less padding and a smaller font size)
if you are editing this, have also a look on navigation.js */
@media only screen and (max-device-width: 600px) {
#header ul {
display: grid !important;
}
#header li {
padding: 3px 16px !important;
text-align: left !important;
border-bottom: 1px solid #bbb;
border-right: none;
}
#header li a {
font-size:16px;
}
/* turn off the super duper overlapping and responsive stuff in mobile mode */
#header {
position: relative !important;
}
#main {
margin-top: auto;
}
.sidenav {padding-top: 15px; margin-top: 0px !important; position: relative !important; float:left !important;}
/* important for not getting an overwrite while opening/closing the navbar, see navigation.js */
.sidenav a {font-size: 18px !important;}
}
#header {
z-index: 100;
position: fixed;
top: 8px;
width: 99%;
}
#header ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #264472;
border-radius: 11px;
color: #A8C6F2;
}
#header a {
color: #A8C6F2;
}
#header a:hover {
color: #A8C6F2;
}
#header li {
font-size: 24px;
float: left;
border-right: 1px solid #bbb;
text-align: center;
text-decoration: none;
display: block;
padding: 14px 16px;
}
/* say explicitly that the links have to have this padding! */
#header li a{
padding: 14px 16px;
}
#header li a:hover {
background-color: #6fa0d7;
}
/* the first item of the right side */
#header li:nth-child(3) {
border-right: none;
}
tr.bordered {
border-bottom: 1px solid #000;
}