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