Team:UCLA/anuved verma ucla2014 workspace/CSS

From 2014.igem.org

(Difference between revisions)
 
(335 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
-
<style type="text/css">
+
 
 +
 
<!--WIKI TEMPLATE FORMATTING-->
<!--WIKI TEMPLATE FORMATTING-->
 +
<style type="text/css">
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/
Line 60: Line 62:
width: 100%;  
width: 100%;  
height: 100%;  
height: 100%;  
-
background-color: transparent;
+
background-image: url('https://static.igem.org/mediawiki/2014/c/cb/Debut_light.png');
 +
        /*background-size: cover;*/
}
}
Line 258: Line 261:
.boxgridMedium {
.boxgridMedium {
         width: 298px;
         width: 298px;
-
         height: 450px;
+
         height: 435px;
         float: left;
         float: left;
}
}
Line 288: Line 291:
}
}
h2.onBlack {
h2.onBlack {
 +
  font-family: Verdana;
   color:white;
   color:white;
   margin-top: -5px;
   margin-top: -5px;
Line 312: Line 316:
<!--SPIDER TOP BUTTON-->
<!--SPIDER TOP BUTTON-->
<style type="text/css">
<style type="text/css">
-
.spiderbutton{
+
.spider{
position: fixed;
position: fixed;
-
top: 550px;
+
top: 210px;
-
left: 1200px;
+
right: 0px;
 +
width: 200px;
 +
height: 80%;
z-index: 0;
z-index: 0;
 +
overflow: hidden;
}
}
.spiderline{
.spiderline{
-
position: fixed;
+
position: relative;
-
left:896px;
+
left: 75%;
-
top: -95px;
+
background-color: #A8A8A8;
-
z-index: -1;
+
width: 2px;
 +
height: 65%;
 +
z-index: 8;
 +
}
 +
.spiderbutton{
 +
position: relative;
 +
left: 50%;
 +
width: 110px;
 +
height: 56px;
 +
z-index: 10;
 +
background-image: url('https://static.igem.org/mediawiki/2014/a/ac/Spiderbutton2.png');
 +
background-repeat: no-repeat;
 +
}
 +
.backtotop{
 +
position: relative;
 +
left: 65%;
 +
width: 45px;
 +
z-index: 10;
}
}
.spiderweb{
.spiderweb{
Line 328: Line 352:
right: 0px;
right: 0px;
top: 0px;
top: 0px;
-
z-index:1;
+
pointer-events:none;
-
}
+
z-index:9;
-
<style>
+
-
<!--CONTENT DIV-->
+
-
<!--SUMMARY TITLES-->
+
-
<style type="text/css">
+
-
.content_div_container{
+
-
        background-color:blue;
+
-
position: fixed;
+
-
display:inline-block;
+
-
border: 2px solid #CCCCB2;
+
-
border-radius: 10px;
+
-
margin: 20px 20px 20px 20px;
+
-
overflow:hidden;
+
-
height: 400px;
+
-
        width: 400px;
+
-
}
+
-
.content_div_text{
+
-
position: absolute;
+
-
padding: 10 10 10 10;
+
-
top: 300px;
+
-
left: 0;
+
-
background-color:black;
+
-
opacity: 0.5;
+
-
}
+
-
.content_div_text h3 {
+
-
font-family: Verdana;
+
-
margin: 10px 10px 10px 10px;
+
-
color: white;
+
-
opacity: 1;
+
-
}
+
-
.content_div_text p {
+
-
font-family: Verdana;
+
-
margin: 10px 10px 10px 10px;
+
-
color: white;
+
}
}
</style>
</style>
 +
 +
<!--SIDE MENU BAR-->
<!--SIDE MENU BAR-->
Line 370: Line 363:
#side_menu{
#side_menu{
     position:fixed;
     position:fixed;
-
     background-color:#550000;
+
     background-image: url('http://inspirationhut.net/wp-content/uploads/2012/11/Old-Paper-Texture-2.png');
-
     left:-110px;
+
    background-repeat: no-repeat;
-
     width:30px;
+
    background-position: -540px -10px;
-
     height:500px;
+
    top:-50px;
-
     padding: 10px 40px;
+
     left:-170px;
-
     border: 2px solid #D46A6A;
+
     width:150px;
 +
     height:1070px;
 +
     padding: 80px 50px 0 0;
 +
     /*border: 2px solid #D46A6A;*/
     /*border-radius: 25px;*/
     /*border-radius: 25px;*/
     margin-bottom: 20px;
     margin-bottom: 20px;
-
     margin-top: 20px;
+
     margin-top: 10px;
-
    top:10%;
+
     z-index:11;
-
     z-index:95;
+
}
}
-
#side_menu h3{
+
#side_menu #side_menu_title{
     text-align:center;
     text-align:center;
-
     font-family:Verdana;
+
     font-family:Papyrus;
 +
    /*text-decoration:none;*/
 +
}
 +
#side_menu .sidebar_link{
 +
    position: absolute;
 +
    background-size: cover;
 +
    width: 50px;
 +
    height: 50px;
 +
   
 +
    /*text-decoration:none;*/
 +
}
 +
#side_menu #link1{
 +
    background-image: url('http://icons.iconarchive.com/icons/yellowicon/game-stars/256/Mario-icon.png');
 +
    top: 15%;
 +
    left: 5%;
 +
}
 +
#side_menu #link2{
 +
    background-image: url('http://icons.iconarchive.com/icons/yellowicon/game-stars/256/Zelda-icon.png');
 +
    top: 25%;
 +
    left: 30%;
 +
}
 +
#side_menu #link3{
 +
    background-image: url('http://icons.iconarchive.com/icons/yellowicon/game-stars/256/Sonic-icon.png');
 +
    top: 35%;
 +
    left: 15%;
}
}
</style>
</style>
Line 398: Line 417:
     left:0;
     left:0;
     top:0;
     top:0;
-
     background:#550D00;
+
     /*background:#550D00;*/
-
     z-index:100;
+
    background: #560606;
 +
     z-index:10;
}
}
#menu li{
#menu li{
Line 415: Line 435:
     font-family:arial;
     font-family:arial;
     font-size:14px;
     font-size:14px;
-
     border-bottom:thin solid #FFB7AA;
+
     border-bottom:thin solid #FE9797;
}
}
#menu{
#menu{
Line 423: Line 443:
}
}
#menu a:hover{
#menu a:hover{
-
     background:#AA4B39;
+
     background:#AA3939;
}
}
#menu li ul{
#menu li ul{
-
         background:#550D00;
+
         background:#560606;
/* display:none; */
/* display:none; */
position:absolute;
position:absolute;
Line 441: Line 461:
</style>
</style>
-
<!--SIDE SPIDER ANIMATION-->
+
 
 +
 
 +
<!--SLIDER-->
<style type="text/css">
<style type="text/css">
-
#spider {
+
.slider{
-
    position:relative; //or whatever you need
+
    position: relative;
-
    display:block;
+
    width: 1150px;
-
    top:0px;
+
    height: 350px;
-
    left:500px;
+
    margin: auto;
 +
    overflow: hidden;
 +
    z-index: 0;
 +
    background-image: url('https://static.igem.org/mediawiki/2014/c/c3/Debut_light.png');
}
}
-
#spider img {
+
.slider .slider_left{
-
    position:absolute;
+
    position: absolute;
-
     opacity:0;
+
    background-color:black;
 +
    top: 0px;      
 +
    left: 0px;
 +
    width: 50px;
 +
    height: 100%;
 +
    opacity: 0.5;
 +
    z-index: 2;
}
}
-
#spider #first {
+
.slider .slider_left img{
-
    opacity:1;
+
    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: 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>
</style>
-
 
+
<!--PAGE HEADERS-->
-
<!--SLIDER-->
+
<style type="text/css">
<style type="text/css">
-
.slider{
+
.page_header{
-
width:800px;
+
    position: absolute;
-
height:350px;
+
    background-image: url('https://static.igem.org/mediawiki/2014/b/b3/Debut_dark.png');
-
overflow:hidden;
+
    width: 100%;
-
margin:0px auto;
+
    height: 70%;
-
background-image:url("https://2014.igem.org/File:Loader.gif");
+
    z-index: 0;
-
background-repeat:no-repeat;
+
-
background-position:center;
+
-
position: relative;
+
}
}
-
.slider img{
+
.page_header .page_header_box{
-
width:800px;
+
    position: absolute;
-
height:350px;
+
    overflow: hidden;
-
display:none;
+
    z-index: 0;
}
}
-
.slider_nav{
+
#box1{
-
width:800px;
+
    background-color:#0A64A4;
-
margin:0 auto;
+
    width:20%;
-
position:relative;
+
    height:80%;
-
top:-200px;
+
    top:10%;
-
z-index:10;
+
    left:10%;
 +
    opacity: 0.5;
}
}
-
.shadow{
+
#box2{
-
background-image:url("https://2014.igem.org/File:Slider-shadow.jpg");
+
    background-color:#0A64A4;
-
background-repeat:no-repeat;
+
    width:20%;
-
background-position:top;
+
    height:80%;
-
width:864px;
+
    top:10%;
-
height:144px;
+
    left:30%;
-
margin:0px auto;
+
    opacity: 0.5;
}
}
-
 
+
#box3{
-
#container {
+
    background-color:#0A64A4;
-
    width: 100px;
+
    width:20%;
-
    height: 100px;
+
    height:80%;
-
    position: relative;
+
    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