Team:UCLA/anuved verma ucla2014 workspace/CSS

From 2014.igem.org

(Difference between revisions)
 
(133 intermediate revisions not shown)
Line 261: Line 261:
.boxgridMedium {
.boxgridMedium {
         width: 298px;
         width: 298px;
-
         height: 850px;
+
         height: 435px;
         float: left;
         float: left;
}
}
Line 291: Line 291:
}
}
h2.onBlack {
h2.onBlack {
 +
  font-family: Verdana;
   color:white;
   color:white;
   margin-top: -5px;
   margin-top: -5px;
Line 330: Line 331:
width: 2px;
width: 2px;
height: 65%;
height: 65%;
-
z-index: 0;
+
z-index: 8;
}
}
.spiderbutton{
.spiderbutton{
Line 337: Line 338:
width: 110px;
width: 110px;
height: 56px;
height: 56px;
-
z-index: 0;
+
z-index: 10;
background-image: url('https://static.igem.org/mediawiki/2014/a/ac/Spiderbutton2.png');
background-image: url('https://static.igem.org/mediawiki/2014/a/ac/Spiderbutton2.png');
background-repeat: no-repeat;
background-repeat: no-repeat;
Line 345: Line 346:
left: 65%;
left: 65%;
width: 45px;
width: 45px;
 +
z-index: 10;
}
}
.spiderweb{
.spiderweb{
Line 350: Line 352:
right: 0px;
right: 0px;
top: 0px;
top: 0px;
 +
pointer-events:none;
z-index:9;
z-index:9;
}
}
Line 415: Line 418:
     top:0;
     top:0;
     /*background:#550D00;*/
     /*background:#550D00;*/
-
     background: #203135;
+
     background: #560606;
     z-index:10;
     z-index:10;
}
}
Line 432: Line 435:
     font-family:arial;
     font-family:arial;
     font-size:14px;
     font-size:14px;
-
     border-bottom:thin solid #255C69;
+
     border-bottom:thin solid #FE9797;
}
}
#menu{
#menu{
Line 440: Line 443:
}
}
#menu a:hover{
#menu a:hover{
-
     background:#0F829D;
+
     background:#AA3939;
}
}
#menu li ul{
#menu li ul{
-
         background:#203135;
+
         background:#560606;
/* display:none; */
/* display:none; */
position:absolute;
position:absolute;
Line 463: Line 466:
<style type="text/css">
<style type="text/css">
.slider{
.slider{
-
width:800px;
+
    position: relative;
-
height:350px;
+
    width: 1150px;
-
overflow:hidden;
+
    height: 350px;
-
margin:0px auto;
+
    margin: auto;
-
background-image:url("https://2014.igem.org/File:Loader.gif");
+
    overflow: hidden;
-
background-repeat:no-repeat;
+
    z-index: 0;
-
background-position:center;
+
    background-image: url('https://static.igem.org/mediawiki/2014/c/c3/Debut_light.png');
-
position: relative;
+
}
}
-
.slider img{
+
.slider .slider_left{
-
width:800px;
+
    position: absolute;
-
height:350px;
+
    background-color:black;
-
display:none;
+
    top: 0px;   
 +
    left: 0px;
 +
    width: 50px;
 +
    height: 100%;
 +
    opacity: 0.5;
 +
    z-index: 2;
}
}
-
.slider_nav{
+
.slider .slider_left img{
-
width:800px;
+
    position: relative;
-
margin:0 auto;
+
    width: 100%;
-
position:relative;
+
    height: 200px;
-
top:-200px;
+
    top: 25%;
-
z-index:10;
+
    left: 10px;
}
}
-
.shadow{
+
.slider .slider_right{
-
background-image:url("https://2014.igem.org/File:Slider-shadow.jpg");
+
    position: absolute;
-
background-repeat:no-repeat;
+
    background-color:black;
-
background-position:top;
+
    top: 0px;
-
width:864px;
+
    left: 1100px;
-
height:144px;
+
    width: 50px;
-
margin:0px auto;
+
    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: 1150px;
 +
  height: 350px;
 +
}
 +
.slider .slider_imgs #slide1{
 +
  float: left;
 +
    background-image:url('http://www.thinksnaps.com/wp-content/uploads/2014/07/Green-Bubbles-Awesome-Background.jpg');
 +
    background-size: cover;
 +
    background-repeat: no-repeat;
 +
}
 +
.slider .slider_imgs #slide2{
 +
  float: left;
 +
    background-image:url('http://4vector.com/i/free-vector-exquisite-leaf-background-01-vector_015360_exquisite_leaf_background_01_vector.jpg');
 +
    background-size: cover;
 +
    background-repeat: no-repeat;
 +
}
 +
.slider .slider_imgs #slide3{
 +
  float: left;
 +
    background-image:url('http://wallpaper-download.net/wallpapers/random-wallpapers-green-lime-background-wallpaper-32549.jpg');
 +
    background-size: cover;
 +
    background-repeat: no-repeat;
 +
}
 +
</style>
-
#container {
+
 
-
    width: 100px;
+
<!--PAGE HEADERS-->
-
    height: 100px;
+
<style type="text/css">
-
    position: relative;
+
.page_header{
 +
    position: absolute;
 +
    background-image: url('https://static.igem.org/mediawiki/2014/b/b3/Debut_dark.png');
 +
    width: 100%;
 +
    height: 70%;
 +
    z-index: 0;
}
}
 +
.page_header .page_header_box{
 +
    position: absolute;
 +
    overflow: hidden;
 +
    z-index: 0;
 +
}
 +
#box1{
 +
    background-color:#0A64A4;
 +
    width:20%;
 +
    height:80%;
 +
    top:10%;
 +
    left:10%;
 +
    opacity: 0.5;
 +
}
 +
#box2{
 +
    background-color:#0A64A4;
 +
    width:20%;
 +
    height:80%;
 +
    top:10%;
 +
    left:30%;
 +
    opacity: 0.5;
 +
}
 +
#box3{
 +
    background-color:#0A64A4;
 +
    width:20%;
 +
    height:80%;
 +
    top:10%;
 +
    left:50%;
 +
    opacity: 0.5;
 +
}
 +
#box4{
 +
    background-color:#0A64A4;
 +
    width:20%;
 +
    height:80%;
 +
    top:10%;
 +
    left:70%;
 +
    opacity: 0.5;
 +
}
 +
</style>
-
#navi,
+
 
-
#infoi {
+
<!--CONTENT SECTIONS-->
-
    width: 100%;
+
<style type="text/css">
-
    height: 100%;
+
.content_container{
-
    position: absolute;
+
    position: absolute;
-
    top: 0;
+
    background-image: url('https://static.igem.org/mediawiki/2014/c/c3/Debut_light.png');
-
    left: 0;
+
    /*top: 85%;*/
 +
    width: 99%;
 +
    padding: 0 0 0 0;
 +
    margin: auto;
 +
    margin-bottom: 50px;
 +
    border-radius: 0px;
 +
    z-index: -1;
}
}
-
#infoi {
+
.page_content{
-
    z-index: 10;
+
    position: relative;
 +
    background-color: #FFFFCC;
 +
    width: 99%;
 +
    padding: 0 0 0 0;
 +
    margin: auto;
 +
    margin-bottom: 20px;
 +
    border-radius: 25px;
 +
    z-index: -1;
 +
}
 +
.content_subsection{
 +
    position: relative;
 +
    width: 85%;
 +
    padding: 10px 10px 10px 10px;
 +
    margin: auto;
}
}
</style>
</style>
-
 
</html>
</html>

Latest revision as of 04:28, 22 September 2014