menu stuff

This commit is contained in:
ntr 2019-12-24 16:46:25 +10:00
parent cf4972a1b8
commit 493e7bcfd5
5 changed files with 8 additions and 24 deletions

View File

@ -262,12 +262,8 @@ figure.gray {
}
header {
.options {
font-size: 200%;
}
button {
height: 2em;
height: 2.5em;
// border-radius: 0.1em;
border: none;
border-radius: 0;

View File

@ -164,7 +164,7 @@
// portrait menu or small size vertical in landscape
@media (max-width: 550px) and (max-height: 800px) {
@media (max-width: 550px) and (max-height: 800px) and (orientation: portrait) {
#mnml {
grid-template-columns: 1fr;
grid-template-rows: 1fr;

View File

@ -59,17 +59,7 @@ function Header(args) {
if (!account) return false;
if (!authenticated) return (
<header>
<div class="options">
<button
onClick={() => navTo('play')}
class='logo login-btn'>
&nbsp;
</button>
</div>
</header>
)
if (!authenticated) return false;
function navTo(p) {
return setNav(p);
@ -83,11 +73,6 @@ function Header(args) {
return (
<header>
<div class="options">
<button
onClick={() => navTo('play')}
class='logo login-btn'>
&nbsp;
</button>
<button
onClick={() => navTo('play')}
class={`login-btn ${nav === 'play' ? 'highlight' : ''}`}>

View File

@ -19,7 +19,7 @@ function Welcome() {
const form = <div>{pageEl()}</div>;
return (
<div>
<header>
<div class="options">
<button
class={`login-btn ${page === 'login' ? 'highlight' : ''}`}
@ -41,7 +41,7 @@ function Welcome() {
</button>
</div>
{form}
</div>
</header>
);
}

View File

@ -1,2 +1,5 @@
# FIXME
game ready not auto starting resolve phase
remove big header and move to rhs of news pane
add big logo w/ noise when you mouseover stuff etc