Team:NYMU-Taipei/menu.css

From 2014.igem.org

Revision as of 19:03, 11 October 2014 by Hiwang123 (Talk | contribs)

@font-face {

   font-family: "font1";
   src: url('/wiki/images/5/53/Proximanova-semibold-webfont.txt') format("woff");

} @font-face {

 font-family: 'font2';
 font-style: normal;
 font-weight: 400;
 src: local('Audiowide'), local('Audiowide-Regular'), url(http://themes.googleusercontent.com/static/fonts/audiowide/v2/8XtYtNKEyyZh481XVWfVOj8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');

} @font-face { font-family: 'font3'; font-style: normal; font-weight: 400; src: local('Just Another Hand'), local('JustAnotherHand-Regular'), url(http://fonts.gstatic.com/s/justanotherhand/v6/fKV8XYuRNNagXr38eqbRf8DbBFScDQWNirGEA9Q9Yto.woff) format('woff'); }

  1. background{

z-index: -999; min-width: 1100px; width: 100%; height: auto; position: absolute; top: 0; left: 0; }

  1. menu{

position:fixed; width:1100px; height:50px;

   	background: rgba(255,255,255,1);   

margin-top: 510px;

       left:50%;
       margin-left:-550px;

box-shadow: 2px 2px 7px rgba(0,0,0,1);

       z-index:3;

}

  1. menu>ul{

height:50px; margin-left: 5px; margin-right: 5px;

       text-align: center;

}

  1. menu>ul>li{

display:inline-block; height:50px; width:152px; vertical-align:middle; font: 18px font1; line-height: 50px;

       position:relative

}

  1. menu>ul>li>a{

display:block; cursor: pointer;

       width:152px;

height:50px; text-align: center; text-decoration: none; }

  1. menu>ul>li>a>span{

position: absolute; width: 140px; height: 4px; border-top: 3px solid #E617DD; display: block; margin-top: 38px; margin-left: 5px;

       opacity:0;

}

  1. menu>ul>li>ul>li>span{

height: 10px;

       width: 10px;

background-color: rgb(160, 33, 245); display: none; position: absolute; top: 40%;

       left: 0;

}

  1. menu>ul>li>ul{

margin-top: 0px; margin-left: 0px;

       width:172px;
       display:none;
       background: rgb(255,255,255);

}

  1. menu>ul>li>ul>li{

height:40px;

       width:162px;
       cursor: default;

vertical-align:middle; font: 14px font1; line-height: 40px;

       margin: 0 auto;
       list-style: none;
       position:relative

}

  1. menu>ul>li>ul>li>a{

display:block;

       cursor:pointer;

height:40px; text-align: center; text-decoration: none; }

  1. menu>ul>li>ul>li>ul>li>span{

height: 10px;

       width: 10px;

background-color: rgb(160, 33, 245); display: none; position: absolute; top: 40%;

       left: 10px;

}

  1. menu>ul>li>ul>li>ul{
       position: absolute;
       left: 100%;
       top:0;
       list-style: none;
       line-height: 40px;
       width: 0px;
       margin-left:0px;
       background: rgb(255, 255, 255);
       overflow:hidden;

}

  1. menu>ul>li>ul>li>ul>li{
       position:relative;

}

  1. menu>ul>li>ul>li>ul>li>a{
       display: block;
       text-decoration: none;

}

.header{

      height: 560px;
      background-repeat: no-repeat;
      background-position: 20% 40px;
      background-size: 430px;
      position:relative;
      overflow:hidden;

}

  1. headspace{
      position: relative;
      height: 500px;
      margin-bottom: -500px;

}

  1. menu4home{
      position:relative;
      z-index: 3;

} .teethS{

      position:absolute;

} .teethS:nth-child(1){

      margin-left: 37%;
      margin-top: 17%;

} .teethS:nth-child(2){

      margin-left: 45%;
      margin-top: 20%;

} .teethS:nth-child(3){

      margin-left: 48%;
      margin-top: 23%;

} } .teethS:nth-child(4){

      margin-left: 55%;
      margin-top: 28%;

} .teethS:nth-child(5){

      margin-left: 62%;
      margin-top: 27%;

}

  1. cloud{
      position: absolute;
      z-index: 1;
      width: 550px;
      height: 380px;
      background: url('/wiki/images/c/cd/NYMU14_bg2.png');
      background-size: 100%;
      top: -85px;
      left: 58%;

}

  1. cloud>div{
      position: absolute;
      width: 74%;
      height: 85%;
      left: 13%;
      cursor:pointer;

}

  1. header-nymu{
      font-family: 'Quattrocento', serif;
      position: absolute;
      left: 66%;
      top: 190px;
      color: rgb(255, 245, 129);
      font-size: 24px;
      font-weight: 700;

} .outlink{

      background-size:contain;
      height: 25%;
      width: 10%;
      display: inline-block;
      position: absolute;
      z-index: 1;
      border-radius:12px;
      background-repeat: no-repeat;

} .outlink:hover{

      height: 28%;
      width: 11%;

}

  1. toothy{
    display: inline-block;
    min-height: 100px;
    min-width: 95px;
    background: url('/wiki/images/7/7b/NYMU14_toothy.gif') no-repeat;
    background-size: 92px;
    position: fixed;
    z-index: 99;
    left: 920px;
    top: 120px;
    cursor:move;

}

  1. dialog>p{
    width:100%;

}

  1. convopen{
    position: absolute;
    margin-left: 100px;
    width: 50px;
    background-color: rgba(177, 243, 243, 0.7);
    box-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    border-radius: 10px;
    text-align: center;
    font-weight: 900;
    line-height: 30px;
    display:none;
    cursor:pointer;

}

  1. convblank{
    position: absolute;
    margin-left: 100px;
    margin-top: -50px;

}

  1. qnaNextBt,#qnaPrevBt{
    height: 25px;
    width: 70px;
    font-size: 18px;
    text-align: center;
    line-height: 25px;
    border: 1px solid;
    border-radius: 8px;
    float: right;
    margin-top: -30px;
    box-shadow: 0px 0px 3px;
    cursor: pointer;

}

  1. qnaNextBt{
    margin-right: 3px;

}

  1. qnaPrevBt{
    margin-right: 80px;

}

  1. qnaClose{
    position: relative;
    float: right;
    right: 10px;
    top: 5px;
    border-radius: 7px;
    background-color: rgba(0, 92, 255, 0.5);
    width: 20px;
    cursor: pointer;
    text-align: center;
    font-weight: 900;
    border: solid 1px;

}

  1. dialog{
    width: 250px;
    background-color: rgba(177, 243, 243, 0.7);
    box-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    border-radius: 10px;
    padding: 20px 6px 30px 6px;
    cursor:text;

}

  1. ol1{ background-image: url('/wiki/images/9/91/NYMU14_nymu.png');}
  2. ol2{ background-image: url('/wiki/images/2/2c/NYMU14_igem.png');}
  3. ol3{ background-image: url('/wiki/images/e/e8/NYMU14_fb.png');}


/*home css*/ /* .home1{

   min-height: 400px;
   min-width: 1000px;
   margin-left: -250px;
   padding-left:250px;

} .home1>p{

   margin-left: 20px;
   text-align: justify;
   padding-top: 30px;
   width: 1000px;

}

  1. home-one{
   background-color: rgb(190,190,190);
   box-shadow: -4px -4px 3px rgba(20%,20%,40%,1);

}

  1. home-two{
   background-color: rgb(245,245,245);
   box-shadow: inset 3px 3px 3px rgba(20%,20%,40%,0.5);

}

  • /
  1. home-video{
   width: 520px;
   height: 320px;
   display: inline-block;
   margin-top: 100px;
   margin-left: -40px;
   background-color: rgba(255,255,255,0.85);
   transform: rotate(-5deg);

}

  1. home-intro{
   width: 500px;
   text-align: justify;
   display: inline-block;
   margin-left: 50px;
   color: rgba(255,255,255,0.85);

}

  1. home-intro>p{
   width: 500px;

} /**/