Team:SYSU-Software/home.css

From 2013.igem.org

(Difference between revisions)
Line 9: Line 9:
       font-family: 'Arial';
       font-family: 'Arial';
     }
     }
-
 
-
 
-
 
-
    /*header images */
 
-
    #team-header{
 
-
      margin: 0 auto;
 
-
      z-index: 100;
 
-
 
-
      height: 200px;
 
-
      width: 980px;
 
-
      background-color: white;
 
-
 
-
      font-family: 'Arial';
 
-
    }
 
-
    #team-header-logo{
 
-
      position: relative;
 
-
      left: 20px;
 
-
      top:30px;
 
-
    }
 
-
    #team-header-text{
 
-
      position: relative;
 
-
      left: 130px;
 
-
      top: -67px;
 
-
    }
 
-
 
-
    #boss-header-image{
 
-
      position: relative;
 
-
      left: 285px;
 
-
      top: -85px;
 
-
    }
 
-
 
-
    /*navigation*/
 
-
    #navigation1{
 
-
      float: right;
 
-
      height: 40px;
 
-
 
-
      z-index: 100;
 
-
 
-
      position: relative;
 
-
      top: -37px;
 
-
    }
 
-
 
-
    .navbar {
 
-
    margin-bottom: 0px;
 
-
    overflow: visible;
 
-
    }
 
-
 
-
    .nav{
 
-
      display: inline;
 
-
 
-
      height: 40px;
 
-
      background-color:#A8DBD2;   
 
-
    }
 
-
       
 
-
    .navbar-inverse .nav > li > a{
 
-
      font-size: 14px;
 
-
      border: none;
 
-
      height: 40px;
 
-
      padding:0px 20px;
 
-
 
-
      line-height: 40px;
 
-
    }
 
-
    #nav-li{
 
-
      height: 40px;
 
-
    }
 
-
   
 
-
    .navbar-inverse .nav > li.active > a{
 
-
      background-color: #FFE14B;
 
-
      height: 40px;
 
-
    }
 
-
    .navbar-inverse .nav > li.active > a{
 
-
      background-color: #FFE14B;
 
-
    }
 
-
    /*sub navs*/
 
-
    #sub-link1{
 
-
      width:90px;
 
-
      background-color:#A8DBD2;
 
-
    }   
 
-
    .navbar .nav > li > ul:before {
 
-
      border-width: 0px;
 
-
    }
 
-
 
-
    #sub-link2{
 
-
      width:100px;
 
-
      background-color:#A8DBD2;
 
-
    }   
 
-
    #sub-link3{
 
-
      width:135px;
 
-
      background-color:#A8DBD2;
 
-
 
-
    }   
 
-
    #sub-link4{
 
-
      background-color:#A8DBD2;
 
-
      width:70px;
 
-
    }   
 
-
 
Line 222: Line 126:
     }
     }
-
 
-
 
-
    /*footer*/
 
-
    #team-footer{
 
-
      width: 980px;
 
-
      margin:0 auto;
 
-
 
-
      position: relative;
 
-
      bottom: 0px;
 
-
      overflow: hidden;
 
-
 
-
      background-color: #ebdfd2;
 
-
    }
 
-
    /*instructions*/
 
-
    #team-sub{
 
-
      position: relative;
 
-
 
-
      margin-bottom: 30px;
 
-
    }
 
-
    #subscribe{
 
-
      position: relative;
 
-
    }
 
-
    #subscribe-header{
 
-
      position: relative;
 
-
      top: 25px;
 
-
      left: 145px;
 
-
 
-
      font-weight: bolder;
 
-
      font-size: 25px;
 
-
    }
 
-
    #subscribe-content{
 
-
      position: relative;
 
-
      top: 45px;
 
-
      left: 145px;
 
-
 
-
      font-weight: bold;
 
-
      line-height: 10px;
 
-
    }
 
-
    #link{
 
-
      position: relative;
 
-
      left: 100px;
 
-
    }
 
-
    #link-header{
 
-
      position: relative;
 
-
      top: 20px;
 
-
      left: 180px;
 
-
 
-
      font-weight:bolder;
 
-
      font-size: 25px;
 
-
    }
 
-
    #link-content{
 
-
      position: relative;
 
-
      top: 34px;
 
-
      left: 180px;
 
-
    }
 
-
 
-
    #link-content a{
 
-
      text-decoration: none;
 
-
    }
 
-
    /*bottom image*/
 
-
    #bottom-image{
 
-
      position: relative;
 
-
      bottom: 0px;
 
-
    }
 

Revision as of 08:48, 27 August 2013

   *{
     padding:0px;
     margin: 0px;
   }
   body {
     height: 100%;
     width: 100%;
     background-color: #CCC;
     font-family: 'Arial';
   }


   /*home content*/
   #home-container{
     width: 980px;
     margin: 0 auto; 
   }
   /*slides part*/
   #home-slides{
     height: 430px;
     background-color: #A8DBD2;
   }
   #myCarousel{
     height: 430px;
     width: 900px;
     margin: 0 auto;
   }
   #slides-image img{
     height: 430px;
     width: 683px;
     margin:0 auto;
   }


   /*main content part*/
   #home-content{
     width: 980px;
     background-color: white;
   }
   #home-note{
     position: relative;
     top: 100px;
     left: 115px;
   }
   #note{
     display: inline-table;
   }
   #notepad{
     display: block;
     height: 146px;
     width: 121px;
     margin-right: 20px;
     background-color: #def1ee;
     position: relative;
     top: -50px;
   }
   #note-header{
     position: relative;
     top: -30px;
     left: -2px;
     font-family: 'Arial';
     font-size: 20px;
     font-weight: bolder;
   }
   #pin{
     position: relative;
     top: -30px;
     left: 3px;
   }
   #note-pin{
     position: relative;
     top: -34px;
     left: 105px;
     display: block;
     z-index: 100;
   }


   #introduction-text{
     position: relative;
   }
   #introduction-header{
     position: relative;
     top: 90px;
     left: 125px;
     font-family: 'Arial'; 
     font-size: 22px;
     font-weight: bold;
     color:#ffcc33;
   }
   #header-header{
     position: relative;
     left: -30px;
     top: 40px;
   }
   #introduction-content{
     font-family: 'Arial';
     font-weight: bold;
     position: relative;
     top: 120px;
     left: 145px;
     display: block;
     width: 300px;
   }
   #feiji{
     position: relative;
     top: 30px;
     left: 40px;
   }
   #introduction-vedio{
     position: relative;
     top: -120px;
     left: 435px;  
   }



   a:focus{
     outline-color:#544444; 
   }