Team:WHU-China/middleleftcss
From 2013.igem.org
(Difference between revisions)
IgnatzZeng (Talk | contribs) |
IgnatzZeng (Talk | contribs) |
||
Line 40: | Line 40: | ||
} | } | ||
.backtop{ | .backtop{ | ||
- | float:right; | + | float:right; |
- | margin-bottom:15px; | + | margin-bottom:15px; |
- | width:5%; | + | width:5%; |
- | height:auto; | + | height:auto; |
- | } | + | } |
+ | |||
.stickToBottom{ | .stickToBottom{ | ||
position: fixed; | position: fixed; | ||
Line 51: | Line 52: | ||
margin-right: 5%; | margin-right: 5%; | ||
height:auto; | height:auto; | ||
+ | float:right; | ||
} | } |
Revision as of 12:47, 16 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:right; margin-bottom:15px; width:5%; height:auto; }
.stickToBottom{
position: fixed; bottom: 15px; width:5%; margin-right: 5%; height:auto; float:right;
}