aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-04-28 21:13:10 -0700
committerAdam Mathes <adam@trenchant.org>2018-04-28 21:13:10 -0700
commit0289c734708b085d5cc7610f77b54c456b030f5c (patch)
tree2065108185b8cf082393ba6aa9bbf65a74b4dd7a /static
parent977cffac4df09a49a0d61c19688cebf0c58eeb51 (diff)
downloadneko-0289c734708b085d5cc7610f77b54c456b030f5c.tar.gz
neko-0289c734708b085d5cc7610f77b54c456b030f5c.tar.bz2
neko-0289c734708b085d5cc7610f77b54c456b030f5c.zip
nekoburger menu
Diffstat (limited to 'static')
-rw-r--r--static/style.css10
-rw-r--r--static/ui.html2
2 files changed, 9 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css
index 852ae77..09b6263 100644
--- a/static/style.css
+++ b/static/style.css
@@ -120,6 +120,12 @@ h3 {
height: 100%;
overflow-y: auto;
background-color: #ccc;
+ transition-property: left;
+ transition-duration: .4s;
+}
+
+#filters.hidden {
+ left: -13rem;
}
#tags, #feeds {
@@ -163,8 +169,8 @@ pre {
line-height: 1em;
z-index: 1;
cursor: pointer;
- width: 5rem;
- background-color: #ccc;
+ width: 1.5rem;
+ font-size: 3rem;
}
.hasunread {
diff --git a/static/ui.html b/static/ui.html
index cae2c56..3067029 100644
--- a/static/ui.html
+++ b/static/ui.html
@@ -14,7 +14,7 @@
<meta name="viewport" content="width=device-width,height=device-height, initial-scale=1, maximum-scale=1" />
</head>
<body>
- <h1 class="logo" onclick="$('#filters').toggle();">😸neko</h1>
+ <h1 class="logo" onclick="$('#filters').toggleClass('hidden');">😸</h1>
<div id="filters">