-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
445 lines (362 loc) · 9.57 KB
/
Copy pathstyles.css
File metadata and controls
445 lines (362 loc) · 9.57 KB
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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
:root {
--dark-yellow-color: #f57f17;
--light-orange-color: #fff3e0;
--yellow-color: #ffeb3b;
}
/* Basic style for the entire page */
body {
padding: 20px;
background-color: #fff9e6; /* Light yellow background for the page */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern and readable font */
color: #333; /* Dark gray text color for good contrast */
line-height: 1.6; /* Improved text readability */
margin: auto;
max-width: 1200px;
}
/* Style for the main banner */
#main_banner {
background-color: var(--yellow-color); /* Light yellow for a prominent banner */
margin: 0;
padding: 15px; /* More space for better appearance */
text-align: center; /* Center text */
border-top-left-radius: 12px; /* Rounded corners for a modern look */
border-top-right-radius: 12px; /* Rounded corners for a modern look */
box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* Soft shadow for emphasis */
font-size: 2em; /* Increased font size for importance */
font-weight: bold; /* Highlight text */
color: #333; /* Dark gray text color for contrast */
}
#main_banner a{
text-decoration: none;
color: #333; /* Dark gray text color for contrast */
}
/* Combined Breadcrumb and Hierarchical Navigation Panel */
#breadcrumb_hierarchy_panel {
padding: 10px;
background-color: #ffffff; /* Light yellow background */
font-size: 0.9em;
margin-bottom: 20px;
border-radius: 8px; /* Rounded corners for a modern look */
font-weight: normal;
border: 0px solid #ffa967;
box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* Soft shadow for emphasis */
}
#panel_current {
font-weight: bold;
}
#breadcrumb_hierarchy_panel a {
color: var(--dark-yellow-color); /* Dark yellow color for links */
text-decoration: none;
}
#breadcrumb_hierarchy_panel a:hover {
text-decoration: underline;
color: #e65100; /* Darker yellow color on hover */
}
#breadcrumb_hierarchy_panel span {
color: #795548; /* Brown color for the current page */
}
#breadcrumb {
padding-bottom: 8px;
border-bottom: 1px solid var(--yellow-color);
font-weight: bold;
}
#breadcrumb a {
display: inline-block;
padding: 6px 12px;
background-color: var(--yellow-color);
border-radius: 4px;
color: var(--dark-yellow-color);
text-decoration: none;
font-weight: bold;
margin-left: 4px;
margin-right: 4px;
margin-bottom: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
transition: background-color 0.3s, color 0.3s;
}
#breadcrumb a:hover {
background-color: #e65100;
color: #ffffff;
text-decoration: none;
}
/* Hierarchical Navigation Panel */
#hierarchy_panel {
display: flex; /* Flex layout for folder-like appearance */
flex-wrap: wrap;
gap: 10px; /* Space between items */
padding-top: 10px;
}
#hierarchy_panel a {
display: inline-block;
padding: 6px 12px;
background-color: var(--yellow-color); /* Light folder-like color */
border-radius: 4px; /* Rounded corners for folder-like style */
color: var(--dark-yellow-color); /* Dark yellow color for links */
text-decoration: none;
font-weight: bold;
box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Soft shadow for depth */
}
#hierarchy_panel a:hover {
background-color: #e65100; /* Darker yellow on hover */
color: #ffffff; /* White text on hover */
text-decoration: none;
}
#breadcrumb::before, #hierarchy_panel::before {
font-weight: normal;
color: #666;
font-style: normal;
}
#breadcrumb::before {
content: "Path: ";
padding-right:42px;
}
#hierarchy_panel::before {
padding-top:5px;
content: "Subpages: ";
}
/* Style for navigation menu */
nav {
padding: 15px;
background-color: var(--light-orange-color); /* Light orange background for navigation */
border-bottom-left-radius: 8px; /* Rounded corners for a modern look */
border-bottom-right-radius: 8px; /* Rounded corners for a modern look */
border-bottom: 3px solid #ffca28; /* Light yellow bottom border */
margin-bottom: 20px; /* Space below navigation */
box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Soft shadow for separation */
}
/* Navigation list style */
nav ul {
list-style: none; /* Remove default bullet points */
padding: 0; /* Remove default padding */
margin: 0; /* Remove default margin */
display: flex; /* Display list items in a row */
justify-content: center; /* Center align list items */
}
/* Navigation link style */
nav li {
margin: 0 15px; /* Space between list items */
/*margin-bottom: 12px;*/ /* Space between list items */
font-size: 1.2em; /* Increased font size for better readability */
}
/* Style for links in the navigation menu */
nav a {
color: #ff6f00; /* Light orange color for links */
text-decoration: none; /* No underline for a modern look */
font-weight: bold; /* Highlight links */
font-size: 110%;
}
nav a:hover {
text-decoration: underline; /* Underline on hover */
color: #e64a19; /* Darker orange color on hover */
}
/* Style for main content area */
main {
padding: 20px;
background-color: #ffffff; /* White background for contrasting content */
border-radius: 12px; /* Rounded corners for a modern look */
box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* Soft shadow for emphasis */
min-height:300px;
}
/* Style for lists */
section ul {
margin-left: 20px; /* Space on the left side of the list */
}
/* Style for the footer */
footer {
padding: 15px;
background-color: var(--yellow-color); /* Light yellow for the footer */
text-align: center; /* Center text */
border-top: 3px solid #ffca28; /* Light yellow top border */
margin-top: 20px; /* Space above footer */
box-shadow: 0 -4px 8px rgba(0,0,0,0.1); /* Soft shadow for separation */
font-size: 0.9em; /* Smaller font size for the footer */
color: #333; /* Dark gray text color for contrast */
}
/* Responsive design for navigation menu and banner on small screens */
@media (max-width: 768px) {
#main_banner {
font-size: 1.5em; /* Smaller font size for the banner on smaller screens */
padding: 10px; /* Reduce padding for better fit */
}
nav {
padding: 10px; /* Reduce padding for navigation on smaller screens */
}
nav a {
font-size: 0.9em; /* Smaller font size for navigation links */
}
nav ul {
flex-direction: column; /* Stack list items vertically on smaller screens */
align-items: center; /* Center align list items */
}
nav li {
margin: 10px 0; /* Space between list items when stacked */
}
body {
padding: 5px;
}
}
figure {border: 2px solid rgba(140,140,140,0.2);padding:10px;max-width: 600px;margin-left:0px;}
img {max-width:100%!important;}
/* Tables */
table, th, td {
border: 1px solid;
}
table {
border-collapse: collapse;
/*display: block;*/
overflow-x: auto;
margin-top: 20px;
}
th {
color: var(--dark-yellow-color);
background: var(--light-orange-color);
}
th,td {
padding: 5px;
}
#tags {
list-style: none;
padding: 0;
display: flex;
gap: 8px;
border-top: 2px solid #ddd;
padding-top: 20px;
margin-top: 60px;
}
#tags::before {
content: "Tags: ";
font-weight: bold;
padding-top: 5px;
}
#tags li {
background-color: #007acc;
color: white;
padding: 6px 12px;
border-radius: 16px;
font-size: 14px;
font-family: Arial, sans-serif;
white-space: nowrap;
}
code,pre {
background: black;
color: white;
font-weight: bold;
padding: 10px;
border: 2px solid green;
margin-top: 5px;
display: block;
font-size: 125%;
}
#toc {
border: 1px solid #ccc;
padding: 5px;
margin-bottom: 20px;
background-color: #f9f9f9;
font-size: 90%;
}
#tocButton {
margin-bottom: 20px;
}
/* Headers */
h1{font-size:250%; border-bottom:0;}
main section h1{border-bottom: 2px solid #bbb;}
h2{font-size:180%;}
h3{font-size:120%;}
/*h4{}*/
/*h1{}*/
h2{color:#4169E1;}
h3{color:#228B22;}
h4{color:#FF8C00;}
h5{color: #a600ff;}
h6{color: #c3b903;}
/*
body {
counter-reset: h2-counter;
}
h2 {
counter-reset: h3-counter;
counter-increment: h2-counter;
}
h2.ignore-counter {
counter-increment: none;
}
h2::before {
content: counter(h2-counter) ". ";
}
h3 {
counter-reset: h4-counter;
counter-increment: h3-counter;
}
h3::before {
content: counter(h2-counter) "." counter(h3-counter) " ";
}
h4 {
counter-increment: h4-counter;
}
h4::before {
content: counter(h2-counter) "." counter(h3-counter) "." counter(h4-counter) " ";
}
h5 {
counter-increment: h5-counter;
}
h5::before {
content: counter(h2-counter) "." counter(h3-counter) "." counter(h4-counter) "." counter(h5-counter) " ";
}
h6 {
counter-increment: h6-counter;
}
h6::before {
content: counter(h2-counter) "." counter(h3-counter) "." counter(h4-counter) "." counter(h5-counter) "." counter(h6-counter) " ";
}
/*/
.infobox {
float:right;border:1px solid black;text-align:left;margin-left:10px;
font-size:75%;
}
br {margin-bottom:10px;}
.infobox tr:first-child th:first-child {
text-align:center;font-size:125%;
}
section a:hover {
background: #fffd8d;
transition: background 0.3s ease;
}
#toggleButton {
background-color: #ff9800;
color: white;
padding: 10px 20px;
font-size: 18px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
#toggleButton:hover {
background-color: #e65100;
transform: scale(1.05);
}
section a {
text-decoration: none;
color: #0645AD;
}
section a:hover {
text-decoration: underline;
color: #0645AD;
}
a.ref {
color: #0056b3;
background-color: #eef5ff;
padding: 0 8px 0 8px;
border-radius: 3px;
text-decoration: underline;
font-weight: bold;
border: 1px solid blue;
margin-left: 5px;
margin-right: 5px;
}
a.ref::before {
content: "Ref: ";
}
blockquote {
background: #fff3e0; border: 2px solid orange; padding: 10px;
}