sc: link between different include versions
[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: #46A;
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