From 6bba16618c0fdb26c2230c4293d6fc1acb6660e6 Mon Sep 17 00:00:00 2001 From: fortinux Date: Wed, 18 Jun 2014 17:05:29 -0300 Subject: [PATCH] a new navigation bar --- header.rhtml | 4 ++-- style.css | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/header.rhtml b/header.rhtml index ff9eac4..0a54b7e 100644 --- a/header.rhtml +++ b/header.rhtml @@ -3,7 +3,7 @@ - + - + diff --git a/style.css b/style.css index 29559e9..b03bc94 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,35 @@ @import url(../scarletred/style.css); +/* modified */ + +nav { + background-color: #0786bd; + bottom: 0; + color: red; + height: 20px; + left: -400px; + min-width: 300px; + padding: 10px 20px; + position: absolute; + text-align: center; + top: 40px; +} + +nav a + { + font-size:14px; + font-weight:bold; + margin:10px 0;height:20px; + padding:12px 10px; + color:#fff; + text-decoration:none; + } + + nav a:hover + { + background-color:#FAD433; + } + /* Main style page */ body { background: #FFF url('./images/bg-gradient.png') top left repeat-x; -- libgit2 0.21.2