diff --git a/assets/css/home.css b/assets/css/home.css index 229e5e5d..6a432dd6 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -6,53 +6,44 @@ section#hero-content { height: auto; } -#carousel { - max-width: 70%; - min-height: 400px; - margin: 0 auto; -} - -#carousel .slide img { - max-width: 100%; -} - -#carousel .slide .container-main-image { +.carousel-item { + height: 80vh; + min-height: 350px; + background: no-repeat center center scroll; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; position: relative; } -#carousel .slide .overlay { +.carousel-caption { position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.3); -} - -.tns-outer { - position: relative; + top: 50%; + transform: translateY(-20%); } -.tns-controls button { - background: none; - border: none; - outline: none; - color: white; - font-weight: 300; +.carousel-caption h3, +.carousel-caption p { + color: #fff; + display: inline-block; + text-shadow: none; + margin-bottom: 20px; +} +.carousel-caption h3 { + background: rgba(0, 0, 0, 0.8); + padding: 35px 43px; font-size: 4rem; -} -.tns-controls .left-arrow { - left: 10px; -} - -.tns-controls .right-arrow { - right: 10px; -} - -.tns-controls .left-arrow, -.tns-controls .right-arrow { - position: absolute; - top: 45%; + font-weight: 500; + text-transform: uppercase; +} +.carousel-caption p { + background: #ccc; + opacity: 0.9; + color: black; + padding: 10px 20px; + font-size: 1.5rem; + font-weight: 300; } .intro-div { @@ -92,3 +83,21 @@ section#hero-content { .centered .display-1{ font-size: 5rem; } +@media (min-width: 320px) and (max-width: 1280px) { +.carousel-item { + height: 60vh; + } +.carousel-caption { + top: 30%; + transform: translateY(-30%); +} +.carousel-caption h3 { + padding: 35px 43px; + font-size: 2rem; + font-weight: 600; +} +.carousel-caption p { + font-size: 1.2rem +} + +} \ No newline at end of file diff --git a/index.html b/index.html index 4c2d4185..de0bf425 100644 --- a/index.html +++ b/index.html @@ -108,59 +108,85 @@ Arrows are pretty thick but that's what we get from font awesome free edition ::: --> -