Team:NYMU-Taipei/menu.css

From 2014.igem.org

(Difference between revisions)
Line 76: Line 76:
#menu>ul>li>ul>li{
#menu>ul>li>ul>li{
-
height:35px;
+
height:40px;
         width:162px;
         width:162px;
         cursor: default;
         cursor: default;
Line 89: Line 89:
display:block;
display:block;
         cursor:pointer;
         cursor:pointer;
-
height:35px;
+
height:40px;
text-align: center;
text-align: center;
text-decoration: none;
text-decoration: none;
Line 107: Line 107:
         top:0;
         top:0;
         list-style: none;
         list-style: none;
-
         line-height: 35px;
+
         line-height: 40px;
         width: 0px;
         width: 0px;
         margin-left:0px;
         margin-left:0px;

Revision as of 11:53, 27 September 2014

@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. menu{

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

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

margin-top: 290px;

       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: 340px;
      background-image: url('/wiki/images/c/cd/NYMU14_mainlogo2.png');
      background-repeat: no-repeat;
      background-position: 20% 40px;
      background-size: 430px;
      position:relative;
      overflow:hidden;

}

  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:60px;
      min-height: 60px;
      min-width: 60px;
      display: inline-block;
      position: absolute;
      z-index: 1;
      border-radius:12px;

} .outlink:hover{

      box-shadow: rgb(255,255,255) 0px 0px 12px 5px;

}

  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/a/a3/NYMU14_schoollink22.png');}
  2. ol2{ background-image: url('/wiki/images/8/80/NYMU14_igemlink.png');}
  3. ol3{ background-image: url('/wiki/images/d/db/NYMU14_fblink2.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;

} /**/