mobile styles
This commit is contained in:
parent
f6ff6d37e3
commit
c2120a602b
@ -6,6 +6,7 @@ footer {
|
||||
|
||||
button {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
background: #222;
|
||||
font-size: 1.5em;
|
||||
|
||||
@ -317,37 +317,58 @@
|
||||
|
||||
grid-template-rows: 1fr 0.2fr 1.5fr;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.game .stats div {
|
||||
padding: 0;
|
||||
}
|
||||
.game-construct {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: min-content 1fr;
|
||||
|
||||
.game .stats .max {
|
||||
display: none;
|
||||
}
|
||||
.left {
|
||||
grid-template-rows: min-content min-content;
|
||||
}
|
||||
|
||||
.game .stats .value {
|
||||
display: flex;
|
||||
}
|
||||
.skills {
|
||||
button {
|
||||
padding: 0 0.5em ;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.game .stats svg {
|
||||
height: 1em;
|
||||
}
|
||||
.stats div {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.game .stats div {
|
||||
margin: 0 0.2em;
|
||||
}
|
||||
.stats .max {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.game .effects {
|
||||
font-size: 100%;
|
||||
}
|
||||
.stats .value {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#mnml .game .skills button, #mnml .game .stats {
|
||||
font-size: 75%;
|
||||
}
|
||||
.stats svg {
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
.game-construct .name {
|
||||
display: none;
|
||||
.stats div {
|
||||
margin: 0 0.2em;
|
||||
}
|
||||
|
||||
.effects {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
.skills button, .stats, .name {
|
||||
font-size: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
.opponent {
|
||||
.game-construct {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: min-content 1fr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,9 +1,10 @@
|
||||
@media (max-width: 800px) {
|
||||
#mnml {
|
||||
font-size: 14pt;
|
||||
font-size: 12pt;
|
||||
padding: 1em 0 0 0;
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: 1fr min-content;
|
||||
overflow-y: scroll;
|
||||
grid-template-areas:
|
||||
"main"
|
||||
"footer";
|
||||
|
||||
@ -263,7 +263,7 @@ impl Events {
|
||||
None => false,
|
||||
})
|
||||
.map(|(_id, c)| PvpRequest { id: c.id, account: c.account.unwrap(), tx: c.tx.clone() })
|
||||
.ok_or(format_err!("invite not found code={:?}", code))?;
|
||||
.ok_or(format_err!("invite expired code={:?}", code))?;
|
||||
|
||||
let join = PvpRequest { id: c.id, account: c.account.unwrap(), tx: c.tx.clone() };
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user