X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=empires%2Fstyle.css;h=1bb0e62eb0eada366c08f28a523def5ed75ee10d;hb=8eb53d4b38b59de577c0502d870003c5ca2bdd3d;hp=1a57b07c00fdd007d5609ddc1de9837011d1ca1c;hpb=05dc239c21e567bdd50d6fee2e8bffff72981b5f;p=lmno.games diff --git a/empires/style.css b/empires/style.css index 1a57b07..1bb0e62 100644 --- a/empires/style.css +++ b/empires/style.css @@ -1,37 +1,5 @@ -/* Default message severity is "info" but can be overriden. */ -.message { - padding: 1em; - background-color: #46a7f5; - color: white; - transition: 0.3s; - margin-bottom: 0.5em; - font-weight: bold; -} - -.success { - background-color: #6abc6d; -} - -.warning { - background-color: #ffa92a; -} - -.danger { - background-color: #f56257 -} - -.hide-button { - color: white; - font-weight: bold; - float: right; - font-size: 150%; - cursor: pointer; -} - -.hide-button:hover { - color: black; -} - +/* By default, hide things that are not to be shown + * until a particular game state is reached. */ .show-state-join { display:none; } @@ -44,6 +12,8 @@ display:none; } +/* And by default, show things that will be hidden + * when a particular game state is reached. */ .hide-state-join { display:block; } @@ -55,3 +25,21 @@ .hide-state-capture { display:block; } + +/* Players list starts out hidden (until a player is added). */ +#players-div { + display:none; +} + +/* Host tools start out hidden. */ +#host-tools { + display: none; +} + +/* When a character name is being revealed, we want this to be huge, + * (like, filling the screen huge). */ +#character-reveal { + color: var(--text-fg-color); + font-size: 300%; + font-weight: bold; +}