change carousel layout
[edumed.git] / catalogue / static / catalogue / css / carousel.scss
index aa69028..2885fac 100755 (executable)
@@ -37,25 +37,31 @@ $ciemny: #363a3e;
                 background-size: 70*$px 100%;
                 
                 .catalogue-carousel-note {
+                    position: relative;
                     height: 100%;
-                    margin-left: 50%;
-                    background-color: black;
                     color: white;
-                    opacity: 0.6;
-                    background-image: url(/static/catalogue/img/carousel-left.png);
-                    background-position: 100% 0;
-                    background-repeat: no-repeat;
-                    background-size: 70*$px 100%;
+                    margin-top: 12em;
+
+                    p:before {
+                        content: " ";
+                        display: block;
+                        position: absolute;
+                        height: 100%;
+                        width: 100%;
+                        z-index: -1;
+                        background-color: black;
+                        opacity: 0.6;
+                    }
 
                     p {
-                        padding: 6em 2em 0 1.6em;
                         margin: 0;
                         em {
-                            display: block;
+                            margin: 0 .2em 0 .5em;
                             font-style: normal;
                             font-size: 1.5em;
                         }
                         strong {
+                            margin-left: .5em;
                             font-size: 2em;
                         }