Difference between revisions of "Template:Kent"

Line 241: Line 241:
 
                         margin: 0px;
 
                         margin: 0px;
 
                         }       
 
                         }       
 +
 +
.slider{
 +
    position: relative;
 +
    width: 1150px;
 +
    height: 350px;
 +
    margin: auto;
 +
    overflow: hidden;
 +
    z-index: 13;
 +
}
 +
.slider .slider_left{
 +
    position: absolute;
 +
    background-color:black;
 +
    top: 0px;   
 +
    left: 0px;
 +
    width: 50px;
 +
    height: 100%;
 +
    opacity: 0.5;
 +
    z-index: 2;
 +
}
 +
.slider .slider_left img{
 +
    position: relative;
 +
    width: 100%;
 +
    height: 200px;
 +
    top: 25%;
 +
    left: 10px;
 +
}
 +
.slider .slider_right{
 +
    position: absolute;
 +
    background-color:black;
 +
    top: 0px;
 +
    left: 1100px;
 +
    width: 50px;
 +
    height: 100%;
 +
    opacity: 0.5;
 +
    z-index: 2;
 +
}
 +
.slider .slider_right img{
 +
    position: relative;
 +
    width: 100%;
 +
    height: 200px;
 +
    top: 25%;
 +
    left: -10px;
 +
}
 +
.slider .slider_imgs{
 +
    position: absolute;
 +
}
 +
.slider .slider_imgs div{
 +
  float: left;
 +
  width: 500px;
 +
  height: 500px;
 +
}
 +
.slider .slider_imgs #slide1{
 +
  float: left;
 +
 +
}
 +
.slider .slider_imgs #slide2{
 +
  float: left;
 +
    background-size: cover;
 +
    background-repeat: no-repeat;
 +
    background-position: 0% 50%;
 +
}
 +
.slider .slider_imgs #slide3{
 +
  float: left;
 +
}
 +
.slider .slider_imgs #slide4{
 +
  float: left;
 +
}
 
                        
 
                        
  

Revision as of 11:15, 15 September 2015