sc: distinguish linear splash damage
[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.unit-s {color: #770}
48 .unit.unit-m {color: #C70}
49 .unit.unit-l {color: #D22}
50 .unit.unit-h {color: #804}
51 .hurt.unit-s::before {
52         content: '~';
53         color: #773;
54 }
55 .hurt.unit-l::before {
56         content: '*';
57         color: #C66;
58 }
59 .unit-massive,
60 .hurt .unit-splash {
61         position: absolute;
62 }
63 .hurtrel, .units .hurtrel {
64         padding-left: 1em;
65         font-size: 70%;
66         color: #778;
67 }
68 .unit-splash {
69         color: #4A0;
70 }
71 .unit-massive {
72         color: #A76;
73 }
74 .unit-detect::before {
75         content: '!';
76         color: #0A8;
77         font-size: 70%;
78         vertical-align: super;
79 }
80 .unit-magic {
81         padding-left: 0.5em;
82 }
83 .magic-perma {
84         text-decoration: underline;
85 }
86
87 .units .val {
88         white-space: nowrap;
89         text-align: right;
90 }
91
92 .legend dt {
93         float: none;
94         text-align: left;
95         margin-top: 1ex;
96         font-weight: bold;
97 }
98 .legend dd:before {
99         content: '• ';
100 }
101 .legend dd {
102         text-indent: -1em;
103         margin-left: 1em;
104 }
105
106 .legend {
107         display: table-cell;
108         min-width: 20em;
109         text-align: left;
110 }
111 .units {
112         float: left;
113         padding-bottom: 1em;
114         margin-right: 2em;
115 }
116