changeset 120:996750c42402

Centered carousel captions with fixed height.
author Tom Gottfried <tom@intevation.de>
date Wed, 02 Apr 2014 14:11:42 +0200
parents b217e51c15b7
children b142a13c7435
files css/style.css
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/css/style.css	Wed Apr 02 11:35:33 2014 +0200
+++ b/css/style.css	Wed Apr 02 14:11:42 2014 +0200
@@ -32,13 +32,16 @@
 }
 /* Custom page carousel */
 .carousel-caption {
-    position: relative;
+    position: static;
     margin-top: 10px;
-    margin-bottom: 5px;
-    margin-right: 250px;
+    margin-bottom: 50px;
+    padding-left: 20%;
+    padding-right: 20%;
     text-align: center;
     color: #323;
     text-shadow: none;
+    height: 5.5em;
+    overflow: hidden;
 }
 
 .carousel-img {
@@ -54,7 +57,6 @@
     background-color: #323;
 }
 
-
 /*
  * dive4elements
  * --------------------------------------------------
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)