Team:UANL Mty-Mexico/CarouselCSS

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <style type="text/css"> /* GLOBAL STYLES -------------------------------------------------- */ - Padding below the footer and lighter body text: body { padding-bott...")
Line 31: Line 31:
   /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
   /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
-
   margin-top: -90px;
+
   margin-top: -120px;
}
}
/* Since positioning the image, we need to help out the caption */
/* Since positioning the image, we need to help out the caption */
Line 40: Line 40:
/* Declare heights because of positioning of img element */
/* Declare heights because of positioning of img element */
.carousel .item {
.carousel .item {
-
   height: 500px;
+
   height: 300px;
   background-color: #777;
   background-color: #777;
}
}
Line 48: Line 48:
   left: 0;
   left: 0;
   min-width: 100%;
   min-width: 100%;
-
   height: 500px;
+
   height: 300px;
}
}

Revision as of 01:08, 6 September 2013