/*
* base movedata style
*
* name above input, in damage row
*/
.movedata {
display: grid;
grid-template-areas: "moveno id special frames whiff notes";
grid-template-columns: 5% 20% 10% 10% 10% minmax(10%, 1fr);
line-height: initial;
align-items: center;
border-width: 1px;
border-style: solid;
border-color: #777;
padding: 0.2em 0;
column-gap: 0.2em;
}
/* what does this do? */
.movedata p {
margin: 0;
}
/*what does this do? */
.movedata {
margin-top: 0.8em;
text-align: center;
}
/*what does this do? */
/* link rel="mw-deduplicated-inline-style" is inserted above the transclude */
.movedata + .movedata,
.movedata + link + .movedata {
margin-top: 0;
}
/* defining container areas */
.movedata-moveno { grid-area: moveno; }
.movedata-id { grid-area: id; }
.movedata-special { grid-area: special; }
.movedata-frames { grid-area: frames; }
.movedata-whiff { grid-area: whiff; }
.movedata-notes { grid-area: notes; }
/* defining item areas */
/* for: id */
.movedata-name { grid-area: name; }
.movedata-input-ctn { grid-area: input; }
.movedata-target-ctn { grid-area: target; }
.movedata-damage-ctn { grid-area: damage; }
/* for: special */
.movedata-screw {grid-area: screw; }
.movedata-spike { grid-area: spike; }
.movedata-wallbound { grid-area: wall; }
.movedata-stagebreak { grid-area: stage; }
/* for: frames */
.movedata-startup,
.movedata-startupRoot { grid-area: startup; }
.movedata-block { grid-area: block; }
.movedata-hit { grid-area: hit; }
.movedata-ch { grid-area: ch; }
/* for: whiff */
.movedata-tracks.left { grid-area: left; }
.movedata-tracks.right { grid-area: right; }
.movedata-range { grid-area: range; }
.movedata-recv { grid-area: recv; }
.movedata-crush { grid-area: crush; }
/* setting move number text */
.movedata-moveno {
text-align: start;
justify-self: center;
border-width: 0 1px 1px 0;
border-style: solid;
border-color: #777;
padding-left: 0.2em;
font-size: 0.75em;
}
/* setting id grid rows and columns */
.movedata-id {
display: grid;
grid-auto-columns: 1fr;
grid-template-areas:
"name name"
"input input"
"target damage";
}
/* setting id text */
.movedata-name,
.movedata-target-ctn,
.movedata-damage-ctn {
align-self: stretch;
padding-left: 0.2em;
text-align: center;
justify-self: start;
}
.movedata-name {
font-size: 0.75em;
}
.movedata-input-ctn {
font-size: 1.7em;
display: flex;
grid-auto-flow: row;
}
.movedata-target-ctn {
font-size: 0.75em;
}
.movedata-damage-ctn {
font-size: 0.75em;
}
.movedata-target-ctn:after {
content: " | ";
align-self:center;
font-size: 0.75em;
}
.movedata-special {
display: grid;
grid-auto-columns: 1fr;
grid-template-areas:
"screw"
"spike"
"wall"
"stage";
place-items: center end;
}
.movedata-screw,
.movedata-spike,
.movedata-wall,
.movedata-stage {
align-self: stretch;
font-size: 0.75em;
text-align: center;
justify-self: end;
}
.movedata-frames {
display: grid;
grid-auto-columns: 1fr;
grid-template-areas:
"startup"
"block"
"hit"
"ch";
}
.movedata-startup,
.movedata-block,
.movedata-hit,
.movedata-ch {
align-self: stretch;
font-size: 0.75em;
text-align: center;
justify-self: start;
}
.movedata-frames:before {
content: "";
display:block;
height:100%;
width: 0;
grid-column: 1 / -1;
align-self: center;
border-left:1px solid;
margin-top: 0.2em;
margin-bottom: 0.2em;
}
.movedata-whiff {
display: grid;
grid-auto-columns: 1fr;
grid-template-areas:
"left right"
"range range"
"recv recv"
"crush crush";
}
.movedata-range,
.movedata-recv,
.movedata-crush {
align-self: stretch;
font-size: 0.75em;
text-align: center;
justify-self: start;
}
.movedata-whiff:before {
content: "";
display:block;
height:100%;
width: 0;
grid-column: 1 / -1;
align-self: center;
border-left:1px solid;
margin-top: 0.2em;
margin-bottom: 0.2em;
}
.movedata-tracks {
font-size: 0.7em;
overflow: hidden;
}
.movedata-tracks-bar {
height: 1px;
}
.movedata-tracks-score,
.movedata-tracks-label {
padding: 0 0.2em;
}
.movedata-tracks-label {
grid-column: 1 / -1;
}
.movedata-tracks.left {
display: grid;
grid-template-columns: 1fr 1.5em;
align-items: center;
justify-items: end;
}
.movedata-tracks.right {
display: grid;
grid-template-columns: 1.5em 1fr;
align-items: center;
justify-items: start;
}
.movedata-tracks.left .movedata-tracks-score { justify-self: start; }
.movedata-tracks.left .movedata-tracks-label { text-align: end; }
.movedata-tracks.right .movedata-tracks-score { justify-self: end; }
.movedata-tracks.right .movedata-tracks-label { text-align: start; }
.movedata-startupRoot {
display: none;
}
.movedata-damageLead,
.movedata-targetLead,
.movedata-inputLead {
opacity: .3;
}
.movedata-notes {
align-self: stretch;
text-align: start;
border-left: 1px solid #777;
padding: 0 0.2em;
}
.movedata-input-ctn,
.movedata-notes li {
margin-left: 0.5em;
text-indent: -0.5em;
}