diff options
-rwxr-xr-x | cgi/user.cgi | 6 | ||||
-rw-r--r-- | static/styles.css | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/cgi/user.cgi b/cgi/user.cgi index a88c695..b24e147 100755 --- a/cgi/user.cgi +++ b/cgi/user.cgi @@ -11,7 +11,7 @@ def link(href, text, remote = false) end def toplinks - $cgi.table(id: "toplinks") { + $cgi.table(class: "toplinks") { $cgi.tr { $cgi.td { link("/" , "Home" ) } + $cgi.td { link("/eamit.html" , "eamit" , true) } + @@ -72,8 +72,8 @@ def page(title, jumbotitle = title) $cgi.link(rel: "stylesheet", href: "styles.css") } + $cgi.body { - $cgi.h1("class" => "jumbo") { jumbotitle } + - $cgi.div { toplinks } + + $cgi.h1(class: "jumbo") { jumbotitle } + + $cgi.div(class: "toplinks") { toplinks } + $page + $cgi.div(id: "quote") { rquote } } diff --git a/static/styles.css b/static/styles.css index 196745a..32f8eac 100644 --- a/static/styles.css +++ b/static/styles.css @@ -26,10 +26,14 @@ div { padding: 1em; } -table#toplinks { +div.toplinks { + background-color: #f7fff7; +} + +table.toplinks { width: 100%; - background-color: #fafffa; td { + padding: 1em; width: 1%; text-align: center; a { |