Team:UCLondon/Templates/links-footer
From 2012e.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | #footer-links * { | ||
+ | padding:0; | ||
+ | margin: 0; | ||
+ | list-style-type:none; | ||
+ | } | ||
+ | |||
+ | #footer-links a { | ||
+ | display: block; | ||
+ | text-decoration: none; | ||
+ | color: #3B5330; | ||
+ | } | ||
+ | |||
+ | #footer-links a:hover { background: rgba(230, 230, 230, 0.6);} | ||
+ | |||
+ | #footer-links ul li ul li a:hover { | ||
+ | //background: #ECF1E7; | ||
+ | padding-left:9px; | ||
+ | border-left: solid 1px #000; | ||
+ | } | ||
+ | |||
+ | #footer-links ul li ul li { | ||
+ | /*width: 100px; | ||
+ | border: none; | ||
+ | color: black; | ||
+ | padding-top: 3px; | ||
+ | padding-bottom:3px; | ||
+ | padding-left: 3px; | ||
+ | padding-right: 3px; | ||
+ | //background: #B0BD97;*/ | ||
+ | float:left; | ||
+ | } | ||
+ | |||
+ | #footer-links ul li ul li a { | ||
+ | //font: 11px arial; | ||
+ | //font-weight:normal; | ||
+ | //font-variant: small-caps; | ||
+ | padding-top:3px; | ||
+ | padding-bottom:3px; | ||
+ | } | ||
+ | #footer-links ul li { | ||
+ | float: left; | ||
+ | |||
+ | //border-top: solid 1px #283923; | ||
+ | //border-bottom: solid 1px #283923; | ||
+ | //background: #979E71; | ||
+ | } | ||
+ | #footer-links ul li a { | ||
+ | //font-weight: bold; | ||
+ | padding: 15px 10px; | ||
+ | } | ||
+ | #footer-links li{ | ||
+ | position:relative; | ||
+ | float:left; | ||
+ | } | ||
+ | #footer-links ul li ul, #footer-links:hover ul li ul, #footer-links:hover ul li:hover ul li ul{ | ||
+ | display:none; | ||
+ | list-style-type:none; | ||
+ | width: 140px; | ||
+ | |||
+ | } | ||
+ | #footer-links:hover ul, #footer-links:hover ul li:hover ul, #footer-links:hover ul li:hover ul li:hover ul { | ||
+ | display:block; | ||
+ | } | ||
+ | #footer-links:hover ul li:hover ul li:hover ul { | ||
+ | position: absolute; | ||
+ | margin-left: 145px; | ||
+ | margin-top: -22px; | ||
+ | //font: 10px; | ||
+ | } | ||
+ | #footer-links:hover ul li:hover ul { | ||
+ | position: absolute; | ||
+ | margin-top: 1px; | ||
+ | //font: 10px; | ||
+ | bottom:100%; | ||
+ | } | ||
#footer-links { | #footer-links { |
Revision as of 02:24, 14 September 2012