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-15 14:22:22 +0100
commit5945ae8dbb867068722377cedf4f0b46873a2d9a (patch)
tree64db3fa76e9a9c4f22baf6e7225ace824c372630 /public/css
parentddd7c87f0ab496b4699e9dfc16c396ecc3636a2b (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;
+ }
+}