summaryrefslogtreecommitdiffstats
path: root/assets/stylesheets
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-02 17:48:35 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-02 17:48:35 -0700
commitfaf63566dfdb647609f23cd8472437a08da183a8 (patch)
tree41da6edaaa5e605ae7ad437ad5c14143e43eaf50 /assets/stylesheets
parentc88382aea061e90bd8546e9d880c8e63cebd94bf (diff)
downloadgitbook-faf63566dfdb647609f23cd8472437a08da183a8.zip
gitbook-faf63566dfdb647609f23cd8472437a08da183a8.tar.gz
gitbook-faf63566dfdb647609f23cd8472437a08da183a8.tar.bz2
Hide articles in progress bar on mobile
Diffstat (limited to 'assets/stylesheets')
-rw-r--r--assets/stylesheets/book/progress.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/stylesheets/book/progress.less b/assets/stylesheets/book/progress.less
index c3887c6..25cfd4c 100644
--- a/assets/stylesheets/book/progress.less
+++ b/assets/stylesheets/book/progress.less
@@ -74,6 +74,14 @@
background: @brand-success;
box-shadow: none;
}
+
+ @media (max-width: 800px) {
+ display: none;
+
+ &.new-chapter {
+ display: block;
+ }
+ }
}
}
}