From 9ae6920c507c4ad580d2557e1d826cff62c418aa Mon Sep 17 00:00:00 2001 From: raylu Date: Mon, 21 Oct 2013 20:20:52 -0700 Subject: lay out modules on ship --- web/static/css/kill.ccss | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) (limited to 'web/static/css/kill.ccss') diff --git a/web/static/css/kill.ccss b/web/static/css/kill.ccss index 2ea2e38..6fada2f 100644 --- a/web/static/css/kill.ccss +++ b/web/static/css/kill.ccss @@ -1,7 +1,45 @@ +#wrapper: + padding: 20px + #ship: float: left - width: 256px - height: 256px + width: 356px // 256 + 32 * 2 + 32 (last 32 is for medium charges) + height: 320px + line-height: 0 + background-position: 32px 32px + background-repeat: no-repeat + + #high: + margin-left: 32px + #high_charges: + display: inline-block; + margin-left: 32px + #medium: + width: 32px + float: right + #medium_charges: + width: 32px + float: right + #rig: + width: 32px + float: left + margin-top: 48px + #subsystem: + width: 32px + float: left + margin-top: 16px + #low: + margin-left: 32px + #low_charges: + display: inline-block + margin: 16px 0 0 32px + + .slot: + display: inline-block + width: 32px + height: 32px + .avail: + border: 1px solid #888 table#victim: float: right -- cgit v1.2.3