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