Fix regression where login button was not enabled when menu is open
This commit is contained in:
parent
ba0fe09d06
commit
8f2299cee5
|
@ -50,7 +50,7 @@ nav #menu {
|
||||||
margin: .1em auto 0 auto;
|
margin: .1em auto 0 auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
z-index: 3;
|
z-index: 3; /* Make appear under #login */
|
||||||
}
|
}
|
||||||
nav li {
|
nav li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -83,10 +83,10 @@ nav #usermenu {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
z-index: 2; /* Make appear over #login */
|
z-index: 5; /* Make appear over #login */
|
||||||
}
|
}
|
||||||
nav #login {
|
nav #login {
|
||||||
z-index: 1; /* Make appear under #usermenu */
|
z-index: 4; /* Make appear under #usermenu and over #menu */
|
||||||
}
|
}
|
||||||
|
|
||||||
nav #usermenu li:first-child, nav #usermenu li:first-child a {
|
nav #usermenu li:first-child, nav #usermenu li:first-child a {
|
||||||
|
@ -205,7 +205,7 @@ article {
|
||||||
margin: 0 1rem 0 1rem;
|
margin: 0 1rem 0 1rem;
|
||||||
background: white;
|
background: white;
|
||||||
|
|
||||||
z-index: 2;
|
z-index: 2; /* Make appear under #menu */
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
article p {
|
article p {
|
||||||
|
@ -224,7 +224,7 @@ main:before {
|
||||||
right: 1rem;
|
right: 1rem;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: 8em;
|
height: 8em;
|
||||||
z-index: 1;
|
z-index: 1; /* Make appear under article */
|
||||||
max-width: 58rem;
|
max-width: 58rem;
|
||||||
box-shadow: 0 -.2rem .15rem rgba(0,0,0,.3);
|
box-shadow: 0 -.2rem .15rem rgba(0,0,0,.3);
|
||||||
border-radius: 0 0 .3em .3em;
|
border-radius: 0 0 .3em .3em;
|
||||||
|
|
Loading…
Reference in New Issue