summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-05-23 16:03:22 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-05-23 16:03:22 +0200
commitf52e0f4ee19c21eb05c4f46f35178af49579f49b (patch)
tree4132d8536ef5e5fe71072136847a013b01d20b22 /src/battlemap/www/style.css
parentd9f9a7e1e67eb53d22488dbfb9264e2e05ec1f7a (diff)
Centralizes Character HTML generation.
Diffstat (limited to 'src/battlemap/www/style.css')
-rw-r--r--src/battlemap/www/style.css7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/battlemap/www/style.css b/src/battlemap/www/style.css
index 5fc6ae5..ffd32d5 100644
--- a/src/battlemap/www/style.css
+++ b/src/battlemap/www/style.css
@@ -145,7 +145,7 @@
justify-content: left;
}
-.battlemap-character-card-portrait
+.battlemap-character-card .battlemap-character-portrait
{
grid-column: col 1;
grid-row: row 1 / span 3;
@@ -214,8 +214,7 @@
flex-wrap: wrap;
}
-.battlemap-character-portrait,
-.battlemap-timeline-portrait
+.battlemap-character-portrait
{
margin: 0.5em;
box-sizing: border-box;
@@ -244,7 +243,7 @@
float: left;
}
-.battlemap-timeline-portrait
+.battlemap-timeline-element .battlemap-character-portrait
{
display: inline-block;
vertical-align: middle;