From e9eea68aa81ffd30bda3b9b61129f3347b5a52b2 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Sat, 22 Sep 2018 21:35:40 +0100 Subject: [PATCH] Tweak layout --- public/style.css | 6 +++--- views/layout.haml | 30 +++++++++++++----------------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/public/style.css b/public/style.css index 4a45519..aa97818 100644 --- a/public/style.css +++ b/public/style.css @@ -36,7 +36,7 @@ tr.header { border-bottom: 1px solid #eee; } -#header +header { font-size: 100%; /* background-color: #e8f3f4; */ @@ -52,7 +52,7 @@ tr.header { width: 930px; } -#header h1 { +header h1 { font-size: 180%; color: #555; } @@ -184,7 +184,7 @@ nav } @media print { - .noprint, #footer, .nav, nav + .noprint, footer, .nav, nav { display: none; } diff --git a/views/layout.haml b/views/layout.haml index c6919d5..07984d8 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -5,26 +5,22 @@ %link{ :href => '/style.css', :rel => 'stylesheet'} %body #main - #header + %header %h1 InLink kiosks planning applications - - %ul.menu - %li - %a{ :href => '/' } - Home - -# + %nav + %ul.menu %li - %a{ :href => '/authorities/' } - Authorities - %li - %a{ :href => '/new/' } - New applications - %li - %a{ :href => '/decisions/' } - Latest decisions + %a{ :href => '/' }< + Home + %li + %a{ :href => '/new/' }< + New applications + %li + %a{ :href => '/decisions/' }< + Latest decisions = yield - #footer + %footer %a{ :href => 'https://twitter.com/adrianshort'}< @adrianshort made this %a{ :href => 'https://github.com/adrianshort/kiosks'}< @@ -34,5 +30,5 @@ %a{ :href => 'https://morph.io/adrianshort/inlink-scraper'}< Data API and bulk download %a{ :href => 'https://twitter.com/search?f=tweets&vertical=default&q=%23inlink'}< - \#InLink + \#InLink on Twitter