From: Carl Worth Date: Sun, 17 May 2020 15:58:04 +0000 (-0700) Subject: Add some comments on the CSS for styling the empires client X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=33dc186b5e65219ffdb341c7217b502648f51d3d Add some comments on the CSS for styling the empires client At this point, all of the generic styling, (for paragraphs, forms, etc.), has been moved up to the top level. So the only styling left at the level of the empires directory are things to set very empires-specific things, (such as showing/hiding elements for particular game states). --- diff --git a/empires/style.css b/empires/style.css index 8298a65..1bb0e62 100644 --- a/empires/style.css +++ b/empires/style.css @@ -1,3 +1,5 @@ +/* By default, hide things that are not to be shown + * until a particular game state is reached. */ .show-state-join { display:none; } @@ -10,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; } @@ -32,6 +36,8 @@ 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%;