aboutsummaryrefslogtreecommitdiffstats
path: root/public/styles/simple.css
blob: f342e780c949cbd3fdc95f34a2f68ab10da0b9f0 (plain)
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
:root {
	--color_0: rgba(255, 255, 255, 0.75);
	--color_litegray: rgba(178, 178, 178, 0.8);
	--color_btn: #222;
	--color_text: #fff;
	--color_shadow: #000;
	--color_bg: #4c4c4c;
	--color_hover_bg: #ccc;
	--color_hover_text: #222;
}

* { margin: 0;
	padding: 0; }

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

body {
	width: 96%;
	background-color: white;
	margin: 15px auto; 
	padding: 20px; }

section, aside, h1, h2, h3, p {
	margin: 0;
	padding: 0;
}

section, aside {
	margin-bottom: 1em;
}

img {
	border-radius: 8px;
	max-width: 100%;
	height: auto;
	margin-bottom: .5em;
}

p {
	font-size: 95%;
	padding-bottom: .5em;
	line-height: 130%;
}

table, th, td {
	border: 0px solid black;
}

th, td {
	padding: 10px;
	text-align: center;
}

canvas {
	border: 1px solid gray;
}

div {
	padding: 15px;
}

#nav_menu ul {
	list-style: none;
	position: relative; }

#nav_menu ul li {
	float: left;
}
#nav_menu ul ul {
	display: none;         /* Don't display submenu until hover of the li element */
	position: absolute;
	top: 100%;             /* Position the submenu at the bottom of the main menu */
}
#nav_menu ul ul li {
	float: none;           /* Display the submenus vertically */
	position: relative;    /* So the second submenu can be positioned within the first submenu */
}
#nav_menu ul ul li ul {
	position: absolute;
	left: -100%;           /* Position the second submenu at the left side of the li element */ 
	top: 0;                /* Position the second submenu at the top of the li element */
}
#nav_menu ul li:hover > ul {
	display: block;        /* Display the submenu on hover of the li element */
}
#nav_menu ul::after {
	content: "";
	clear: both;
	display: block;
}

/* The styles for the formatting of the multi-tier navigation menu */
#nav_menu ul {
	width: 100%;
	margin: 0;
	padding: 0;
}
#nav_menu ul li {
	width: 25%;
}
#nav_menu ul li a {
	text-align: center;
	display: block;
	padding: 1em 0;
	text-decoration: none;
	background-color: var(--color_bg);
	color: var(--color_text);
	font-weight: bold;
}

#nav_menu ul li a.current {
	color: yellow;
}
#nav_menu ul li a:hover, #nav_menu ul li a:focus {
	background-color: var(--color_hover_bg);
}
#nav_menu ul li:hover ul {
	width: 100%;
}
#nav_menu ul li:hover ul li a {
	display: block;
	width: 178px;
	text-align: center;
}

#sidebar {
	margin: 0;
	padding: 10px;
	background-color: var(--color_litegray);
	right: 0;
	position: fixed; }

main {
	width: 76%; 
	float: left; }

footer {
	clear: both;
	width: 100%;
	padding-top: .7em;
}
footer p {
	font-size: 80%;
	text-align: center;
}

.slicknav_menu {
	font-size: 16px;
	box-sizing: border-box;
	background: var(--color_bg);
	padding: 5px;
}
.slicknav_menu .slicknav_menutxt {
	color: var(--color_text);
	font-weight: bold;
	text-shadow: 0 1px 3px var(--color_shadow);
}
.slicknav_menu .slicknav_icon-bar {
	background-color: var(--color_text);
}
.slicknav_btn {
	margin: 5px 5px 6px;
	text-decoration: none;
	text-shadow: 0 1px 1px var(--color_0);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: var(--color_btn);
}
.slicknav_nav {
	color: var(--color_text);
	margin: 0;
	padding: 0;
	font-size: 0.875em;
	list-style: none;
	overflow: hidden;
}
.slicknav_menu ul {
	list-style: none;
	overflow: hidden;
	padding: 0;
	margin: 0 0 0 20px;
}
.slicknav_menu .slicknav_row {
	padding: 5px 10px;
	margin: 2px 5px;
}
.slicknav_menu .slicknav_row:hover {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	background: var(--color_hover_bg);
	color: var(--color_text);
}
.slicknav_menu a {
	padding: 5px 10px;
	margin: 2px 5px;
	text-decoration: none;
	color: var(--color_text);
}
.slicknav_menu a:hover {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	background: var(--color_hover_bg);
	color: var(--color_hover_text);
}
.slicknav_menu .slicknav_txtnode {
	margin-left: 15px;
}
.slicknav_menu .slicknav_item a {
	padding: 0;
	margin: 0;
}
.slicknav_menu .slicknav_parent-link a {
	padding: 0;
	margin: 0;
}
.slicknav_brand {
	color: var(--color_text);
	font-size: 18px;
	line-height: 30px;
	padding: 7px 12px;
	height: 44px;
}