changeset 2329:5c04ea63bf29

Use CSS instead of hardcoding style for element.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 24 Apr 2021 16:09:34 +0300
parents 53eeb961cd91
children fd72c34c32c3
files www/info.php www/maps.css
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/www/info.php	Sat Apr 24 16:09:13 2021 +0300
+++ b/www/info.php	Sat Apr 24 16:09:34 2021 +0300
@@ -25,7 +25,7 @@
   "</div>\n".
   "<hr />\n".
   "<div style=\"text-align: center;\">\n".
-  " <table style=\"background: black;\">\n".
+  " <table class=\"locWizHasInfo\">\n".
   "  <tr>\n".
   "   <td class=\"locWizHasDesc\">Entry has information about the wizard.</td>\n".
   "   <td class=\"locWizHasNoDesc\">No wizard information entry.</td>\n".
--- a/www/maps.css	Sat Apr 24 16:09:13 2021 +0300
+++ b/www/maps.css	Sat Apr 24 16:09:34 2021 +0300
@@ -106,6 +106,11 @@
 	min-width: 8em;
 }
 
+
+.locWizHasInfo {
+	background: black;
+}
+
 .locWizHasDesc {
 	background: #474;
 }