-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
294 lines (244 loc) · 4.76 KB
/
style.css
File metadata and controls
294 lines (244 loc) · 4.76 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
/**/
/* for Markdown syntax highlighting */
@import url('static/pygments.default.css');
html {
font-family: sans-serif;
}
#container {
display: grid;
grid-template-columns: 1fr 250px;
grid-template-areas:
"header header"
"content nav"
"content sidebar"
"content footer";
grid-template-rows: auto auto auto 1fr;
justify-content: start;
grid-gap: 1em;
margin: 0;
padding: 0;
}
/* Responsive mobile layout */
@media screen and (max-width:800px) {
#container {
grid-template-columns: 1fr;
grid-template-areas: "header" "nav" "content" "sidebar" "footer";
grid-gap: 1ex;
}
nav ul {
display: flex;
flex-wrap: wrap;
}
nav li {
display: inline-block;
flex-grow: 1;
text-align: center;
border-top: solid white 1px;
}
#container header {
position: static;
}
#container header h1 {
margin-right: auto;
padding-bottom: 0;
margin-bottom: 0;
}
#container header .description ul {
position: static;
margin: 0;
padding: 0 1em 1em;
width: auto;
}
#container header .description li {
display: inline;
}
#container header .description li+li:before {
content: " ∙ ";
}
}
header {
grid-area: header;
background: #7cb6d5;
vertical-align: middle;
position: relative;
}
header h1 {
color: white;
text-shadow: rgba(0,0,0,0.75) 0 0 3px;
padding-left: 1ex;
margin-right: 250px;
}
header .description ul {
color: rgba(255,255,255,0.75);
font-weight: lighter;
font-style: italic;
text-shadow: rgba(0,0,0,0.5) 1px 1px 1px;
position: absolute;
right: 0;
top: 0;
width: 250px;
height: 100%;
z-index: 10;
margin: 0;
padding: 1ex;
box-sizing: border-box;
vertical-align: middle;
list-style-type: none;
}
#links {
grid-area: sidebar;
}
#nav {
grid-area: nav;
}
nav {
align-self: start;
border-radius: 1ex;
overflow: hidden;
}
#quicklinks {
margin-bottom: 1em;
}
nav h2 {
margin: 0;
padding: 0.5ex 8px 0.25ex;
margin-bottom: 0.25ex;
background: #333;
color: white;
text-shadow: black 0px 0px 3px;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul a {
display: block;
color: white;
text-decoration: none;
padding: 0.5ex 8px;
text-shadow: rgba(0,0,0,0.75) 0px 0px 2px;
}
nav ul ul a {
font-size: 90%;
padding-left: 32px;
}
nav ul a:hover {
background: rgba(255,255,255,0.15);
color: #ffc;
text-decoration: underline;
text-shadow: rgba(0,0,0,0.5) -1px 0px 0px,
rgba(0,0,0,0.5) 0px -1px 0px,
rgba(0,0,0,0.5) 1px 0px 0px,
rgba(0,0,0,0.5) 0px 1px 0px;
}
#content {
grid-area: content;
border: solid black 1px;
align-self: start;
}
#cfar {
grid-area: footer;
margin: 0;
padding: 0;
}
#content h1 {
color: white;
background: #8f0000;
padding: 12px;
margin: 0 0 1ex;
font-size: 125%;
}
#content h1 a {
color: white;
}
#content h2 {
font-size: 115%;
margin: 0;
padding: .5ex 8px;
background: #8f0000;
color: #eee;
}
#content article {
margin-bottom: 1em;
padding: 0 12px;
}
#content article h1 {
margin: 0 -12px;
}
#content article h2 {
background: white;
color: #700;
margin-top: 1ex;
padding: 0;
}
nav#quicklinks { background: #7cb6d5; }
nav#quicklinks h2 { background: #003f84; }
#nav nav { background: #ff9c3f; }
#nav nav .here >a { background: #8f0000; }
nav#lablinks { background: #bbb; }
nav#lablinks h2 { background: #888; }
#cfar img {
max-width: 100%;
height: auto;
}
a.more, .pagination {
font-size: small;
font-style: italic;
display: block;
}
#more { clear: left; }
.clear { clear: both; width:0; height:0; overflow:hidden;}
p {
text-align: justify;
hyphens: auto;
}
#index #content h1 p { display: inline; }
#index #content h1 span,
#index #content h2 span {
font-size: 75%;
}
#index #content h1 a,
#index #content h2 a {
color: #ff9c3f;
}
#content h3 {
font-size: 105%;
color: #770033;
}
a {
color: #00e;
}
a:hover, a:active {
color: #900;
}
span.title {
font-weight: bold;
}
.posted {
font-size: small;
font-style: italic;
}
#_mainpage #section_publications p {
display: inline;
}
#_mainpage #section_publications .wrapper {
text-align: justify;
margin: 1ex 0;
hyphens: auto;
}
#_mainpage #section_publications a.more {
display: inline;
}
.inset-right {
float: right;
margin: 0 0 0.2ex 1em;
max-width: 50%;
}
.inset-right img {
max-width: 100%;
height: auto;
}
.inset-right a:hover img {
box-shadow: 0 0 5px rgba(0,0,0,0.5);
}