diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-09 13:19:50 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:19:39 +0100 |
commit | a48aaeb6a1d27f70a4758c63b4108f987775ca02 (patch) | |
tree | d3d6133d649b7ded2fa713bce70c476962af8fb9 /play.html | |
parent | d49de477a33e5a30139febca24bb2d140331eb03 (diff) | |
download | crusader-rex-a48aaeb6a1d27f70a4758c63b4108f987775ca02.tar.gz |
crusader: Improved castle graphic and layout.
Left-align blocks in castle to clearly show how much room is left.
Remove towers from the graphic - it just looks weird and takes too
much vertical space.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -263,11 +263,21 @@ body.shift .block.known:hover { background-repeat: no-repeat; padding: 0; height: 107px; - padding-top: 53px; + padding-top: 33px; border-bottom: 5px solid dimgray; - filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.5)); + filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.5)); + justify-content: left; } +#FC.c1 .battle_menu:first-child { margin-left: 30px; } +#FC.c2 .battle_menu:first-child { margin-left: 25px; } +#FC.c3 .battle_menu:first-child { margin-left: 20px; } +#FC.c4 .battle_menu:first-child { margin-left: 15px; } +#EC.c1 .battle_menu:first-child { margin-left: 30px; } +#EC.c2 .battle_menu:first-child { margin-left: 25px; } +#EC.c3 .battle_menu:first-child { margin-left: 20px; } +#EC.c4 .battle_menu:first-child { margin-left: 15px; } + #FC.c0, #EC.c0 { display: none; } #FC.c1, #EC.c1 { background-image: url('castle_1.svg'); width: 140px; } #FC.c2, #EC.c2 { background-image: url('castle_2.svg'); width: 220px; } |