Team:UCLA/Template/CSS

From 2014.igem.org

(Difference between revisions)
Line 612: Line 612:
     left: 10px;
     left: 10px;
}
}
-
.hpslider .slider_right{
+
.hpslider .hpslider_right{
     position: absolute;
     position: absolute;
     background-color:black;
     background-color:black;
Line 622: Line 622:
     z-index: 2;
     z-index: 2;
}
}
-
.slider .slider_right img{
+
.hpslider .hpslider_right img{
     position: relative;
     position: relative;
     width: 100%;
     width: 100%;
Line 629: Line 629:
     left: -10px;
     left: -10px;
}
}
-
.slider .slider_imgs{
+
.hpslider .hpslider_imgs{
     position: absolute;
     position: absolute;
}
}
-
.slider .slider_imgs div{
+
.hpslider .hpslider_imgs div{
   float: left;
   float: left;
   width: 1150px;
   width: 1150px;
   height: 350px;
   height: 350px;
}
}
-
.slider .slider_imgs #slide1{
+
.hpslider .hpslider_imgs #slide1{
   float: left;
   float: left;
     background-image:url('http://2014.igem.org/wiki/images/d/d1/Silkworms.JPG');
     background-image:url('http://2014.igem.org/wiki/images/d/d1/Silkworms.JPG');
Line 644: Line 644:
     background-position: 25% 50%;
     background-position: 25% 50%;
}
}
-
.slider .slider_imgs #slide2{
+
.hpslider .hpslider_imgs #slide2{
   float: left;
   float: left;
     background-image:url('http://2014.igem.org/wiki/images/8/81/Classroom.JPG');
     background-image:url('http://2014.igem.org/wiki/images/8/81/Classroom.JPG');
Line 651: Line 651:
     background-position: 0% 50%;
     background-position: 0% 50%;
}
}
-
.slider .slider_imgs #slide3{
+
.hpslider .hpslider_imgs #slide3{
   float: left;
   float: left;
     background-image:url('http://2014.igem.org/wiki/images/f/fa/Cocoons.JPG');
     background-image:url('http://2014.igem.org/wiki/images/f/fa/Cocoons.JPG');
Line 657: Line 657:
     background-repeat: no-repeat;
     background-repeat: no-repeat;
}
}
-
.slider .slider_imgs #slide4{
+
.hpslider .hpslider_imgs #slide4{
   float: left;
   float: left;
     background-image:url('http://2014.igem.org/wiki/images/f/fd/Uclateam.JPG');
     background-image:url('http://2014.igem.org/wiki/images/f/fd/Uclateam.JPG');
Line 663: Line 663:
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: 0% 65%;
     background-position: 0% 65%;
-
}
 
-
.slider #hp{
 
-
    z-index:100;
 
}
}
</style>
</style>

Revision as of 11:01, 17 October 2014