From f713d7fde7252fd5e1dc6b4184045b886ada5552 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 20 Nov 2022 17:56:05 +0100 Subject: Tweak layout of stacked vassals and conquered markers. --- play.html | 12 ++++++++++-- 1 file 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 { -- cgit v1.2.3