summaryrefslogtreecommitdiff
path: root/public/css
diff options
context:
space:
mode:
authorolf <olf@subsignal.org>2015-03-13 11:38:19 +0100
committerolf <olf@subsignal.org>2015-03-13 11:38:19 +0100
commitd3e12e883df63eb2d500ae06423818e6cdec7461 (patch)
tree95782513925ad347baee2fc32014bec49c8c0244 /public/css
parentfc3cae2c1d0e20ca06268240ce1afdc21cb56cf3 (diff)
added / fiddled in sublab css
Diffstat (limited to 'public/css')
-rw-r--r--public/css/sublab.bootstrap.css33
1 files changed, 33 insertions, 0 deletions
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;
+ }
+}