reverting to old preact

This commit is contained in:
ntr
2019-05-30 16:29:41 +10:00
parent 47bbefc0a8
commit 83cfa9cd43
12 changed files with 142 additions and 139 deletions
+1
View File
@@ -370,6 +370,7 @@ header {
}
.constructs-list {
max-height: 100%;
margin-top: 0.5em;
grid-area: team;
+9 -33
View File
@@ -18,45 +18,21 @@
}
nav {
opacity: 0;
position: fixed;
margin-top: 4em;
pointer-events: none;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
display: none;
}
#mnml.nav-visible nav {
display: grid;
}
#mnml.nav-visible main {
display: none;
}
main {
overflow-x: hidden;
}
#toggle-nav { display: none; }
#toggle-nav-label {
grid-area: tnav;
color: whitesmoke;
line-height: 1.75em;
font-size: 1.5em;
display: block;
cursor: pointer;
margin-right: 0.5em;
}
#toggle-nav:checked #toggle-nav-label {
color: #ababab;
}
#toggle-nav:checked ~ nav {
opacity: 1;
pointer-events: auto;
}
#toggle-nav:checked ~ main {
opacity: 0.1;
pointer-events: none;
}
.login {
width: 100%;
}