356 lines
7.3 KiB
Plaintext
356 lines
7.3 KiB
Plaintext
@media (max-width: 800px) {
|
|
body {
|
|
overflow-y: initial;
|
|
}
|
|
|
|
#mnml {
|
|
font-size: 8pt;
|
|
padding: 0;
|
|
|
|
&.front-page {
|
|
main {
|
|
padding: 0 0.5em;
|
|
}
|
|
}
|
|
|
|
.instance {
|
|
grid-template-areas:
|
|
"vbox vbox"
|
|
"constructs constructs";
|
|
|
|
font-size: 7.5pt;
|
|
|
|
.stats {
|
|
div:nth-child(4n) {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
stroke-width: 1.25em;
|
|
}
|
|
|
|
}
|
|
|
|
.game {
|
|
font-size: 7.5pt;
|
|
.stats {
|
|
svg {
|
|
stroke-width: 1.5em;
|
|
}
|
|
|
|
div:nth-child(4n) {
|
|
margin: 0 0.25em;
|
|
}
|
|
div {
|
|
padding: 0 0.25em;
|
|
}
|
|
|
|
}
|
|
|
|
.team, #targeting, .resolving-skill {
|
|
width: calc(90% - 3em);
|
|
}
|
|
|
|
.game-construct {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: min-content 1fr;
|
|
|
|
.avatar {
|
|
grid-area: initial;
|
|
position: absolute;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: -1;
|
|
}
|
|
|
|
svg {
|
|
height: 1.5em;
|
|
}
|
|
}
|
|
|
|
.skills {
|
|
display: flex;
|
|
button {
|
|
font-size: 1em;
|
|
letter-spacing: 0.1em;
|
|
margin-right: 0;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.effects {
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.skill-description {
|
|
svg {
|
|
height: 1em;
|
|
}
|
|
}
|
|
|
|
.player {
|
|
width: calc(90%);
|
|
.game-construct {
|
|
grid-template-areas:
|
|
"left"
|
|
"right";
|
|
|
|
.left {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr min-content;
|
|
grid-template-areas:
|
|
"skills"
|
|
"effects";
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
.resolving-skill {
|
|
width: calc(90%);
|
|
}
|
|
|
|
.opponent {
|
|
width: calc(90%);
|
|
.game-construct {
|
|
grid-template-rows: 2fr min-content;
|
|
grid-template-rows: 1fr;
|
|
grid-template-areas:
|
|
"right"
|
|
"left";
|
|
|
|
.left {
|
|
grid-template-columns: min-content 1fr;
|
|
}
|
|
}
|
|
|
|
.avatar {
|
|
top: 3em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.instance-construct {
|
|
position: relative;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: min-content min-content 1fr min-content;
|
|
grid-template-areas:
|
|
"skills skills"
|
|
"specs specs"
|
|
"avatar name"
|
|
"stats stats ";
|
|
|
|
.skills, .specs {
|
|
font-size: 75%;
|
|
}
|
|
|
|
.stats {
|
|
svg {
|
|
height: 1em;
|
|
}
|
|
}
|
|
|
|
.name {
|
|
align-self: center;
|
|
}
|
|
}
|
|
|
|
aside {
|
|
font-size: 75%;
|
|
button {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// portrait menu or small size vertical in landscape
|
|
@media (max-width: 550px) and (max-height: 800px) and (orientation: portrait) {
|
|
#mnml {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr;
|
|
grid-template-areas:
|
|
"main";
|
|
|
|
&.front-page {
|
|
display: block;
|
|
|
|
main {
|
|
padding: 0 0.5em;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
section {
|
|
grid-template-columns: 1fr;
|
|
|
|
.list {
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
&.play {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.account {
|
|
grid-template-columns: 1fr;
|
|
|
|
div {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.play-ctrl {
|
|
display: none;
|
|
}
|
|
|
|
.menu {
|
|
height: auto;
|
|
display: block;
|
|
|
|
.options {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
button:not(:last-child) {
|
|
border: 0.1em solid #222;
|
|
}
|
|
|
|
button.logo {
|
|
grid-column-end: span 2;
|
|
border: none;
|
|
margin-right: 0;
|
|
margin-top: 0.5em;
|
|
background-position: center;
|
|
}
|
|
}
|
|
|
|
.team {
|
|
grid-template-columns: 1fr;
|
|
|
|
.construct {
|
|
height: 10em;
|
|
}
|
|
}
|
|
|
|
.news {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.stats {
|
|
font-size: 6pt;
|
|
}
|
|
|
|
.skill-description {
|
|
font-size: 6pt;
|
|
}
|
|
|
|
section {
|
|
.list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.vbox {
|
|
grid-template-rows: min-content min-content 1fr;
|
|
grid-template-columns: min-content 1fr min-content 1fr;
|
|
grid-template-areas:
|
|
"store-hdr store-hdr stash-hdr stash-hdr"
|
|
"store store stash stash"
|
|
"store store info-combiner info-combiner";
|
|
|
|
> div {
|
|
padding: 0.25em;
|
|
}
|
|
|
|
.combos {
|
|
display: none;
|
|
}
|
|
|
|
.info-combiner {
|
|
max-height: 7em;
|
|
overflow-y: scroll;
|
|
|
|
.info {
|
|
display: none;
|
|
}
|
|
|
|
.combiner {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.stash {
|
|
border: 0;
|
|
border-top: 0.1em solid @gray;
|
|
border-right: 0.1em solid @gray;
|
|
border-bottom: 0.1em solid @gray;
|
|
}
|
|
|
|
.stash-hdr {
|
|
border: 0;
|
|
border-left: 0.1em solid @gray;
|
|
border-right: 0.1em solid @gray;
|
|
|
|
display: grid;
|
|
grid-template-rows: min-content min-content;
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
h3 {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.store {
|
|
border: 0;
|
|
border-top: 0.1em solid @gray;
|
|
border-bottom: 0.1em solid @gray;
|
|
border-right: 0.1em solid @gray;
|
|
}
|
|
|
|
.store-hdr {
|
|
display: grid;
|
|
grid-template-columns: min-content min-content 1fr;
|
|
|
|
> * {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
grid-template-areas:
|
|
"hdr bits btn";
|
|
|
|
h1 {
|
|
grid-area: hdr;
|
|
margin-bottom: 0.25em;
|
|
}
|
|
|
|
.bits {
|
|
grid-area: bits;
|
|
}
|
|
|
|
button {
|
|
grid-area: btn;
|
|
}
|
|
}
|
|
|
|
.store-hdr, .stash-hdr {
|
|
button {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|