diff --git a/examples/carousel/carousel.css b/examples/carousel/carousel.css index dd7dfc4248..452fdfeed2 100644 --- a/examples/carousel/carousel.css +++ b/examples/carousel/carousel.css @@ -78,25 +78,9 @@ body { .featurette-divider { margin: 80px 0; /* Space out the Bootstrap
more */ } -.featurette { - padding-top: 120px; /* Vertically center images part 1: add padding above and below text. */ - overflow: hidden; /* Vertically center images part 2: clear their floats. */ -} -.featurette-image { - margin-top: -120px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */ -} - -/* Give some space on the sides of the floated elements so text doesn't run right into it. */ -.featurette-image.pull-left { - margin-right: 40px; -} -.featurette-image.pull-right { - margin-left: 40px; -} /* Thin out the marketing headings */ .featurette-heading { - font-size: 50px; font-weight: 300; line-height: 1; letter-spacing: -1px; @@ -131,4 +115,14 @@ body { line-height: 1.4; } + .featurette-heading { + font-size: 50px; + } + +} + +@media (min-width: 992px) { + .featurette-heading { + margin-top: 120px; + } } diff --git a/examples/carousel/index.html b/examples/carousel/index.html index 6e5edbbec2..fa95ab64bf 100644 --- a/examples/carousel/index.html +++ b/examples/carousel/index.html @@ -69,7 +69,7 @@