sc: single attack column with indicator for target
[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 td .unit-massive,
60 td .unit-jump,
61 .hurt .unit-splash {
62         position: absolute;
63 }
64 .hurtrel, .units .hurtrel {
65         padding-left: 1em;
66         font-size: 70%;
67         color: #778;
68 }
69 .unit-splash {
70         color: #4A0;
71 }
72 .unit-massive {
73         color: #D88;
74 }
75 .unit-detect::before {
76         content: '!';
77         color: #0A8;
78         font-size: 70%;
79         vertical-align: super;
80 }
81 .unit-jump {
82         margin-left: -.2em;
83         color: #8A4;
84 }
85 .unit-magic {
86         padding-left: 0.5em;
87 }
88 .magic-perma {
89         text-decoration: underline;
90 }
91
92 .units .val {
93         white-space: nowrap;
94         text-align: right;
95 }
96
97 .legend dt {
98         float: none;
99         text-align: left;
100         margin-top: 1ex;
101         font-weight: bold;
102 }
103 .legend dd:before {
104         content: '• ';
105 }
106 .legend dd {
107         text-indent: -1em;
108         margin-left: 1em;
109 }
110
111 .legend {
112         display: table-cell;
113         min-width: 20em;
114         text-align: left;
115 }
116 .units {
117         float: left;
118         padding-bottom: 1em;
119         margin-right: 2em;
120 }
121