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

Line 102: Line 102:
 
     transition: 0.5s;
 
     transition: 0.5s;
 
}
 
}
 +
 +
/* right menu start */
 +
.rightmenu{
 +
    position:fixed;
 +
    top:15%;
 +
    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 06:04, 1 October 2017