summaryrefslogtreecommitdiff
path: root/assets/less
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2015-02-10 18:25:55 -0500
committerThomas Park <thomas@thomaspark.me>2015-02-10 18:25:55 -0500
commite5a82f67ec16aecd9b19d7f296dc3094f9ba08ee (patch)
tree5e0d5e8997f572e0f80529945977b1e6b2318474 /assets/less
parentbdd9e5c42dc4f6f5350eb6207a03e7ce771373d2 (diff)
fix home navbar on mobile
Diffstat (limited to 'assets/less')
-rw-r--r--assets/less/bootswatch.less17
1 files changed, 12 insertions, 5 deletions
diff --git a/assets/less/bootswatch.less b/assets/less/bootswatch.less
index 99d828e4..53735f3e 100644
--- a/assets/less/bootswatch.less
+++ b/assets/less/bootswatch.less
@@ -1,13 +1,20 @@
body {
- padding-top: 50px;
+ padding-top: 50px;
+
> .navbar {
-webkit-transition: background-color 300ms ease-in;
transition: background-color 300ms ease-in;
}
- > .navbar-transparent {
- background-color: transparent;
- .navbar-nav > .open > a {
- background-color: transparent !important;
+}
+
+@media (min-width: 768px) {
+ body {
+ > .navbar-transparent {
+ background-color: transparent;
+
+ .navbar-nav > .open > a {
+ background-color: transparent !important;
+ }
}
}
}