aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-06-12 15:31:25 -0700
committerAdam Mathes <adam@trenchant.org>2018-06-12 15:31:25 -0700
commitc2e10f09732ff96a7b185aa4e0a8896750d5c32d (patch)
treeff85aba115dc1592393cd87539f4771a537407a4
parent641482c1d898da0f0c8bf717b15b41bc8dbe2442 (diff)
downloadneko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.tar.gz
neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.tar.bz2
neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.zip
hide sidebar on small width
-rw-r--r--static/style.css3
-rw-r--r--static/ui.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index c73a8be..4fce014 100644
--- a/static/style.css
+++ b/static/style.css
@@ -165,13 +165,12 @@ pre {
position: fixed;
top: 0;
left: 0;
- color: black;
+ color: white;
line-height: 1em;
z-index: 1;
cursor: pointer;
width: 10rem;
font-size: 2rem;
- background: black;
}
.hasunread {
diff --git a/static/ui.js b/static/ui.js
index 6534a20..5f50655 100644
--- a/static/ui.js
+++ b/static/ui.js
@@ -1,6 +1,9 @@
var templates = {};
$(document).ready(function() {
+ if ( $(window).width() < 1024 ) {
+ $('#filters').addClass('hidden');
+ }
boot();
});