From 3be026cf8aab0a82f29406cadd032d4dd35cb6ca Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Sat, 14 Sep 2013 09:22:09 +0100 Subject: [PATCH 1/2] make the pages look not so bad on my wifes ipad --- assets/html/author.html | 6 ++--- assets/html/documentation.html | 6 ++--- assets/html/download.html | 6 ++--- assets/html/example.html | 4 +++- assets/html/main.html | 7 +++--- assets/style/taskrambler.css | 44 +++++++++++++++++++++++++--------- 6 files changed, 48 insertions(+), 25 deletions(-) diff --git a/assets/html/author.html b/assets/html/author.html index ecd97ad..892fb57 100644 --- a/assets/html/author.html +++ b/assets/html/author.html @@ -19,18 +19,18 @@

Rambler

-
diff --git a/assets/html/documentation.html b/assets/html/documentation.html index a7926a6..aa0b5b8 100644 --- a/assets/html/documentation.html +++ b/assets/html/documentation.html @@ -19,18 +19,18 @@

Rambler

-
diff --git a/assets/html/download.html b/assets/html/download.html index 61de995..341c0df 100644 --- a/assets/html/download.html +++ b/assets/html/download.html @@ -19,18 +19,18 @@

Rambler

-
diff --git a/assets/html/example.html b/assets/html/example.html index d33824f..6047bd5 100644 --- a/assets/html/example.html +++ b/assets/html/example.html @@ -23,15 +23,17 @@

Rambler

-
diff --git a/assets/html/main.html b/assets/html/main.html index 2d86bab..fc57953 100644 --- a/assets/html/main.html +++ b/assets/html/main.html @@ -19,20 +19,19 @@

Rambler

-
diff --git a/assets/style/taskrambler.css b/assets/style/taskrambler.css index b0fe899..7d996d2 100644 --- a/assets/style/taskrambler.css +++ b/assets/style/taskrambler.css @@ -145,10 +145,15 @@ div.border div.br { #title { width: 677px; + height: 120px; margin-left: auto; margin-right: auto; } +#title a { + text-decoration: none; +} + #title div { float: left; height: 100px; @@ -185,27 +190,44 @@ div.border div.br { } #menu { - text-align: center; - width: 100%; + text-align: center; + margin: 0px; } #menu ul { - display: inline-block; - list-style: none; - padding: 0px; + display: inline-block; + width: 750px; + height: 40px; + list-style: none; + padding: 0px; + margin: 0px; + text-align: justify; + text-justify: distribute-all-lines; + background-color: rgb(42,44,40); } #menu ul li { - float: left; - padding: 10px 34px; - font-family: old_newspaper; - font-size: 20px; - background-color: rgb(42,44,40); - color: rgb(255,253,200); + display: inline-block; + font-family: old_newspaper; + font-size: 20px; + color: rgb(255,253,200); +} + +#menu ul li.menuedge { + width: 50px; + vertical-align: center; +} + +#menu ul div { + width: 100%; + display: inline-block; + font-size: 0; + line-height: 0; } #menu ul li span { cursor: pointer; + color: rgb(255,253,200); } #menu ul li a { From bfbb95bb7c6197a1179dfa3320dd674ae400d829 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Sat, 14 Sep 2013 10:01:51 +0100 Subject: [PATCH 2/2] fixed linking in example section --- assets/js/init.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/init.js b/assets/js/init.js index c357d10..fff4c45 100644 --- a/assets/js/init.js +++ b/assets/js/init.js @@ -9,15 +9,15 @@ $(document).ready(function() { $.getJSON("/sessinfo/", $.proxy(sess.loadJSON, sess)); }); - $("div#menu ul li:eq(0)").click(function() { + $("div#menu ul li:eq(1)").click(function() { sval.start(); }); - $("div#menu ul li:eq(1)").click(function() { + $("div#menu ul li:eq(2)").click(function() { $.getJSON("/sess/", $.proxy(sess.loadJSON, sess)); }); - $("div#menu ul li:eq(2)").click(function() { + $("div#menu ul li:eq(3)").click(function() { $("#login").removeClass("hide"); });