git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sc: colourise shield column to match bonus indicator style
[sheet.git]
/
sc.css
diff --git
a/sc.css
b/sc.css
index f85e7ac9b9a120aad485ea36f6bb346bcfbadcbf..6da59adae5bd3ccc4e6b830372057f8d65079ba8 100644
(file)
--- a/
sc.css
+++ b/
sc.css
@@
-31,40
+31,57
@@
table h2 {
font-weight: normal;
}
font-weight: normal;
}
+.units td.unit {
+ padding-right: 0;
+}
+.units td.unit + td.unit {
+ padding-left: 0;
+}
.unit-o {color: #C08} /* organic */
.unit-u {color: #44C} /* mechanic */
.unit-o {color: #C08} /* organic */
.unit-u {color: #44C} /* mechanic */
+.unit-p {color: #0A8} /* psionic */
.unit-composed {
color: #C88;
font-size: 70%;
}
.unit-composed {
color: #C88;
font-size: 70%;
}
-.unit.unit-s {color: #770}
-.unit.unit-m {color: #C70}
-.unit.unit-l {color: #D22}
-.hurt.unit-s::before {
- content: '~';
- color: #773;
-}
-.hurt.unit-l::before {
- content: '*';
- color: #C66;
-}
+.unit-s {color: #770}
+.unit-m {color: #C70}
+.unit-l {color: #D22}
+.unit-h {color: #804}
+td .unit-massive,
+td .unit-jump,
.hurt .unit-splash {
position: absolute;
}
.hurtrel, .units .hurtrel {
.hurt .unit-splash {
position: absolute;
}
.hurtrel, .units .hurtrel {
+ color: #778;
+}
+td.hurtrel {
padding-left: 1em;
padding-left: 1em;
+}
+td.unit-shield,
+td.hurtrel {
font-size: 70%;
font-size: 70%;
- color: #778;
+}
+tbody .unit-shield {
+ color: #46A;
}
.unit-splash {
color: #4A0;
}
}
.unit-splash {
color: #4A0;
}
+.unit-massive {
+ color: #D88;
+}
.unit-detect::before {
content: '!';
color: #0A8;
font-size: 70%;
vertical-align: super;
}
.unit-detect::before {
content: '!';
color: #0A8;
font-size: 70%;
vertical-align: super;
}
+.unit-jump {
+ margin-left: -.2em;
+ color: #8A4;
+}
.unit-magic {
padding-left: 0.5em;
}
.unit-magic {
padding-left: 0.5em;
}