From d3e12e883df63eb2d500ae06423818e6cdec7461 Mon Sep 17 00:00:00 2001 From: olf Date: Fri, 13 Mar 2015 11:38:19 +0100 Subject: added / fiddled in sublab css --- public/css/sublab.bootstrap.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 public/css/sublab.bootstrap.css diff --git a/public/css/sublab.bootstrap.css b/public/css/sublab.bootstrap.css new file mode 100644 index 0000000..ace4aac --- /dev/null +++ b/public/css/sublab.bootstrap.css @@ -0,0 +1,33 @@ +.wide { + width:100%; + height:200px; + background-image:url('/img/topimage.jpg'); + background-size:cover; +} + +h1 { + visibility: hidden; +} + +/* Stolen from: http://www.jonathanbriehl.com/2014/01/17/vertical-menu-for-bootstrap-3 */ +/* make sidebar nav vertical */ +@media (min-width: 768px) { + .sidebar-nav .navbar .navbar-collapse { + padding: 0; + max-height: none; + } + .sidebar-nav .navbar ul { + float: none; + } + .sidebar-nav .navbar ul:not { + display: block; + } + .sidebar-nav .navbar li { + float: none; + display: block; + } + .sidebar-nav .navbar li a { + padding-top: 12px; + padding-bottom: 12px; + } +} -- cgit v1.2.1