Team:ZJU-China/CSS/Header.css

From 2014.igem.org

Revision as of 14:25, 31 August 2014 by Tzuyu (Talk | contribs)

div.zju_header {

   margin-top: -20px;
   text-align: right;
   background-color: #383838;

}

div.zju_menu {

   position: relative;
   top: 0px;
   margin: 0px;
   width: inherit;
   height: auto;
   text-align: center;
   display: block;
   background-color: transparent;

}

a#igem_logo {

   display:inline-block;
   position: relative;
   width: 48px;
   text-align: center;
   margin: 14px 0px 0px 0px;/*
   border-color: white;
   border-style: groove;
   border-width: 0px 1px 0px 1px;*/

}

img#igem_logo {

   height: 48px;

}

h1#team_name {

   position: relative;
   text-align: left;
   text-decoration: none;
   padding-right: 8px;
   width: 10%;
   color: white;
   font-size: 12pt;
   font-family: "Segoe UI";
   font-style: italic;
   display: inline;
   border: 0px;

}

ul.zju_menu_list{

   display: inline-block;
   text-align: center;
   margin: 14px 0px 0px 0px;
   width: auto;
   min-width: 630px;

}

ul.zju_menu_list > li > a:active, ul.zju_menu_list > li > a:visited, ul.zju_menu_list > li > a:link {

   text-decoration: none;
   color: #ababab;
   font-family: "Segoe Print";
   font-style: normal;
   font-size: inherit;
   text-align: center;

}

ul.zju_menu_list > li {

   position: relative;
   margin-right: -8px;
   width: auto;
   /*margin-top: 14px;*/
   padding: 10pt 1%;
   border-style: solid;
   border-width: 0px 1px;
   border-color: #9d9d9d;
   border-radius: 1px;
   color: #ababab;
   font-family: "Segoe Print";
   font-style: normal;
   font-size: 14pt;
   text-align: center;
   background-color: #1f1f1f;
   display: inline-block;

}

ul.zju_menu_list > li:hover{

   border-radius: 3px;
   box-shadow: 0px 5px 2px #888888;
   color: #ffffff;
   background-color: #646464;

}

ul.zju_menu_list > li a:hover {

   color: #ffffff;

}

ul.zju_menu_list > li:hover ul {

   display: block;
   z-index: 1;

}

ul.zju_menu_list > li li {

   float: none;

}

/*ul.zju_menu_list > li:hover > ul > li {

   display: inline;

}*/

ul.zju_sub_menu {

   float: none;
   display: none;
   list-style: none;
   width: 200%;
   top: 30pt;
   right: -50%;
   box-shadow: 5px 5px 5px #888888;
   position: absolute;
   background-color: transparent;

}

ul.zju_sub_menu > li a:link, ul.zju_sub_menu > li a:active, ul.zju_sub_menu > li a:visited {

   text-decoration: none;
   color: inherit;

}

ul.zju_sub_menu > li{

   border-bottom-style: solid;
   border-bottom-width: 3pt;
   border-bottom-color: #A0A0A0;
   margin-bottom: 0px;
   float: left;
   font-family: inherit;
   font-size: 14pt;
   text-align: center;
   text-decoration: none;
   padding: 4px 10px;
   background-color: #646464;
   opacity: 0.5;

}

ul.zju_sub_menu > li:hover {

   border-bottom-color: #FFFFFF;
   opacity: 0.9;
   color: #5080D0;
   background-color: #E0E0F4;

}

/*li#zju_menu_long {

   font-size: 12px;

}*/


/*--- decoration of bar ---*/ ul.zju_menu_list > li > a span {

   position: absolute;
   bottom: 0px;
   right: 0px;
   display: block;
   background-color: #D0D0D0;
   opacity: 0.5;
   height: 40%;
   width: 100%;

}

ul.zju_menu_list > li:hover > a span {

   position: absolute;
   top: 0px;
   right: 0px;
   display: block;
   background-color: white;
   opacity: 0.3;
   height: 60%;
   width: 100%;

}

/*div.zju_menu > a > span {

   position: absolute;
   bottom: 0px;
   display: block;
   background-color: white;
   opacity: 0.5;
   border-top: #A0A0A0 solid 3pt;
   height: 35%;
   width: 100%;

}

div.zju_menu > a:hover > span {

   position: absolute;
   top: 0px;
   display: block;
   background-color: white;
   opacity: 0.2;
   border-top: none;
   border-bottom: #A0A0A0 solid 3pt;
   height: 65%;
   width: 100%;

}*/