aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-03-21 04:29:16 +0700
committerGravatar Ugnich Anton2014-03-21 04:29:16 +0700
commit184b96f8bec5f6846168e5cb5e7f46f2ccce8c7b (patch)
tree85167bfbff2cb16c82024c6bee599eb5b524d108
parentc137f9c5acdb896a04569c5276cc53eaa68a5b2b (diff)
html5shiv
-rw-r--r--src/java/com/juick/http/www/PageTemplates.java9
-rw-r--r--web/style3.css2
2 files changed, 7 insertions, 4 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java
index c3ed163b..3a46e80c 100644
--- a/src/java/com/juick/http/www/PageTemplates.java
+++ b/src/java/com/juick/http/www/PageTemplates.java
@@ -52,7 +52,7 @@ public class PageTemplates {
out.println("<!DOCTYPE html>");
out.print("<html>");
out.print("<head>");
- out.print("<link rel=\"stylesheet\" href=\"/style.2014031801.css\"/>");
+ out.print("<link rel=\"stylesheet\" href=\"/style.2014031802.css\"/>");
out.print("<script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js\"></script>");
out.print("<script type=\"text/javascript\" src=\"/scripts.2014031801.js\"></script>");
if (headers != null) {
@@ -60,7 +60,10 @@ public class PageTemplates {
}
out.print("<title>" + title + "</title>");
out.print("<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>");
- out.print("<link rel=\"icon\" href=\"//i.juick.com/favicon.png\"/>");
+ out.println("<link rel=\"icon\" href=\"//i.juick.com/favicon.png\"/>");
+ out.println("<!--[if lt IE 9]>");
+ out.println("<script src=\"//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js\"></script>");
+ out.println("<![endif]-->");
out.println("</head>");
out.flush();
out.println("<body>");
@@ -110,7 +113,7 @@ public class PageTemplates {
out.println("site_charset: \"utf-8\",");
out.println("ad_format: \"direct\",");
out.println("type: \"728x90\",");
- out.println("site_bg_color: \"EEEEE5\",");
+ out.println("site_bg_color: \"FFFFFF\",");
out.println("title_color: \"006699\",");
out.println("url_color: \"000000\",");
out.println("text_color: \"000000\",");
diff --git a/web/style3.css b/web/style3.css
index 43af1fdc..b8661ce8 100644
--- a/web/style3.css
+++ b/web/style3.css
@@ -68,7 +68,7 @@ article footer.comm { margin: 13px 0 0 0; }
article textarea { width: 530px; padding: 2px; resize: vertical; vertical-align: top; min-height: 12pt; height: 12pt; border: 0; }
article input { width: 50px; margin-left: 6px; vertical-align: top; border: 1px solid #CCC; background: #EEE; color: #999; }
-#yandex_ad_728 { width: 728px; height: 90px; margin: 20px 0 30px 0; }
+#yandex_ad_728 { width: 728px; height: 90px; margin: 20px 0; padding: 15px 0; background: #FFF; }
#geomap { width: 700px; height: 300px; margin-top: 1em; overflow: hidden; }