From d84e9e74cadc97af63025884167a73b6815fa754 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 3 Jul 2012 02:05:56 +0200 Subject: o Adding a side bar. --- public/stylesheets/style.css | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 30e047d..ccb2639 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -1,8 +1,25 @@ -body { - padding: 50px; - font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; +.sidebar-nav { + padding: 9px 0; +} + +.sidebar-nav-fixed { + position:fixed; + /* Only used with top, static navbar + top:60px; */ + top:20px; + width:21.97%; +} + +@media (max-width: 767px) { + .sidebar-nav-fixed { + width:auto; + } +} + +@media (max-width: 979px) { + .sidebar-nav-fixed { + position:static; + width: auto; + } } -a { - color: #00B7FF; -} \ No newline at end of file -- cgit v1.2.3