diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-27 23:47:37 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-27 23:47:37 +0100 |
commit | fb15209e66c5365c5df2d9fe1993ab319fd8eab6 (patch) | |
tree | 99ad2008455dcda1d2d242eb879ae69d06299101 /play.css | |
parent | aba1092cc2e5eb0edef4862c228c29e5f974f982 (diff) | |
download | maria-fb15209e66c5365c5df2d9fe1993ab319fd8eab6.tar.gz |
add power control markers in player list
Diffstat (limited to 'play.css')
-rw-r--r-- | play.css | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -29,6 +29,47 @@ body { .role.active span { font-weight: bold } +.role_stat { + display: flex; + flex-wrap: wrap; + align-items: start; + gap: 4px; + padding-right: 3px; +} + +.role_marker { + display: inline-block; + width: 30px; + height: 22px; + background-size: 24px 24px; + background-position: center; + background-repeat: no-repeat; + border: 1px solid black; +} + +.role_marker.france { background-color: #ed1c24 } +.role_marker.prussia { background-color: #005988 } +.role_marker.pragmatic { background-color: #5f5c5c } +.role_marker.austria { background-color: #ffffff } +.role_marker.saxony { background-color: #157d36 } +.role_marker.bavaria { background-color: #ffc825 } + +.role_marker.france { background-image: url(images/role_france.1x.png) } +.role_marker.prussia { background-image: url(images/role_prussia.1x.png) } +.role_marker.pragmatic { background-image: url(images/role_pragmatic.1x.png) } +.role_marker.austria { background-image: url(images/role_austria.1x.png) } +.role_marker.saxony { background-image: url(images/role_saxony.1x.png) } +.role_marker.bavaria { background-image: url(images/role_bavaria.1x.png) } + +@media (min-resolution: 97dpi) { +.role_marker.france { background-image: url(images/role_france.2x.png) } +.role_marker.prussia { background-image: url(images/role_prussia.2x.png) } +.role_marker.pragmatic { background-image: url(images/role_pragmatic.2x.png) } +.role_marker.austria { background-image: url(images/role_austria.2x.png) } +.role_marker.saxony { background-image: url(images/role_saxony.2x.png) } +.role_marker.bavaria { background-image: url(images/role_bavaria.2x.png) } +} + #mapwrap { width: 2485px; height: 1654px; |