17aec8160b73c5ae906b39de2b92eb3214c56c8f
[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-s {color: #770}
51 .unit-m {color: #C70}
52 .unit-l {color: #D22}
53 .unit-h {color: #804}
54 td .unit-massive,
55 td .unit-jump,
56 .hurt .unit-splash {
57         position: absolute;
58 }
59 .hurtrel, .units .hurtrel {
60         color: #778;
61 }
62 td.hurtrel {
63         padding-left: 1em;
64 }
65 td.unit-shield,
66 td.hurtrel {
67         font-size: 70%;
68 }
69 tbody .unit-shield {
70         color: #64A;
71 }
72 .unit-pdd {
73         color: #A8C;
74 }
75 .unit-splash {
76         color: #4A0;
77 }
78 .hurt-a {
79         color: #036;
80 }
81 .hurt-g {
82         color: #063;
83 }
84 .unit-massive {
85         color: #D88;
86 }
87 .unit-detect::before {
88         content: '!';
89         color: #0A8;
90         font-size: 70%;
91         vertical-align: super;
92 }
93 .unit-jump {
94         margin-left: -.2em;
95         color: #8A4;
96 }
97 .unit-magic {
98         padding-left: 0.5em;
99 }
100 .magic-perma {
101         text-decoration: underline;
102                 text-decoration-color: #8C0;
103            -moz-text-decoration-color: #8C0;
104         -webkit-text-decoration-color: #8C0;
105 }
106
107 .units .val {
108         white-space: nowrap;
109         text-align: right;
110 }
111
112 .legend dt {
113         float: none;
114         text-align: left;
115         margin-top: 1ex;
116         font-weight: bold;
117 }
118 .legend dd:before {
119         content: '• ';
120 }
121 .legend dd {
122         text-indent: -1em;
123         margin-left: 1em;
124 }
125
126 .legend {
127         display: table-cell;
128         min-width: 20em;
129         text-align: left;
130 }
131 .units {
132         float: left;
133         padding-bottom: 1em;
134         margin-right: 2em;
135 }
136