-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
494 lines (403 loc) · 9.68 KB
/
style.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
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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
/*
Theme Name: ececlub
Theme URI: http://ece.skule.ca;
Theme URI: http://www.ececlub.com;
Description: a theme created for U of T ECE's club website
Author URI: http://ece.skule.ca;
Version: 1.0
Tags: responsive, purple, slideshows
*/
@font-face {
font-family: BebasNeue; /*a name to be used later*/
/*src: url('Antonio-Regular.ttf'); /*URL to font*/
/*src: url('BPdotsCondensed.ttf'); /*URL to font*/
src: url('font/BebasNeue.otf'); /*URL to font*/
}
html,body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
/*=======================================
================header===================
=========================================
*/
/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by its height */
margin: 0 auto 0px;
/* Pad bottom by footer height */
padding-top: 10px;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
#wrap>.container {
padding: 60px 15px 0;
}
/*=======================================
==============main content===============
=========================================
*/
#bannerHome{
padding: 0px 0px 20px 0px;
position: relative;
height: auto;
/*min-width: 368px;*/
background: #112043; /* Old browsers */
background: -moz-linear-gradient(top, #112043 0%, #36547d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#112043), color-stop(100%,#36547d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #112043 0%,#36547d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #112043 0%,#36547d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #112043 0%,#36547d 100%); /* IE10+ */
background: linear-gradient(top, bottom, #112043 0%,#36547d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#112043', endColorstr='#36547d',GradientType=0 ); /* IE6-9 */
background: #27241f;
margin-bottom: -0px;
}
#cover-link{
background: black;
padding: auto;
margin: auto;
}
#bannerDescription{
position: absolute;
bottom: 30px;
right: 40px;
max-width: 400px;
max-height: 95%;
color: #ffffff;
text-align: right;
}
#discussion-sticker{
position:absolute;
left: 80px;
top: -100px;
z-index: 10;
}
#discussion-sticker-mobile{
position:absolute;
right: 0px;
bottom: -50px;
z-index: 1000;
}
.center-block{
display: block;
position: relative;
margin-left: auto;
margin-right: auto;
}
img.grayscale {
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
filter: gray; /* IE6-9 */
-webkit-filter: grayscale(1);
}
/*=======================================
==============blog posts===============
=========================================
*/
.post{
background-color: #e3e3e3;
margin-bottom: 20px;
padding: 0px;
}
/* for scaling purposes */
.post img{
width: 100%;
height: auto;
}
#colorstrip{
width: 100%; height: 6px;
background-color: #b8bfc9;
}
.post .timestamp{
background-color: #dadcde;
color: #858f9e;
padding: 0px 60px 0px 60px;
font-style: italic;
text-shadow: 1px 1px #f4f4f5;
}
.post .post-content{
padding: 0px 60px 0px 60px;
font-size: 14px;
}
.post .post-content h3{
color: #36547d;
font-size: 30px;
text-shadow: -2px 0 4px #ecf4ff;
}
.pagination-wrap{
padding-left: 15px;
}
/*=======================================
=============front page side bar=========
=========================================
*/
#billboard{
background-color: #36547d;
position: relative;
padding-bottom: 10px;
width: 100%;
margin-bottom: 30px;
}
#billboard:before{
content: '';
position: absolute;
top: 0; right: 0;
border-top: 55px solid white;
border-left: 55px solid #36547d;
width: 0;
}
#wrap>.container {
padding: 30px 15px 0;
}
#billboard h2{
padding-top: 20px;
padding-bottom: 10px;
color: #ffffff;
text-shadow: -2px 0 4px #19273a;
font-family: 'BebasNeue';
}
#billboard table{
position: relative;
z-index: 1;
padding-right: 20px;
}
#billboard tbody tr:nth-child(odd) td{
background-color: #e5ecf9;
}
#billboard tbody tr:nth-child(even) td{
background-color: #ffffff;
}
#billboard tfoot tr{
background-color: #ffffff;
}
#billboard tbody tr td a{
color: #428bca;
}
#billboard tbody tr td a:visited,
#billboard tbody tr td a:hover{
color: #428bca;
}
.shadowed {
/* -webkit-filter: drop-shadow(7px 7px 5px rgba(0,0,0,0.5));
filter: url(#drop-shadow);
-ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
*/
}
root {
display: block;
}
/*=======================================
===========footer========================
=========================================
*/
/* Sticky footer styles
-------------------------------------------------- */
/* Set the fixed height of the footer here */
#footer {
height: 100px;
background-color: #eaeaea;
padding-top: 20px;
padding-bottom: 20px;
font-size: 11px;
color: #7d7d7d;
margin-top: 40px;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
.container .credit {
margin: 20px 0;
}
#footer{
clear: both;
}
#footer > .container {
padding-left: 15px;
padding-right: 15px;
clear: both;
}
#footer a:link, a:visited, a:hover {
text-decoration: none;
color: #7d7d7d;
}
/*=====================================================
===========addition style for home page================
=======================================================
*/
.nav{
/*margin-left: 100px;*/
height: auto;
padding-top: 14px;
}
#banner-image-container{
height: auto;
width: 100%;
background-color: #000;
overflow: hidden;
}
#banner-image{
width: 100%;
height: auto;
}
#main-container{
width: 70%;
height: auto;
margin: 0 auto;
padding-top: 30px;
}
#content-post{
width:65%;
height:auto;
float: left;
}
#sidebar{
width:33%;
height:auto;
float: right;
}
.col-md-8{
width: 100%;
/*margin: 10px 60px 0 60px;*/
}
.post{
width: 100%;
border-top:solid 6px #b8bfc9;
}
.post-content{
padding: 0 60px;
}
.post-content h1{
font-family: 'BebasNeue';
width: 80%;
text-align: justify;
color: #36547d;
font-size: 25px;
}
.post-content a img{
width: 80%;
height: auto;
}
#subtitle{
background-color: #dadcde;
width: 100%;
margin: 0 auto;
text-align: center;
}
#subtitle p{
color: #858f9e;
font-style: italic;
text-shadow: 1px 1px #f4f4f5;
}
.page-container h1{
padding-top: 30px;
text-align:center;
}
.horizontal-rule{
background: -webkit-linear-gradient(top, rgba(18, 32, 67, 1),
rgba(43, 66, 110, 1)); /* For Safari */
background: -o-linear-gradient(bottom, rgba(18, 32, 67, 1),
rgba(43, 66, 110, 1)); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(bottom, rgba(18, 32, 67, 1),
rgba(43, 66, 110, 1)); /* For Firefox 3.6 to 15 */
background: linear-gradient(to bottom, rgba(18, 32, 67, 1),
rgba(43, 66, 110, 1)); /* Standard syntax (must be last) */
border: 0;
height: 4px;
}
/*=====================================================
==========================calendar table=================
=======================================================
*/
.gce-feed .event-wrapper:nth-child(even){
background-color: #e5ecf9;
}
.gce-feed .event-wrapper:nth-child(odd){
background-color: #ffffff;
}
.event-wrapper{
display: table;
padding-left: 10px;
padding-right:10px;
width: 100%
}
.event-time{
width: 120px;
float:left;
background-color: #e5ecf9;
}
.event-title{
background-color: #e5ecf9;
display: block;
}
.event-date{
width: 100%;
background-color: #ffffff;
}
/*=====================================================
==========================constitution=================
=======================================================
*/
#constitution-container{
margin: 40px auto;
width: 800px;
margin-bottom: 80px;
}
#frame-const iframe{
width: 100%;
height: 100vh;
padding: 0 auto;
}
#frame-const h4{
margin:100px 0 30px 0;
text-decoration: underline;
}
.pdf-frame{
width: 100%;
height: 100vh;
}
/*=====================================================
=======================Anti Calendar===================
=======================================================
*/
table.rating {
width: 100%;
}
/*=====================================================
==========================@media=======================
=======================================================
*/
@media ( max-width : 801px) {
#main-container{
width: auto;
}
#site-title {
margin-left: 10px;
margin-bottom: -55px;
z-index: 999;
color: white;
}
.navbar-inverse .navbar-toggle {
border-color: #333333;
height: 30px;
padding-top: 7px;
margin-bottom: 0px;
}
}
@media ( max-width : 1000px){
#sidebar{
float: bottom;
width: 84%;
margin-right: 8%;
margin-bottom: 50px;
}
#content-post{
width:88%;
float: right;
margin-right: 7%;
}
}