diff options
author | Nat Lasseter <user@4574.co.uk> | 2025-05-13 10:39:39 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2025-05-13 10:39:39 +0100 |
commit | a332a7365cc5e4a88c4967b8bb46985dbadd5fce (patch) | |
tree | f325197be45d66fde0abdc4ce6cf3f90c4dd9b0f | |
parent | 7b78082187507a2bb964f82eaa11f9f3b2f2c468 (diff) |
[toplinks] restyle
-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 { |