Template:CSS/js-image-slider

From 2014.igem.org

(Difference between revisions)
 
(24 intermediate revisions not shown)
Line 5: Line 5:
-
.content h1 {
+
.slider2{
-
font-size:48px;
+
width:1032px;
-
color:#000;
+
height:384px;
-
text-shadow:0px 10px 10px #4796ff;
+
position:absolute;
-
text-align:center;
+
left:300px;
-
alignment-adjust:middle;
+
top:96px;
-
padding:60px 0 30px;
+
 
}
}
 +
 +
/* LAYOUT */
/* LAYOUT */
-
.container {
+
.container3 {
margin:0 auto;
margin:0 auto;
overflow:hidden;
overflow:hidden;
-
width:960px;
+
width:1032px;
 +
height:384px;
 +
position:absolute;
 +
top:0px;
 +
left:0px;
}
}
/* CONTENT SLIDER */
/* CONTENT SLIDER */
#content-slider {
#content-slider {
-
width:100%;
+
width:100%;
-
height:400px;
+
height:384px;
-
margin:10px auto 0;
+
position:absolute;
 +
top:0px;
 +
left:0px;
 +
}
}
/* SLIDER */
/* SLIDER */
#slider {
#slider {
-
background:#000;
+
-
border:12px solid #4796ff;
+
-
border-radius:24px;
+
height:384px;
-
box-shadow:2px 2px 10px rgba(0,0.7,0,0.7);
+
width:1032px;
-
height:360px;
+
-
width:720px;
+
margin:40px auto 0;
margin:40px auto 0;
overflow:hidden;
overflow:hidden;
-
position:relative;
+
position:absolute;
 +
top:-50px;
 +
left:0px;
 +
}
}
#mask {
#mask {
overflow:hidden;
overflow:hidden;
-
height:480px;
+
height:384px;
 +
 
}
}
#slider ul {
#slider ul {
Line 49: Line 60:
}
}
#slider li {
#slider li {
-
width:720px;
+
width:1032px;
-
height:540px;
+
height:384px;
position:absolute;
position:absolute;
-
top:-325px;
 
list-style:none;
list-style:none;
}
}

Latest revision as of 11:15, 13 September 2014