Team:WHU-China/middleleftcss
From 2013.igem.org
(Difference between revisions)
IgnatzZeng (Talk | contribs) |
IgnatzZeng (Talk | contribs) |
||
Line 47: | Line 47: | ||
margin-left:94%; | margin-left:94%; | ||
} | } | ||
- | .backtop img{width:100%;} | + | .backtop img, .mainiGEM img{width:100%;} |
.stickToBottom{ | .stickToBottom{ | ||
top:88%; | top:88%; | ||
+ | position: fixed; | ||
+ | } | ||
+ | |||
+ | .mainiGEM{ | ||
+ | float:right; | ||
+ | position:absolute; | ||
+ | top:20px; | ||
+ | width:5%; | ||
+ | height:auto; | ||
+ | margin-left:94%; | ||
+ | } | ||
+ | .sticktotop{ | ||
+ | top:20px; | ||
position: fixed; | position: fixed; | ||
} | } |
Revision as of 17:25, 21 September 2013
/* Redesigning Table Of Content */ /********************************/ table.toc, #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
text-align: left;}
- toctitle {
margin: 5px 0;}
.toc, #toc {
margin-top:30px; background-color: #F6F6F6; border: 1px solid #CCCCCC; box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15); -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15); /* for the Safari browser*/ float: left; width: 15%; display: block; overflow: hidden; padding: 0;}
- toc ul, .toc ul {
margin: 0 5px 5px 5px;}
.toc ul li {
padding-left: 12px; text-indent: -12px; /*width: 200px;*/}
.toc ul li ul li {
padding-left: 25px; text-indent: -24px; /*width: 170px;*/}
- toc ul ul, .toc ul ul {
margin: 0;}
.toc {
margin-left:5%; margin-top:20px;}
.stickBelowNavigation {
position: fixed; top: 35px; margin-left: 5%;}
.tochidden {
position: static; margin-left: 4px; }
.backtop{
float:left; position:absolute; top:0; width:6%; height:auto; margin-left:94%; }
.backtop img, .mainiGEM img{width:100%;} .stickToBottom{
top:88%; position: fixed;
}
.mainiGEM{
float:right; position:absolute; top:20px; width:5%; height:auto; margin-left:94%; }
.sticktotop{
top:20px; position: fixed;
}