From 3e5c1379b6a230b8ce1d771b31858d9f93f6e46a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 20 Jun 2021 12:38:03 +0200 Subject: crusader: Add "plural" info to block data for better messages. --- play.html | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index e3d0e5a..67c85f9 100644 --- a/play.html +++ b/play.html @@ -19,12 +19,12 @@ .grid_log { background-color: ghostwhite; } .grid_top { background-color: gainsboro; } .grid_top.your_turn { background-color: orange; } -.grid_top.Frank.your_turn { background-color: khaki; } +.grid_top.Frank.your_turn { background-color: gold; } .grid_top.Saracen.your_turn { background-color: lightgreen; } .grid_top.disconnected { background-color: red; } .role_info { background-color: silver; } .one .role_name { background-color: khaki; } -.two .role_name { background-color: lightgreen; } +.two .role_name { background-color: darkseagreen; } #turn { padding: 8px 0px 8px 8px; @@ -136,8 +136,6 @@ body.shift .block.known:hover { .map .block.known { z-index: 5; } .map .block.known:hover { z-index: 6; } -.block.highlight { cursor: pointer; box-shadow: 0px 0px 4px 1px white; } - .block { background-size: cover; background-repeat: no-repeat; @@ -147,25 +145,32 @@ body.shift .block.known:hover { box-shadow: 0px 0px 4px 0px black; } -.block.Frank { border: 3px solid orange; background-color: orange; } -.block.Saracen { border: 3px solid green; background-color: green; } -.block.Assassins { border: 3px solid purple; background-color: purple; } +.block.Frank { border: 3px solid darkkhaki; background-color: khaki; } +.block.Saracen { border: 3px solid seagreen; background-color: darkseagreen; } +.block.Assassins { border: 3px solid rebeccapurple; background-color: rebeccapurple; } .block.Frank.highlight { border-color: white; } .block.Saracen.highlight { border-color: white; } .block.Assassins.highlight { border-color: white; } -.block.Frank.selected { border-color: yellow; } -.block.Saracen.selected { border-color: yellow; } -.block.Assassins.selected { border-color: yellow; } +.block.Frank.selected { border-color: gold; } +.block.Saracen.selected { border-color: lightgreen; } +.block.Assassins.selected { border-color: hotpink; } -.block.selected { box-shadow: 0 0 4px 1px yellow; } -.block.moved { filter: brightness(85%) grayscale(50%); } -.block.highlight.moved { filter: brightness(95%) grayscale(60%); } +.block.highlight { cursor: pointer; } +.block.highlight { box-shadow: 0px 0px 4px 1px white; } +.block.selected { box-shadow: 0 0 4px 1px white; } +.block.moved { filter: brightness(80%) grayscale(40%); } +.block.highlight.moved { filter: brightness(95%) grayscale(40%); } +.block.r0 { transform: rotate(0deg); } .block.r1 { transform: rotate(-90deg); } .block.r2 { transform: rotate(-180deg); } .block.r3 { transform: rotate(-270deg); } +.block.r0hh { transform: rotate(-30deg); } +.block.r1hh { transform: rotate(-120deg); } +.block.r2hh { transform: rotate(-210deg); } +.block.r3hh { transform: rotate(-300deg); } .block { transition-property: top, left, transform; @@ -305,8 +310,8 @@ body.shift .block.known:hover {