Difference between revisions of "Template:CGU Taiwan/cgustyle"

Line 206: Line 206:
 
     background-size:contain;
 
     background-size:contain;
 
}
 
}
 +
/* left menu end */
  
 
 
 
 
/* right menu start */
 
.rightmenuBack{
 
    position:fixed;
 
    top:18%;
 
    display:inline-block;
 
    float:left;
 
    width:199.5px;
 
    height:430px;
 
    background:url(https://static.igem.org/mediawiki/2017/6/69/Cgurightmenu-back.png) top left no-repeat;
 
    background-size:contain;
 
    z-index:-2;
 
}
 
 
.rightmenu{
 
    position:fixed;
 
    top:18%;
 
    display:inline-block;
 
    float:left;
 
width:199.5px;
 
height:143.33px;
 
    background-size:contain;
 
    z-index:1;
 
/* transition: 1s; */
 
}
 
 
.rightmenu ul {
 
display: inline-block;
 
text-align:center;
 
margin:0px;
 
padding:0px;
 
list-style:none;
 
font-size:13px;
 
}
 
 
.rightmenu li {
 
float:left;
 
}
 
 
.rightmenu li a {
 
display:block;
 
text-decoration:none;
 
background:url(https://static.igem.org/mediawiki/2017/7/7c/Cgurightmenu.png) top left no-repeat;
 
float:left;
 
width:199px;
 
height:143.33px;
 
text-align:center;
 
text-indent:-300px;
 
margin:0px;
 
}
 
 
.rightmenu li.right1 a {
 
width:199px;
 
height:143.33px;
 
background:url(https://static.igem.org/mediawiki/2017/7/7c/Cgurightmenu.png) top left no-repeat;
 
}
 
 
.rightmenu li.right2 a {
 
width:199px;
 
height:143.33px;
 
background:url(https://static.igem.org/mediawiki/2017/7/7c/Cgurightmenu.png) 0px -143.33px no-repeat;
 
}
 
 
.rightmenu li.right3 a {
 
width:199px;
 
height:143.33px;
 
background:url(https://static.igem.org/mediawiki/2017/7/7c/Cgurightmenu.png) 0px -286.66px no-repeat;
 
}
 
 
.rightmenu li.right1 a:hover {
 
background:url(https://static.igem.org/mediawiki/2017/7/7c/Cgurightmenu.png) -199.5px 0px no-repeat;
 
}
 
 
.rightmenu li.right2 a:hover {
 
width:199px;
 
height:143.33px;
 
background:url(https://static.igem.org/mediawiki/2017/7/7c/Cgurightmenu.png) -199.5px -143.33px no-repeat;
 
}
 
 
.rightmenu li.right3 a:hover {
 
width:199px;
 
height:143.33px;
 
background:url(https://static.igem.org/mediawiki/2017/7/7c/Cgurightmenu.png) -199.5px -286.66px no-repeat;
 
}
 
 
 
/* right menu end */
 
  
 
/* background animation end */
 
/* background animation end */

Revision as of 16:07, 18 October 2017