Team:UCL PG/Sponsor
From 2013.igem.org
(Difference between revisions)
Line 48: | Line 48: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | a.tooltip {outline:none; } a.tooltip strong {line-height:30px;} a.tooltip:hover {text-decoration:none;} a.tooltip span { z-index:10;display:none; padding:14px 20px; margin-top:60px; margin-left:- | + | a.tooltip {outline:none; } |
+ | a.tooltip strong {line-height:30px;} | ||
+ | a.tooltip:hover {text-decoration:none;} | ||
+ | a.tooltip span { z-index:10;display:none; padding:14px 20px; margin-top:60px; margin-left:-140px; width:240px; line-height:16px; } | ||
+ | a.tooltip:hover span{ display:inline; position:absolute; border:2px solid #FFF; color:#EEE; background:#000 url(src/css-tooltip-gradient-bg.png) repeat-x 0 0; } | ||
+ | .callout {z-index:20;position:absolute;border:0;top:-14px;left:120px;} | ||
+ | a.tooltip span { border-radius:10px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -moz-box-shadow: 0px 0px 8px 4px #666; -webkit-box-shadow: 0px 0px 8px 4px #666; box-shadow: 0px 0px 8px 4px #666; opacity: 0.8; } | ||
</style> | </style> | ||
Revision as of 10:52, 29 September 2013