Mercurial > qqw
view dw.css @ 77:e2865a7e11aa default tip
fix skull position
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sun, 24 Feb 2013 17:48:23 +0100 |
| parents | afa24ecb0d45 |
| children |
line wrap: on
line source
html, body { width: 100%; height: 100%; padding: 0; margin: 0; } div.content { height: 600px; width: 800px; margin: 0 auto; } #game { position: relative; overflow: hidden; width: 100%; height: 100%; background: #212; } #field { position: absolute; top: 50%; left: 50%; } #map { } #sprites { position: absolute; top: 10px; left: 12px; } #sprites b { position: absolute; display: block; width: 32px; height: 32px; margin: -26px 0 0 -16px; background: url(shadow.png) no-repeat; } #sprites b i { display: block; width: 32px; height: 32px; margin: 0; } #map p { margin: 0; line-height: 16px; white-space: nowrap; } #map i { display: inline-block; width: 24px; height: 16px; margin: 0; vertical-align: bottom; } #overlays b { display: inline-block; width: 24px; height: 16px; position: absolute; margin: -16px 0 0 0; z-index: 1000; } #mapdef { display: none; } #game p.message { background: #206; color: #ddd; text-shadow: #003 2px 2px 2px; border: 4px solid #ddd; border-radius: 8px; -moz-border-radius: 8px; -o-border-radius: 8px; padding: 16px; margin: 8px auto; width: 400px; box-shadow: inset #002 0 0 4px; -moz-box-shadow: inset #002 0 0 4px; -webkit-box-shadow: inset #002 0 0 4px; -o-box-shadow: inset #002 0 0 4px; font-size: 12px; font-weight: bold; font-family: sans-serif; white-space: pre-wrap; word-wrap: break-word; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; }
