summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-11-20 17:56:05 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:37 +0100
commitf713d7fde7252fd5e1dc6b4184045b886ada5552 (patch)
tree58b26f762fbbac6928a400f3b875a1fa3cacb136
parent70608033bab44e05f347c61c372a55b36f8062d9 (diff)
downloadnevsky-f713d7fde7252fd5e1dc6b4184045b886ada5552.tar.gz
Tweak layout of stacked vassals and conquered markers.
-rw-r--r--play.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/play.html b/play.html
index 34a0651..1991f3e 100644
--- a/play.html
+++ b/play.html
@@ -230,7 +230,12 @@ body.shift .mustered_vassals {
}
.mat .ready_vassals .service_marker {
- margin-top: -8px;
+ transition: margin 100ms;
+ margin-top: -24px;
+}
+
+.mat .ready_vassals:hover .service_marker {
+ margin-top: 6px;
}
.mat .mustered_vassals .service_marker {
@@ -257,7 +262,6 @@ body.shift .mustered_vassals {
.mat .assets { top: 255px; left: 24px; width: 230px; height: 96px; }
.mat .ready_vassals { bottom: 22px; right: 22px; width: 94px; }
.mat .mustered_vassals { bottom: 138px; right: 8px; width: 94px; }
-X.mat .mustered_vassals { top: 228px; right: 6px; width: 94px; }
.mat.teutonic.andreas .background { background-image:url(images/mat_teutonic_andreas.opt.png) }
.mat.teutonic.heinrich .background { background-image:url(images/mat_teutonic_heinrich.opt.png) }
@@ -273,6 +277,10 @@ X.mat .mustered_vassals { top: 228px; right: 6px; width: 94px; }
.mat.russian.karelians .background { background-image:url(images/mat_russian_karelians.opt.png) }
.mat.russian.vladislav .background { background-image:url(images/mat_russian_vladislav.opt.png) }
+.conquered + .conquered { margin-left: -44px; margin-bottom: 13px; }
+.conquered + .conquered + .conquered { margin-bottom: 26px; }
+.conquered + .conquered + .conquered + .conquered { margin-bottom: 39px; }
+
/* TUCKED CARDS */
.tuck_under_map {