From a0f5a919ca9a543f58b980ac816f36bf83307c3c Mon Sep 17 00:00:00 2001 From: funjoker Date: Fri, 16 Mar 2018 23:27:27 +0100 Subject: [PATCH] Start work --- _layouts/default.html | 2 +- css/customstyles.css | 28 ++++++++-------------------- css/theme-blue.css | 7 +++++++ 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 0d7602ded..2ad052753 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -75,7 +75,7 @@ {% include topnav.html %} -
+
diff --git a/css/customstyles.css b/css/customstyles.css index 908a22410..eee925182 100644 --- a/css/customstyles.css +++ b/css/customstyles.css @@ -2,6 +2,13 @@ body { font-size:15px; } +.container-fluid { + padding-right: 15px; + padding-left: 15px; + margin-right: 15%; + margin-left: auto; +} + .bs-callout { padding: 20px; margin: 20px 0; @@ -381,6 +388,7 @@ background-color: #347DBE; ul#mysidebar { border-radius:0px; + width: 15%; } .nav ul li ul li a { @@ -852,26 +860,6 @@ span.soft { } } -@media (max-width: 990px) { - #mysidebar { - position: relative; - } -} - -@media (min-width: 1000px) { - - ul#mysidebar { - width: 225px; - } -} - -@media (max-width: 900px) { - - ul#mysidebar { - max-width: 100%; - } -} - .col-md-9 img { max-width: 100%; max-height: 100%; diff --git a/css/theme-blue.css b/css/theme-blue.css index db84521bf..d1dae4127 100644 --- a/css/theme-blue.css +++ b/css/theme-blue.css @@ -8,6 +8,13 @@ h3 {color: #ED1951; } h4 {color: #808080; } +#mysidebar { + transition: all 0.3s; + position: fixed; + Height: 100%; + overflow-y: auto; +} + .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { background-color: #248ec2; color: white;