From aa698660ec1884561f1a272727bcbb4fdbcacaaa Mon Sep 17 00:00:00 2001 From: Tony Air Date: Mon, 13 Jun 2022 22:13:19 +0200 Subject: [PATCH] IMPR: minor prestyling --- app/client/src/scss/elements/carousel.scss | 47 +++++++++++++++++----- app/client/src/scss/layout/navigation.scss | 4 ++ 2 files changed, 42 insertions(+), 9 deletions(-) diff --git a/app/client/src/scss/elements/carousel.scss b/app/client/src/scss/elements/carousel.scss index 49fa168..a0df3eb 100644 --- a/app/client/src/scss/elements/carousel.scss +++ b/app/client/src/scss/elements/carousel.scss @@ -1,12 +1,41 @@ -.carousel-caption { - font-size: 3rem; - padding: 6rem 0; +.carousel { + &-caption { + font-size: 3rem; + padding: 6rem 0; + } + &-title { + font-size: 4rem; + } - .carousel-title { - font-size: 4rem; - } + &-content { + font-style: italic; + } - .carousel-content { - font-style: italic; - } + &__img { + min-width: 100%; + background-size: cover; + } +} + +.a2nt__elementalbasics__elements__sliderelement { + padding: 0; + + .element__container { + max-width: none; + padding: 0; + } + + .slide-link__media { + opacity: 0; + } + + .carousel-item { + &:hover, + &:focus { + .carousel__btn { + @extend .btn-primary, :hover; + color: $white !important; + } + } + } } diff --git a/app/client/src/scss/layout/navigation.scss b/app/client/src/scss/layout/navigation.scss index e48197f..0856b1e 100644 --- a/app/client/src/scss/layout/navigation.scss +++ b/app/client/src/scss/layout/navigation.scss @@ -22,10 +22,14 @@ &-link { background: none; align-items: center; + justify-content: center; + width: 100%; + &.active {} &.section {} + &[aria-expanded="true"], &:hover, &:focus {} }