changeset 1522:061395ff0045

Adjust label styles of JS+html maps.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Feb 2015 20:06:49 +0200
parents e55eadc9d949
children 9a3753bcf1a7
files colormap.c
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/colormap.c	Mon Feb 09 04:31:04 2015 +0200
+++ b/colormap.c	Mon Feb 09 20:06:49 2015 +0200
@@ -236,6 +236,14 @@
     "    top: 0px;\n"
     "    left: 0px;\n"
     "    z-index: 2;\n"
+    "    border: 2px solid black;\n"
+    "    border-radius: 0.35em;\n"
+    "    padding: 0.15em;\n"
+    "    box-shadow: 2px 2px 4px black;\n"
+    "  }\n"
+    "  div.sbtitle {\n"
+    "    font-size: 1.5em;\n"
+    "    font-weight: bold;\n"
     "  }\n"
     );
     }
@@ -270,10 +278,10 @@
     {
         fprintf(outFile,
         "<div id=\"sbox\" class=\"sgbox\">\n"
-        " <b>");
+        " <div class=\"sbtitle\">");
         fputse(optMapTitle, outFile);
         fprintf(outFile,
-        "</b>\n"
+        "</div>\n"
         " <form>\n"
         "  <select name=\"slocation\" onChange=\"gotoPos();\">\n"
         "@LOCATIONS@\n"