]> git.cworth.org Git - lmno.games/commitdiff
Add some comments on the CSS for styling the empires client
authorCarl Worth <cworth@cworth.org>
Sun, 17 May 2020 15:58:04 +0000 (08:58 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 17 May 2020 15:58:04 +0000 (08:58 -0700)
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

index 8298a65dcb9bef312c00b056c4ef836d37912458..1bb0e62eb0eada366c08f28a523def5ed75ee10d 100644 (file)
@@ -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%;