-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
342 lines (290 loc) · 9.9 KB
/
main.css
File metadata and controls
342 lines (290 loc) · 9.9 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
/* main.css */
/* These are the colors and fonts used throughout the webpage.
* I've listed them here so that a user may easily
* do a search-and-replace for these to change the site theme.
* 'Roboto',sans-serif; Font for the title text
* 'Roboto-Slab',serif; Font for the body text
* #fafafa; Background color of the site
* #505050; Foreground (text) color of the site
* #52739e; Navy, "Template" in the logo, current page in navigation, special titles in the Program
* #b2132e; Reddish, "Conference" in the logo, hover color for links
* #813c54; Heading color, titles in the Program
* #b8860b; Dark Goldenrod, color for links
*/
@import url('https://fonts.googleapis.com/css?family=Roboto%7CRoboto+Slab');
*{
border:0;
font:inherit;
font-size:1em;
margin:0;
padding:0;
vertical-align:baseline;
}
body{
background-color: #fafafa;
background-size: cover;
background-attachment: fixed;
color: #505050;
text-align:left;
font-family:'Roboto';
font-size:1em;
line-height:1.5em;
margin: 60px auto;
width: 1000px;
}
a{color: #b8860b; text-decoration:none;}
a.current{color: #52739e;}
a.current:hover{color: #e82945;}
a:hover{color: #b2132e;}
a:active{color: #e82945;}
h1,h2,h3,h4{clear:left; color: #813c54; margin:1.5em 0em 1em 0em; font-family:'Roboto',serif;}
h1{font-size:2em;}
h2{font-size:1.7em;}
h3{font-size:1.5em;}
h4{font-size:1.33em;}
p{list-style:none; margin:24px auto 24px auto; padding:0px; width:900px; text-align:left;}
li a, p a {text-decoration:underline; text-decoration-color:#b8860b;}
/*ul{list-style:none; margin:24px auto 24px auto; padding:0px; width:800px; text-align:left;}*/
/*ul li{list-style:none; margin:0px auto 0px auto; padding:0px; text-align:left;}*/
i,em{font-style:italic;}
b,strong{font-weight:bold;}
sup{
vertical-align: super;
font-size: 0.8em;
line-height: 0;
}
sub{
vertical-align: sub;
font-size: 0.8em;
line-height: 0;
}
table{
width: 1000px;
margin: 12px auto 24px auto;
float: center;
/* UNCOMMENT THIS FOR DEBUGGING THE ALIGNMENT */
/*border: 1px solid black;*/
}
th,td{
text-align: left;
/* UNCOMMENT THIS FOR DEBUGGING THE ALIGNMENT */
/* border: 1px solid black;*/
}
/* Website Banner */
/*.banner {position: relative; font-family:'Roboto',serif;}*/
/* Style the banner container */
.banner {
position: relative;
width: 100%;
height: 300px; /* Adjust the height as needed */
overflow: hidden;
}
/* Style the banner image */
.banner-image {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image covers the container */
}
/* Style the text overlay */
.banner-text {
position: absolute;
bottom: 10px; /* Distance from the bottom */
left: 10px; /* Distance from the left */
text-align: left;
color: #ffffff; /* Ensure the text color is visible */
}
.banner-text h1 {
font-size: 3em; /* Adjust font size as needed */
margin: 0;
color: #fafafa;
line-height: 1.25; /* Adjust as needed */
font-family: 'Roboto';
}
.banner-text p {
font-size: 1.5em;
margin: 0;
font-family: 'Roboto';
}
/*.top-left {font-size:5.33em; color: #505050; background: #fafafa; text-align: center; width: 1000px; height: 67px; position: absolute; padding: 36px 0 0 0; top: 0px;}*/
.top-left {
font-size: 5.33em; /* Large font size */
color: #505050;
background: #fafafa;
text-align: center;
width: 100%; /* Adjust width if necessary */
height: auto; /* Let height adjust to content */
position: absolute;
padding: 36px 0 0 0;
top: 0px;
line-height: 1.2; /* Add spacing between lines */
overflow: visible; /* Ensure no clipping of content */
}
.bottom-right {font-size:2.33em; color: #fafafa; line-height: 1.5em; width: auto; height: 100px; padding: 0px 27px 27px 0px; text-align: right; position: absolute; bottom: 0px; right: 0px;}
/* Conference Title Logo */
.title1{color: #b2132e;}
.title2{color: #52739e;}
.year{color: #505050; font-size:0.67em; font-weight: lighter;}
/* Navigation Links (Home, Registration, etc) */
table.navigation{width:800px;}
td.navigation{font-size:1.67em; white-space:nowrap; width:20%; text-align:center; vertical-align:middle; padding:0px 0px 0px 0px;}
/* Sponsor Images */
table.sponsors{width:800px;}
td.sponsor{white-space:nowrap; width:33%; text-align:center; vertical-align:middle; padding:0px 0px 0px 0px;}
td.sponsor img{width: 100%}
/* The Table on the Program Page */
td.room{padding: 4px 12px 4px 4px; width: 90%; vertical-align:bottom; font-size:1.67em; color: #52739e; height:32px;}
td.date{white-space:nowrap; width:130px; text-align:left; vertical-align:top; padding:4px 16px 0px 0px;}
td.title{padding: 4px 12px 4px 4px; width: 90%; vertical-align:top; font-size:1.3em; color: #813c54; height:32px; font-family:'Roboto',serif;}
td.title-special{padding: 4px 12px 4px 4px; width: 90%; vertical-align:top; font-size:1.3em; color: #52739e; height:32px; font-family:'Roboto',serif;}
td.speaker{padding: 4px 12px 4px 4px; font-style: italic; font-size:1em; max-height:999999px}
td.abstract{padding: 4px 12px 12px 4px; font-size:1em; max-height:999999px}
td.abstract img{display: block; margin: 4px auto 8px auto}
table.plenary{padding-top: 8px; background: #ffffff;}
/* Registration and Directions iframes and Images */
iframe.registration{display:block; margin:1em auto 2em auto; width:700px; height:1400px; border:none;}
iframe.location{display:block; margin:1em auto 2em auto; width:800px; height:400px; border:none;}
img.center{display:block; width:67%; margin:1em auto 2em auto;}
/* Flyer Images */
table.flyers{width:800px;}
td.flyer{white-space:nowrap; width:50%; text-align:center; vertical-align:middle; padding:0px 0px 0px 0px;}
td.sponsor img{width: 100%}
footer{font-size:0.875em; margin-top:12em; text-align:center;}
/* My hacky way of making the site mobile-friendly */
@media only screen and (max-width: 1100px) {
h2{font-size:3.00em;}
p{font-size:1.5em; line-height:1.5em;}
th,td,tr{font-size:1.5em; line-height:1.5em;}
td.date{font-size:1em; padding-top:0.5em;}
td.navigation{font-size:1.5em; padding:0px 20px 0px 20px;}
table.footer{font-size:0.33em;}
}
/* Speaker List */
.speaker-list {
display: flex;
flex-direction: column;
gap: 20px; /* Space between speaker entries */
margin: 20px auto;
max-width: 800px;
}
/* Individual Speaker Entry */
.speaker {
display: flex;
align-items: center;
gap: 20px; /* Space between image and text */
border-bottom: 1px solid #ccc; /* Separator between speakers */
padding: 10px 0;
}
/* Speaker Photo */
.speaker-photo {
width: 150px;
height: 150px;
object-fit: cover; /* Ensures photo fits the frame */
border-radius: 50%; /* Makes photo circular */
border: 2px solid #52739e;
}
/* Speaker Details */
.speaker-details h3 {
margin: 0 0 5px;
color: #813c54; /* Heading color */
font-family: 'Roboto', serif;
}
.speaker-details p {
margin: 2px 0;
color: #505050; /* Text color */
font-size: 1em;
}
/* Organiser List */
.organiser-list {
display: flex;
flex-direction: column;
gap: 20px; /* Space between organiser entries */
margin: 20px auto;
max-width: 800px;
}
/* Individual Organiser Entry */
.organiser {
display: flex;
align-items: center;
gap: 20px; /* Space between image and text */
border-bottom: 1px solid #ccc; /* Separator between organisers */
padding: 10px 0;
}
/* Organiser Photo */
.organiser-photo {
width: 100px;
height: 100px;
object-fit: cover; /* Ensures photo fits the frame */
border-radius: 50%; /* Makes photo circular */
border: 2px solid #52739e;
}
/* Organiser Details */
.organiser-details h3 {
margin: 0 0 5px;
color: #813c54; /* Heading color */
font-family: 'Roboto', serif;
}
.organiser-details p {
margin: 2px 0;
color: #505050; /* Text color */
font-size: 1em;
}
/* Info table */
.info-table {
width: auto; /* Optional: Adjust the table width */
margin-left: 0; /* Align the table to the left */
border-collapse: collapse; /* Remove space between cells */
border-collapse: separate; /* Required to apply border-spacing */
border-spacing: 10px; /* Adjust the value to set the space between columns */
}
.info-table td {
font-size: 1.2em;
font-weight: bold;
}
ul, ol {
list-style-position: inside; /* Ensure bullets/numbers are inside the margin */
margin: 24px auto; /* Match the `<p>` tag's margin */
padding: 0px; /* Remove additional padding */
width: 900px; /* Match the `<p>` tag's width */
text-align: left; /* Ensure left alignment */
}
ul li, ol li {
margin: 0; /* Remove additional margin */
padding: 0; /* Remove additional padding */
}
/* Navigation bar styling */
nav {
background-color: #333; /* Dark background */
overflow: hidden; /* Clear floating content */
}
nav a {
float: left; /* Align links horizontally */
display: block; /* Make links fill the container */
color: white; /* White text */
text-align: center; /* Center text */
padding: 14px 20px; /* Padding for links */
text-decoration: none; /* Remove underline */
}
nav a:hover {
background-color: #575757; /* Lighten background on hover */
}
.container {
display: flex;
align-items: flex-start; /* Aligns items to the top */
justify-content: space-between; /* Creates space between text and video */
max-width: 900px; /* Adjust width as needed */
}
.text {
text-align: left;
flex: 1; /* Allows text to take available space */
}
.video-container {
display: flex;
justify-content: center; /* Centers horizontally */
align-items: center; /* Centers vertically */
width: 100%; /* Ensures the container spans full width */
}
video {
display: block;
margin: auto;
border-radius: 10px; /* Keeps rounded corners */
}