Mercurial > pygame
view docs/_static/tooltip.css @ 3172:d1b367fc08bc tests-returncode
Use a return code of 1 when the tests fail.
| author | Thomas Kluyver <takowl@gmail.com> |
|---|---|
| date | Wed, 09 Jan 2013 10:13:57 +0000 |
| parents | da4302429d3b |
| children |
line wrap: on
line source
/* Implement hyperlink tooltips * * Adapted from "Sexy Tooltips with Just CSS" * http://sixrevisions.com/css/css-only-tooltips/ */ .tooltip { cursor: help; text-decoration: none; position: relative; } .tooltip span.tooltip-content { margin-left: -999em; position: absolute; } .tooltip:hover span.tooltip-content { position: absolute; left: 1em; top: 2em; z-index: 99; margin-left: 0; } .tooltip:hover img { border: 0; margin: -10px 0 0 -55px; float: left; position: absolute; } .tooltip:hover em { font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold; display: block; padding: 0.2em 0 0.6em 0; } .classic { padding: 0.8em 1em; } .custom { padding: 0.5em 0.8em 0.8em 2em; } * html a:hover { background: transparent; }
