sc: transport slots instead or in addition to unit size
[sheet.git] / sc.css
1 .units {
2         border-collapse: separate;
3         border-spacing: 0;
4         margin: 0 auto;
5         white-space: nowrap;
6 }
7 .units th, .units td {
8         border: 0;
9         padding: 0 0.2em;
10         background: transparent;
11         text-align: left;
12 }
13 tr.alt td {
14         font-size: 70%;
15         padding-left: 0.5em;
16 }
17 .units tr th:first-child {
18         padding-left: 0;
19 }
20 .units tbody tr:hover:not(.race) {
21         background: #EEE;
22 }
23
24 table h2 {
25         padding: 1ex 0;
26         margin: 0;
27         text-align: center;
28 }
29 .units thead th, .units tfoot th {
30         font-size: 70%;
31         font-weight: normal;
32 }
33
34 .units td.unit {
35         padding-right: 0;
36 }
37 .units td.unit + td.unit {
38         padding-left: 0;
39 }
40 .unit-supply {
41         color: #080;
42 }
43 .unit-o {color: #C08} /* organic */
44 .unit-u {color: #44C} /* mechanic */
45 .unit-p {color: #0A8} /* psionic */
46 .unit-composed {
47         color: #C88;
48         font-size: 70%;
49 }
50 .unit-air {
51         color: #08C;
52 }
53 .unit-x {color: #888}
54 .unit-s {color: #890}
55 .unit-m {color: #C70}
56 .unit-l {color: #D22}
57 .unit-h {color: #804}
58 td .unit-massive,
59 td .unit-jump,
60 .hurt .unit-splash {
61         position: absolute;
62 }
63 .hurtrel, .units .hurtrel {
64         color: #778;
65 }
66 td.hurtrel {
67         padding-left: 1em;
68 }
69 td.unit-shield,
70 td.hurtrel {
71         font-size: 70%;
72 }
73 tbody .unit-shield {
74         color: #64A;
75 }
76 .unit-pdd {
77         color: #A8C;
78 }
79 .unit-splash {
80         color: #4A0;
81 }
82 .hurt-a {
83         color: #036;
84 }
85 .hurt-g {
86         color: #063;
87 }
88 .unit-massive {
89         color: #D88;
90 }
91 .unit-detect::before {
92         content: '!';
93         color: #0A8;
94         font-size: 70%;
95         vertical-align: super;
96 }
97 .unit-jump {
98         margin-left: -.2em;
99         color: #8A4;
100 }
101 .unit-magic {
102         padding-left: 0.5em;
103 }
104 .magic-perma {
105         text-decoration: underline;
106                 text-decoration-color: #8C0;
107            -moz-text-decoration-color: #8C0;
108         -webkit-text-decoration-color: #8C0;
109 }
110
111 .units .val {
112         white-space: nowrap;
113         text-align: right;
114 }
115
116 .legend dt {
117         float: none;
118         text-align: left;
119         margin-top: 1ex;
120         font-weight: bold;
121 }
122 .legend dd:before {
123         content: '• ';
124 }
125 .legend dd {
126         text-indent: -1em;
127         margin-left: 1em;
128 }
129
130 .legend {
131         display: table-cell;
132         min-width: 20em;
133         text-align: left;
134 }
135 .units {
136         float: left;
137         padding-bottom: 1em;
138         margin-right: 2em;
139 }
140