Skip to content

Commit

Permalink
fix spacing and styles on homepage banner (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Owen Buckley <owenbuckley13@gmail.com>
  • Loading branch information
aholtzman and thescientist13 authored Nov 19, 2021
1 parent 50c332f commit 97b8960
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/routes/home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,28 @@
margin-bottom: 15px;

& .as-media-carousel {
@include media-breakpoint-down(xs) {
/* @include media-breakpoint-down(xs) {
margin-top: -30px;
}
@include media-breakpoint-only(sm) {
margin-top: 0;
}
} */

position: relative;
margin: 0 -15px 30px -15px;
display: flex;
flex-direction: column;
margin-bottom: 60px;
}

& .as-media-carousel__label {
position: absolute;
bottom: 45px;
width: 100%;
padding: 15px;
background-color: var(--color-tertiary); /*transparentize($creme, .1);*/
font-size: 1.25rem;
letter-spacing: 2px;
margin-top: -95px;
opacity: 0.9;

@include media-breakpoint-between(sm, md) {
font-size: 1rem;
Expand All @@ -35,11 +37,12 @@

& .as-media-carousel__attribution-label {
position: absolute;
bottom: 0px;
bottom: -35px;
right: 0px;
padding: 2px 4px;
background: var(--color-dark); /* transparentize($black, .5); */
font-size: .5rem;
opacity: 0.7;
}

& .as-media-carousel__attribution-label,
Expand All @@ -58,4 +61,4 @@
margin-bottom: 45px;
}
}
}
}

0 comments on commit 97b8960

Please sign in to comment.