diff options
author | Adam Mathes <adam@trenchant.org> | 2018-06-12 15:31:25 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2018-06-12 15:31:25 -0700 |
commit | c2e10f09732ff96a7b185aa4e0a8896750d5c32d (patch) | |
tree | ff85aba115dc1592393cd87539f4771a537407a4 /static | |
parent | 641482c1d898da0f0c8bf717b15b41bc8dbe2442 (diff) | |
download | neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.tar.gz neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.tar.bz2 neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.zip |
hide sidebar on small width
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 3 | ||||
-rw-r--r-- | static/ui.js | 3 |
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(); }); |