From 33dc186b5e65219ffdb341c7217b502648f51d3d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 17 May 2020 08:58:04 -0700 Subject: [PATCH] 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). --- empires/style.css | 6 ++++++ 1 file changed, 6 insertions(+) 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%; -- 2.43.0