diff --git a/docs/examples/carousel.html b/docs/examples/carousel.html index 42b95dd7e4..b71e746172 100644 --- a/docs/examples/carousel.html +++ b/docs/examples/carousel.html @@ -28,11 +28,17 @@ /* Special class on .container surrounding .navbar, used for positioning it into place. */ .navbar-wrapper { - position: relative; + position: absolute; + top: 0; + left: 0; + right: 0; z-index: 10; margin-top: 20px; margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */ } + .navbar-wrapper .navbar { + + } /* Remove border and change up box shadow for more contrast */ .navbar .navbar-inner { @@ -71,24 +77,26 @@ } .carousel .container { - position: absolute; - right: 0; - bottom: 0; - left: 0; + position: relative; + z-index: 10; } .carousel-control { + height: 80px; + margin-top: 0; + font-size: 120px; + text-shadow: 0 1px 1px rgba(0,0,0,.4); background-color: transparent; border: 0; - font-size: 120px; - margin-top: 0; - text-shadow: 0 1px 1px rgba(0,0,0,.4); } .carousel .item { height: 500px; } .carousel img { + position: absolute; + top: 0; + left: 0; min-width: 100%; height: 500px; } @@ -98,7 +106,7 @@ position: static; max-width: 550px; padding: 0 20px; - margin-bottom: 100px; + margin-top: 200px; } .carousel-caption h1, .carousel-caption .lead { @@ -219,7 +227,7 @@ .carousel-caption { width: 65%; padding: 0 70px; - margin-bottom: 40px; + margin-top: 100px; } .carousel-caption h1 { font-size: 30px; @@ -263,43 +271,45 @@ - -