Line 562: | Line 562: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.div-table { | .div-table { | ||
Line 959: | Line 913: | ||
<!-- scrollspy --> | <!-- scrollspy --> | ||
− | <script src="https://static.igem.org/mediawiki/2017/6/60/Scrollspy.txt"></script> | + | <style> |
+ | #myScrollspy | ||
+ | { | ||
+ | margin-top:-372px; | ||
+ | overflow-x: visible; | ||
+ | background-color: #333; | ||
+ | position: fixed; | ||
+ | height: 100%; | ||
+ | width: 230px; | ||
+ | } | ||
+ | #myScrollspy ul | ||
+ | { | ||
+ | list-style:none; | ||
+ | position:relative; | ||
+ | float:left; | ||
+ | margin:0; | ||
+ | } | ||
+ | #myScrollspy ul a | ||
+ | { | ||
+ | display:block; | ||
+ | color: white; | ||
+ | position:relative; | ||
+ | text-decoration:none; | ||
+ | font-weight:700; | ||
+ | font-size:15px; | ||
+ | line-height:32px; | ||
+ | padding:0 15px; | ||
+ | z-index: 2000; | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | } | ||
+ | #myScrollspy ul li | ||
+ | { | ||
+ | z-index: 2000; | ||
+ | position:relative; | ||
+ | float:left; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | } | ||
+ | #myScrollspy ul li.active | ||
+ | {background:red;} | ||
+ | #myScrollspy ul li.active:hover | ||
+ | {background-color:rgba(255, 170, 170, 0.25);} | ||
+ | #myScrollspy ul li:hover | ||
+ | {background-color:rgba(160, 192, 239, 0.25);} | ||
+ | </style> | ||
+ | |||
+ | <!-- fucking lol piece of shit igem site --> | ||
+ | <script src="https://static.igem.org/mediawiki/2017/6/60/Scrollspy.txt"></script> | ||
+ | |||
<script> | <script> | ||
// Add scrollspy to document | // Add scrollspy to document |
Revision as of 14:55, 27 October 2017