at last i may rest
This commit is contained in:
parent
dde6d28393
commit
61ced01ba7
@ -52,8 +52,7 @@
|
|||||||
.game-construct {
|
.game-construct {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
||||||
/*justify-items: center;*/
|
justify-items: center;
|
||||||
justify-items: start;
|
|
||||||
/*align-items: flex-end;*/
|
/*align-items: flex-end;*/
|
||||||
|
|
||||||
grid-template-rows: min-content minmax(min-content, 1fr) min-content min-content min-content;
|
grid-template-rows: min-content minmax(min-content, 1fr) min-content min-content min-content;
|
||||||
@ -100,8 +99,8 @@
|
|||||||
.game-construct .stats {
|
.game-construct .stats {
|
||||||
grid-area: stats;
|
grid-area: stats;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-construct .stats div {
|
.game-construct .stats div {
|
||||||
|
|||||||
@ -199,17 +199,6 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.construct-list .avatar figure {
|
|
||||||
margin: 0;
|
|
||||||
height: 80%;
|
|
||||||
text-align: center;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
.construct-list .avatar figcaption {
|
|
||||||
font-size: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.construct-list .skills {
|
.construct-list .skills {
|
||||||
grid-area: skills;
|
grid-area: skills;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -246,19 +235,19 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
justify-content: center;
|
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.construct-list .stats figcaption {
|
.construct-list .stats figcaption {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats figure:nth-child(4n) {
|
.stats div:nth-child(4n) {
|
||||||
margin: 0 1em;
|
margin: 0 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats figure {
|
.stats div {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
@media (max-height: 800px), (max-width: 1000px) {
|
@media (max-height: 800px), (max-width: 1000px) {
|
||||||
.instance {
|
.instance {
|
||||||
|
font-size: 8pt;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: min-content 1fr;
|
grid-template-rows: min-content 1fr;
|
||||||
@ -78,29 +79,41 @@
|
|||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.instance-construct .avatar {
|
||||||
|
min-height: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
.instance-construct:not(:last-child) {
|
.instance-construct:not(:last-child) {
|
||||||
border-right: 1px solid #222;
|
border-right: 1px solid #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.instance-construct .skills {
|
||||||
|
flex-flow: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.instance-construct .skills button {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.instance-construct .specs {
|
.instance-construct .specs {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.construct-list .stats {
|
.construct-list .stats {
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.construct-list .stats figcaption {
|
.instance-construct .stats div.speed {
|
||||||
font-size: 75%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.instance-construct .stats figure.speed {
|
|
||||||
order: -1;
|
order: -1;
|
||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.instance-construct .stats figure {
|
.instance-construct .stats div {
|
||||||
flex: 1 0 33%;
|
flex: 1 1 33%;
|
||||||
|
min-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.instance-nav {
|
.instance-nav {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
@media (max-height: 800px), (max-width: 1000px) {
|
@media (max-height: 800px), (max-width: 800px) {
|
||||||
#mnml {
|
#mnml {
|
||||||
font-size: 8pt;
|
font-size: 10pt;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: 1fr min-content;
|
grid-template-rows: 1fr min-content;
|
||||||
@ -10,7 +10,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#mnml button {
|
#mnml button {
|
||||||
font-size: 8pt;
|
font-size: 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
table td {
|
table td {
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
<meta name="author" content="ntr@smokestack.io">
|
<meta name="author" content="ntr@smokestack.io">
|
||||||
<link rel="manifest" href="manifest.webmanifest">
|
<link rel="manifest" href="manifest.webmanifest">
|
||||||
<link rel="stylesheet" href="./node_modules/izitoast/dist/css/iziToast.min.css"></script>
|
<link rel="stylesheet" href="./node_modules/izitoast/dist/css/iziToast.min.css"></script>
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Jura" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="assets/styles/normalize.css">
|
<link rel="stylesheet" href="assets/styles/normalize.css">
|
||||||
<link rel="stylesheet" href="assets/styles/skeleton.css">
|
<link rel="stylesheet" href="assets/styles/skeleton.css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -25,8 +25,8 @@ function renderHeader(args) {
|
|||||||
game,
|
game,
|
||||||
} = args;
|
} = args;
|
||||||
|
|
||||||
if (instance) return <InstanceFooter />;
|
|
||||||
if (game) return <GameFooter />;
|
if (game) return <GameFooter />;
|
||||||
|
if (instance) return <InstanceFooter />;
|
||||||
|
|
||||||
if (nav === 'team') return <TeamFooter />;
|
if (nav === 'team') return <TeamFooter />;
|
||||||
if (nav === 'list') return <ListFooter />;
|
if (nav === 'list') return <ListFooter />;
|
||||||
|
|||||||
@ -190,13 +190,13 @@ function Construct(props) {
|
|||||||
|| (s.includes('Power') && 'Power')
|
|| (s.includes('Power') && 'Power')
|
||||||
|| (s.includes('Life') && 'Life');
|
|| (s.includes('Life') && 'Life');
|
||||||
|
|
||||||
return <figure key={stat.stat}
|
return <div key={stat.stat}
|
||||||
alt={stat.stat}
|
alt={stat.stat}
|
||||||
className={stat.stat}
|
className={stat.stat}
|
||||||
onMouseOver={e => hoverInfo(e, info)} >
|
onMouseOver={e => hoverInfo(e, info)} >
|
||||||
{shapes[s]()}
|
{shapes[s]()}
|
||||||
<figcaption>{construct[stat.stat].value}</figcaption>
|
<div>{construct[stat.stat].value}</div>
|
||||||
</figure>;
|
</div>;
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user