From a272d2df40d64801d012561fa8f5ada17c2a98c9 Mon Sep 17 00:00:00 2001 From: fortinux Date: Wed, 18 Jun 2014 17:46:37 -0300 Subject: [PATCH] the new navigation bar --- header.rhtml | 10 +++++----- style.css | 33 +++++++++++++++++---------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/header.rhtml b/header.rhtml index 0a54b7e..ff958a9 100644 --- a/header.rhtml +++ b/header.rhtml @@ -1,9 +1,9 @@ -
-
+ +
-
+ }); + fim id="assets-menu" --> diff --git a/style.css b/style.css index b03bc94..5c672df 100644 --- a/style.css +++ b/style.css @@ -2,32 +2,33 @@ /* modified */ -nav { - background-color: #0786bd; +#nav { + /* background-color: #0786bd; */ bottom: 0; color: red; height: 20px; - left: -400px; - min-width: 300px; - padding: 10px 20px; + /* left: -400 if it's on wrapper */ + width: 100%; + padding: 10px 16px; position: absolute; text-align: center; - top: 40px; -} + top: 0px; + } -nav a +#nav a { - font-size:14px; - font-weight:bold; - margin:10px 0;height:20px; - padding:12px 10px; - color:#fff; - text-decoration:none; + font-size:14px; + font-weight:bold; + margin:10px 0; + height:16px; + padding:12px 10px; + color:#000; + text-decoration:none; } - nav a:hover +#nav a:hover { - background-color:#FAD433; + background-color:red; } /* Main style page */ -- libgit2 0.21.2