aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-18 20:26:40 +0100
committerJochen Topf <jochen@topf.org>2013-01-18 20:26:40 +0100
commitf5cf79aab997e270cf97b2b1abb39050c130de7a (patch)
tree4b36eeec8a984bd4b07947c7c4429431da7e16e0 /web
parent72da21f7c04139a380c6323a6c8825aa9c5cafd9 (diff)
downloadtaginfo-f5cf79aab997e270cf97b2b1abb39050c130de7a.tar
taginfo-f5cf79aab997e270cf97b2b1abb39050c130de7a.tar.gz
More css cleanup
Diffstat (limited to 'web')
-rw-r--r--web/public/css/taginfo.css13
-rw-r--r--web/views/layout.erb4
2 files changed, 15 insertions, 2 deletions
diff --git a/web/public/css/taginfo.css b/web/public/css/taginfo.css
index 0177572..8138c84 100644
--- a/web/public/css/taginfo.css
+++ b/web/public/css/taginfo.css
@@ -58,6 +58,15 @@ p.emphasis {
font-size: 110%;
}
+div#javascriptmsg {
+ position: absolute;
+ top: 0px;
+ left: 380px;
+ background-color: #f08080;
+ padding: 10px;
+ margin: 20px 40px;
+}
+
iframe {
display: none;
}
@@ -511,6 +520,10 @@ div.hDiv table th span {
/* ========== */
+div#help {
+ display: none;
+}
+
table.help_table {
width: 100%;
border-collapse: collapse;
diff --git a/web/views/layout.erb b/web/views/layout.erb
index 8ea0f9a..b725d61 100644
--- a/web/views/layout.erb
+++ b/web/views/layout.erb
@@ -48,8 +48,8 @@
<a class="extlink" href="http://wiki.openstreetmap.org/wiki/Taginfo"><%= t.taginfo.wiki %></a>
</div>
</div>
- <div id="javascriptmsg" style="position: absolute; top: 0px; left: 240px; background-color: #f08080; padding: 10px; margin: 20px 40px;">This website only works with Javascript! Please enable Javascript in your browser.</div>
- <div id="help" style="display: none;"><div id="help_tabs">
+ <div id="javascriptmsg">This website only works with Javascript! Please enable Javascript in your browser.</div>
+ <div id="help"><div id="help_tabs">
<ul>
<li><a href="/help/search"><%= t.help.search.title %></a></li>
<li><a href="/help/keyboard"><%= t.help.keyboard.title %></a></li>