Line 1: | Line 1: | ||
#FudanChinaWikiBody{ | #FudanChinaWikiBody{ | ||
background: url("https://static.igem.org/mediawiki/2017/2/22/T--Fudan_China--background.jpg") 100% 100% fixed; | background: url("https://static.igem.org/mediawiki/2017/2/22/T--Fudan_China--background.jpg") 100% 100% fixed; | ||
− | + | z-index:100; | |
} | } | ||
#nav{ | #nav{ |
Revision as of 02:23, 30 October 2017
- FudanChinaWikiBody{
background: url("") 100% 100% fixed;
z-index:100; }
- nav{
position: fixed; top: 18px; right: 0; width:100%; height: 40px; background: #141414; z-index: 999;
}
- FudanChinaWikiBody a{
color: #ffffff; text-decoration: none; position: relative; float: left;
}
- nav a:hover{
color: rgb(22,167,182); transition: color; transition-duration: 500ms;
} .navList{
position: relative; height: 40px; float: left;
} .navList>a{
margin: 0 10px 0 10px; line-height: 40px;
} .navList:hover{
margin: 0 30px 0 0; transition: margin; transition-duration: 1000ms;
}
- FudanChinaWikiBody ul{
list-style-image: none;
} .navList>ul{
position: absolute; top: 40px; left: 10px; background: #141414; color: #ffffff; width: 200px; list-style-type: none; margin: 0; padding: 0;
} .navList li{
position: relative; float: top; height: 25px;
} .navList h6{
position: relative; left: 10px; line-height: 25px;
}
- FudanChinaWikiBody h5{
font-size: 14px; letter-spacing: 3px; margin: 0; padding:0; color:inherit;
}
- FudanChinaWikiBody h6{
font-size: 12px; letter-spacing: 2px; margin: 0; padding:0; color:inherit;
}
- upButton{
position: fixed; right:30px; bottom: 30px; width: 50px; height:50px; color:white; background: rgba(72,149,138,0.8); z-index: 999;
}
- upButton h5{
line-height: 50px; text-align: center;
}
- upButton:hover{
color: black; background: rgba(22,167,182,0.8); transition: background,color; transition-duration: 400ms;
}