diff options
author | chief <chief@chief-laptop.(none)> | 2009-11-23 15:31:15 +0100 |
---|---|---|
committer | chief <chief@chief-laptop.(none)> | 2009-11-23 15:31:15 +0100 |
commit | a27bdb78b378e119a5934c40f7356dce3ef0ef94 (patch) | |
tree | 7fa7a80a701e25633c38ca9c282f1b17da3ae281 | |
parent | 59f751019226834eb30085c74310cec593956bd8 (diff) |
new navi
-rwxr-xr-x[-rw-r--r--] | views/layout.haml | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | views/style.sass | 41 |
2 files changed, 29 insertions, 15 deletions
diff --git a/views/layout.haml b/views/layout.haml index 95faae9..c645be6 100644..100755 --- a/views/layout.haml +++ b/views/layout.haml @@ -11,7 +11,8 @@ .header .logo %img{ :src => "/logo.jpg", :alt => "in silico toxicology" } - %br research + consulting + .desc + research + consulting .index %ul %li{:class => ("selected" if /^\/$/ =~ request.path )} diff --git a/views/style.sass b/views/style.sass index b65f749..d3de5b8 100644..100755 --- a/views/style.sass +++ b/views/style.sass @@ -1,25 +1,38 @@ body - background-color: grey - + background-color: white + min-width: 50em + max-width: 50em + .header - :background-color blue + background-color: white .logo - :background-color orange + background-color: rgb(128,128,255) + + .desc + display: inline + color: white + padding: 1px .index - :background-color red - + background-color: rgb(128,128,255) + li - :display inline - &:hover - :background-color white - + display: inline + padding: 1em + &hover: red + li.selected - :background-color green + background-color: white + color: black .content - :background-color yellow - + background-color: white + padding: 0.5em + + + .footer - :background-color green + background-color: rgb(128,128,255) + + |