Add viewport to pages, to score better on "Mobile Friendly".
[frank.git] / prod / net / jaekl / frank / Style.java
index f3d58a9068802ddf8f4afdc49c653c4892b48e3a..e986e71e71591b9d9565ef1f1e3b912b02eb88a2 100644 (file)
@@ -5,13 +5,14 @@ import java.io.PrintWriter;
 public class Style {
        static final String CSS = 
                        "<STYLE>\n" +
-                       "  body {background-color: #F0F0C0; font-size: 1em; }\n" +
+                       "  body {background-color: #F0F0C0; font-size: 100%; }\n" +
                        "  #errhead td {background-color: #D00000; color: #FFFFFF; font-size: 2em; padding: 3px 3px 3px 3px; text-align: left; }\n" +
                        "  #errtable table { border: 3px solid #D00000; border-collapse: collapse; background-color: #E0E080; }\n" +
                        "  #errtable table, tr, td { padding: 3px; }\n" +
                        "  #errtable tr.alt { background-color: #D0D070; }\n" +
                        "  #errtable td.head {text-align: right; background-color: #D00000; color: #FFFFFF; font-weight: bold; }\n" +
-                       "  #trips {border-collapse: collapse; font-size: 1.5em; }\n" +
+                       "  #trips {border-collapse: collapse; font-size: 80%;}\n" +
+                       "  #trips table {width: 100%;}\n" +
                        "  #trips td, #trips th {border: 1px solid #600000; padding: 3px 3px 3px 3px; text-align: center;}\n" +
                        "  #trips th {background-color: #800000; color: #FFFFFF; }\n" +
                        "  #trips tr.ghost td {background-color: #C0C0C0;}\n" +