diff options
Diffstat (limited to 'web/static/css')
-rw-r--r-- | web/static/css/base.ccss | 41 | ||||
-rw-r--r-- | web/static/css/corporation.ccss | 5 | ||||
-rw-r--r-- | web/static/css/kill.ccss | 27 |
3 files changed, 50 insertions, 23 deletions
diff --git a/web/static/css/base.ccss b/web/static/css/base.ccss index 9419e3f..19aa187 100644 --- a/web/static/css/base.ccss +++ b/web/static/css/base.ccss @@ -1,30 +1,35 @@ *: - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; + box-sizing: border-box + -moz-box-sizing: border-box + -webkit-box-sizing: border-box body: - margin: 0; - padding: 0; - height: 100%; - background: #000; - color: #ddd; - font-family: sans-serif; + margin: 0 + padding: 0 + height: 100% + background: #000 + color: #ddd + font-family: sans-serif a: - text-decoration: none; - color: #38c; + text-decoration: none + color: #38c form: input: - background: #fff; - border: 1px solid #cdd; - padding: 5px 10px; + background: #fff + border: 1px solid #cdd + padding: 5px 10px + +td: + white-space: nowrap + overflow: hidden + text-overflow: ellipsis .clear: - clear: both; + clear: both #wrapper: - width: 900px; - margin: 50px auto; - background: #111; + width: 900px + margin: 50px auto + background: #111 diff --git a/web/static/css/corporation.ccss b/web/static/css/corporation.ccss index 8ede2ef..c077808 100644 --- a/web/static/css/corporation.ccss +++ b/web/static/css/corporation.ccss @@ -5,11 +5,6 @@ table#kills: tr:nth-child(odd): background-color: #1a1a1a - th, td: - white-space: nowrap - overflow: hidden - text-overflow: ellipsis - th.time: width: 90px th.system: diff --git a/web/static/css/kill.ccss b/web/static/css/kill.ccss new file mode 100644 index 0000000..e53ea0e --- /dev/null +++ b/web/static/css/kill.ccss @@ -0,0 +1,27 @@ +#ship: + float: left + width: 256px + height: 256px + +table#victim: + float: right + table-layout: fixed + width: 388px + +table#attackers: + float: right + table-layout: fixed + width: 388px + + td: + height: 64px + &:nth-child(1): + width: 66px + white-space: normal + &:nth-child(2): + width: 200px + &:nth-child(3): + width: 32px + white-space: normal + &:nth-child(3): + width: 50px |