diff static/css/sat_website.css @ 54:d54f2f09a73a

fixes displaying two carousels on the same page
author souliane <souliane@mailoo.org>
date Tue, 05 May 2015 11:03:18 +0200
parents 3b4ba14d1e26
children a1e457ac6871
line wrap: on
line diff
--- a/static/css/sat_website.css	Tue May 05 09:47:55 2015 +0200
+++ b/static/css/sat_website.css	Tue May 05 11:03:18 2015 +0200
@@ -48,11 +48,13 @@
 
 .carousel-caption {
     padding: 10px;
-    bottom: -55px;
+    bottom: -75px;
     color: black;
     font-style: italic;
     font-size: 14px;
     text-shadow: none;
+    left: 0px;
+    width: 100%;
 }
 
 .carousel-indicators {
@@ -141,23 +143,23 @@
 	border-bottom-style: none;
 }
 
-#carousel-screenshots img, #carousel-screenshots video {
+.my-carousel img, .my-carousel video {
     cursor: pointer;
     height: 200px;
     width: auto;
     display: table-cell;
 }
 
-#modal-screenshots .modal-dialog {
+#my-modal .modal-dialog {
     max-width: 90%;
     width: auto;
 }
 
-#carousel-screenshots-modal .carousel-inner {
-    padding-bottom: 80px;
+.my-carousel-modal .carousel-inner {
+    padding-bottom: 100px;
 }
 
-#carousel-screenshots-modal img, #carousel-screenshots-modal video {
+.my-carousel-modal img, .my-carousel-modal video {
     margin: auto;
 }