-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
223 lines (178 loc) · 4.83 KB
/
styles.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
/*@import url(https://fonts.googleapis.com/css?family=Abel); there seem to be a problem with bold for this font, not available? check*/
/*@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css);
body { background-color:#fefdfb; color: #555; font-family: 'Abel', sans-serif; font-size: 93%; font-weight:normal;margin: 0; }
a:link, a:visited, a:active{ color:inherit; text-decoration: none; }
a:hover {color: #000; text-decoration:underline; }
.right {text-align:right; }
.hide {display: none;}
nav {
display: table;
table-layout: fixed;
width: 75%;
margin: 0 auto;
}
#menu {
width:100%;
min-height:35px;
background-color: #000;
position:fixed;
z-index:100;
top:0; left:0;
}
#menu a {
background-color:inherit;
color: #fff;
}
ul#topnav {
display: table-row;
padding: 0;
overflow: hidden;
position:relative;
bottom:0;
}
ul#topnav li {
list-style-type: none;
display: table-cell;
text-align:center;
vertical-align:middle;
}
ul#topnav li a {
display:block;
padding:8px;
text-decoration:underline;
}
ul#topnav li a:hover {
color:#777;
text-decoration:none;
}
/*ul#topnav li> ul {
list-style-type: none;
margin:0;
padding:0;
}
ul#topnav li> ul > li{
font-size:120%;
float:left;
display:inline;
padding-right:5px;
}*/
ul#topnav li > ul {
display: flex; /* Flex container for alignment */
flex-wrap: nowrap; /* Prevent wrapping to a new row */
justify-content: center; /* Center the icons horizontally */
gap: 0px; /* Add space between icons */
padding: 0;
margin: 0;
list-style: none;
}
ul#topnav li > ul > li {
font-size: 120%; /* Keep the font size */
float: none; /* Remove float */
display: flex; /* Ensure items align as flex items */
align-items: center; /* Center icons vertically */
padding: 0; /* Remove extra padding */
}
#container {
width:100%;
margin-top:48px;
}
#pageheader {
display:table;
width:80%;
margin:auto;
}
.section {
width:80%;
border-top:1px solid #777;
padding:20px 0;
margin:auto;
}
.pageitem {
display:table;
table-layout:fixed;
width:100%;
margin-bottom:15px;
padding-top:15px;
text-align:justify;
}
.pageitem h1 {
font-size:250%;
font-weight:normal;
color:#555;
margin:0;
text-align:left;
}
.pageitem h2 {
font-size:180%;
background-color:inherit;
color:#444;
margin-top:0;
}
.pageitem p {
padding:0;
margin:1em 0;
font-size:115%;
line-height:175%;
}
.pageitem a {
text-decoration:underline;
}
.pageitem .col {
padding:0 2% 0 1%;
}
.col {
display: table-cell;
}
#footer {
display:table;
width:100%;
margin-bottom:15px;
padding:15px 0;
text-align:left;
font-size:89%;
color:#999;
}
#footer p {
text-align:left;
padding:0;
}
#credits {
display:table;
table-layout:fixed;
width:100%;
font-size:12px;
color:#777;
line-height:100%;
text-align:center;
}
#show-menu {display:none;}
.open, .close { background-color:inherit; color:#fff; text-align:right; font-weight:normal; font-size:1.5em; padding: 0; position:absolute; top:10%; right:5%; display:none; }
/* start make items responsive */
@media screen and (max-width : 1024px){
/* menu */
ul#topnav {display:none;}
.hide, .open { display:block;}
#show-menu:checked ~ .open {display:none;}
#show-menu:checked ~ .close {font-size:1.6em; display:block;}
#show-menu:checked ~ ul#topnav { display: block; position: absolute; top:100%; right:0%; width:100%; margin:0; margin-bottom:1%; overflow:visible; }
ul#topnav li { display: block; text-align:center; margin:0; background-color:#000; padding:1% 0;}
ul#topnav li a { display: block; padding-right:0%; padding-bottom:5px; text-decoration:none;}
ul#topnav li a:hover {text-decoration:underline;}
/*ul#topnav li> ul { display:table; float:none; table-layout:fixed; margin:0 auto;}*/
ul#topnav li > ul {
display: flex; /* Keep icons in flexbox layout */
flex-wrap: nowrap; /* Ensure icons remain in a single row */
gap: 0px; /* Reduce spacing for smaller screens */
}
ul#topnav li> ul > li {padding-left:10px; }
/* other items */
.pageitem h2 {font-size:120%;}
.pageitem p { padding:0; line-height:150%; font-size:99%;}
.pageitem .col {padding:0 3% 0 2%; }
}
@media screen and (max-width : 700px){
.col { float:left; margin:auto; width:100%; margin-bottom:10%;}
#credits p { text-align:center; margin-bottom:-10%;}
}
/* end make items responsive */