aboutsummaryrefslogtreecommitdiff
path: root/examples/carousel/carousel.css
diff options
context:
space:
mode:
Diffstat (limited to 'examples/carousel/carousel.css')
-rw-r--r--examples/carousel/carousel.css26
1 files changed, 10 insertions, 16 deletions
diff --git a/examples/carousel/carousel.css b/examples/carousel/carousel.css
index dd7dfc424..452fdfeed 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 <hr> 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;
+ }
}