Skip to content

Commit ef407de

Browse files
Added box shadows to events / chapters.
1 parent 0393b24 commit ef407de

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

_sass/base.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ $orange: #A55605;
2020
$black: #000000;
2121

2222
$main-background: #F0F8FF;
23+
$section-background: #FFFFFF;
2324
$background-dark: #072948;
2425

2526
$page-title: #FAEBD7;
@@ -57,4 +58,6 @@ $footer-background: #072948;
5758

5859
$form-label-text: #FAEBD7;
5960

60-
$event-background: rgba(7, 41, 72, 0.95);
61+
$event-background: rgba(7, 41, 72, 0.95);
62+
63+
$black-shadow: black 2px 2px 2px 0px;

_sass/style.scss

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -314,17 +314,18 @@ a {
314314
}
315315

316316
.upcoming__col {
317-
//background: rgba(250, 235, 215, 0.85);
318-
border-right: $black 1px solid;
319-
border-left: $black 1px solid;
317+
background: $section-background;
318+
border-right: $blue 1px solid;
319+
border-left: $blue 1px solid;
320320
min-height: 100%;
321+
box-shadow: $black-shadow;
321322
&:first-child {
322-
border-top: $black 1px solid;
323+
border-top: $blue 1px solid;
323324
border-top-left-radius: 5px;
324325
border-top-right-radius: 5px;
325326
}
326327
&:last-child {
327-
border-bottom: $black 1px solid;
328+
border-bottom: $blue 1px solid;
328329
border-bottom-left-radius: 5px;
329330
border-bottom-right-radius: 5px;
330331
}
@@ -448,7 +449,8 @@ a {
448449
height: 40vh;
449450
width: 100%;
450451
border-radius: 5px;
451-
border: black 1px solid;
452+
border: $blue 1px solid;
453+
box-shadow: $black-shadow;
452454
}
453455

454456
.chapters__card-container {
@@ -466,8 +468,9 @@ a {
466468
}
467469

468470
.chapters__card-main {
469-
background: $main-background;
470-
border: black 1px solid;
471+
background: $section-background;
472+
border: $blue 1px solid;
473+
box-shadow: $black-shadow;
471474
}
472475

473476
.chapters__card-header {

0 commit comments

Comments
 (0)