Skip to content

Commit 3fe7735

Browse files
simplifying the upcoming events section
1 parent 956f8e3 commit 3fe7735

File tree

3 files changed

+74
-306
lines changed

3 files changed

+74
-306
lines changed

_includes/event_layout.html

Lines changed: 0 additions & 63 deletions
This file was deleted.

_sass/style.scss

Lines changed: 29 additions & 164 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//Global styles here.
2-
31
.body {
42
//background-color: $main-background;
53
overflow-x: hidden;
@@ -9,11 +7,14 @@
97

108
}
119

12-
h2 {
13-
font-size: 24px;
10+
h2, h2 a {
11+
font-size: 30px;
12+
margin-bottom: 20px;
13+
color: black;
1414
}
15-
h3 {
16-
font-size: 20px;
15+
h3, h3 a {
16+
font-size: 22px;
17+
color: black;
1718
}
1819
p, a {
1920
font-size: 16px;
@@ -32,6 +33,10 @@ a {
3233
}
3334
}
3435

36+
section {
37+
padding: 20px 40px;
38+
}
39+
3540
.row {
3641
margin-left: 0;
3742
margin-right: 0;
@@ -134,6 +139,7 @@ a {
134139
}
135140

136141
#home {
142+
padding: 0;
137143
margin-top: -56px;
138144
}
139145

@@ -300,7 +306,7 @@ a {
300306
color: $nav-link-hover!important;
301307
}
302308

303-
.active {
309+
.navigation .active {
304310
color: $nav-active!important;
305311
}
306312

@@ -332,190 +338,45 @@ a {
332338

333339

334340
.upcoming-chapters-container {
335-
//background-size: cover;
336-
//background-position: center center;
337341
padding-bottom: 1em;
338342
min-height: 100vh;
339343
}
340344

341-
//.upcoming-chapters-container {
342-
// @include base-background("../images/events/events-chapters_background_480x205px.jpeg");
343-
//}
344-
//
345-
//@media (min-width: 481px){
346-
// .upcoming-chapters-container {
347-
// @include base-background("../images/events/events-chapters_background_960x540px.jpeg");
348-
// }
349-
//}
350-
//
351-
//@media (min-width: 961px){
352-
// .upcoming-chapters-container {
353-
// @include base-background("../images/events/events-chapters_background_1920x1080px.jpeg");
354-
// }
355-
//}
356-
//
357-
//@media (min-width: 1921px){
358-
// .upcoming-chapters-container {
359-
// @include base-background("../images/events/events-chapters_background_3840x2160px.jpeg");
360-
// }
361-
//}
362-
363-
.upcoming {
345+
#events img {
346+
height: 30px;
364347
}
365-
366-
@media (min-width: 768px) {
367-
.upcoming {
368-
}
369-
}
370-
371-
.upcoming__divider {
348+
#events hr {
372349
border-bottom: rgba(127, 160, 194, 0.05) 1px solid;
373350
width: 100%;
374351
margin: 0.25em 0 1em 0;
375352
}
376353

377-
.upcoming__col {
378-
background: $section-background;
379-
border-right: $blue 1px solid;
380-
border-left: $blue 1px solid;
381-
min-height: 100%;
382-
//box-shadow: $black-shadow;
383-
&:first-child {
384-
border-top: $blue 1px solid;
385-
border-top-left-radius: 5px;
386-
border-top-right-radius: 5px;
387-
}
388-
&:last-child {
389-
border-bottom: $blue 1px solid;
390-
border-bottom-left-radius: 5px;
391-
border-bottom-right-radius: 5px;
392-
}
393-
}
394-
395-
@media (min-width: 768px) {
396-
.upcoming__col {
397-
margin-top: 0;
398-
margin-bottom: 0;
399-
}
400-
}
401-
402-
.upcoming__title {
403-
@extend .section-title;
404-
//background-color: rgba(0, 0, 0, 0.5);
405-
width: 100%;
406-
color: $title-dark;
407-
margin-top: 1.5em;
408-
margin-bottom: 0;
409-
padding-top: 0.25em;
410-
padding-bottom: 0.25em;
411-
}
412-
413-
.upcoming__date {
354+
#events .date {
414355
@extend .title;
415356
color: $blue;
416-
font-size: 1.5em;
417357
margin-top: 0.5em;
418358
margin-bottom: 0.5em;
419359
}
420-
421-
.upcoming__project-logo {
422-
max-width: 33%;
423-
}
424-
425-
.upcoming__date-divider {
426-
border-bottom: $black 1px solid;
427-
width: 100%;
428-
margin: 0.25em 0;
429-
}
430-
431-
.upcoming__event-title {
432-
@extend .title;
433-
color: $black;
434-
font-size: 2em;
435-
margin-top: 0.5em;
436-
margin-bottom: 0.1em;
437-
}
438-
439-
.upcoming__event-subtitle {
440-
@extend .subtitle;
441-
color: $black;
442-
font-size: 1.25em;
443-
margin-bottom: 0.5em;
444-
}
445-
446-
.upcoming__paragraph {
447-
@extend .subtitle;
448-
color: $black;
449-
margin-bottom: 0.25em;
450-
}
451-
452-
.upcoming__icon {
453-
margin-right: 0.5em;
454-
}
455-
456-
.upcoming__sponsor-col {
457-
background: rgba(7, 41, 72, 0.52);
458-
border: $dark-blue 2px groove;
459-
border-radius: 0 5px 5px 5px;
460-
margin-bottom: 1em;
461-
}
462-
463-
.upcoming__content {
464-
margin-top: 5.5%;
465-
border-radius: 5px;
466-
box-shadow: $black-shadow;
467-
margin-left: 15px;
468-
margin-right: 15px;
469-
}
470-
471-
.upcoming__events-container {
472-
}
473-
474-
.upcoming__button-row {
475-
margin-top: 10%;
476-
margin-bottom: 10%;
477-
}
478-
479-
@media (min-width: 768px) {
480-
.upcoming__button-row {
481-
margin-top: 5.5%;
482-
margin-bottom: 5.5%;
483-
}
484-
}
485-
486-
.upcoming__link-col {
487-
padding-right: 0.5em;
488-
text-align: right;
489-
margin-top: auto;
490-
margin-bottom: 0.5em;
491-
}
492-
493-
.upcoming__button {
494-
@extend .button-minimal;
495-
min-width: 50%;
496-
padding: 0;
497-
}
498-
499-
.upcoming__button-icon {
500-
}
501-
502-
.chapters {
503-
}
504-
505-
.chapters__title {
506-
@extend .upcoming__title;
360+
#events .content {
361+
height: 50px;
362+
text-overflow: ellipsis;
507363
}
508364

509365
.chapters__content {
510366
margin-top: 5.5%;
511367
}
512368

369+
#chapters {
370+
background-color: $light-white;
371+
margin: 30px 5px 0 0;
372+
}
513373
#chapters__map {
514374
height: 40vh;
515375
width: 100%;
516376
border-radius: 5px;
517377
border: $blue 1px solid;
518378
box-shadow: $black-shadow;
379+
margin-bottom: 10px;
519380
}
520381

521382
.chapters__card-container {
@@ -783,6 +644,10 @@ a {
783644
}
784645
}
785646

647+
#contact {
648+
padding: 0;
649+
}
650+
786651
.footer {
787652
margin-top: 5em;
788653
background: $footer-background;

0 commit comments

Comments
 (0)