MediaWiki:Common.css

MediaWiki interface page
Revision as of 12:21, 21 November 2020 by RogerDodger (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: .movedata { display: grid; grid-template-columns: repeat(5, 14%) 1fr; grid-template-rows: 1fr 1fr; border-width: 1p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.movedata {
  display: grid;
  grid-template-columns: repeat(5, 14%) 1fr;
  grid-template-rows: 1fr 1fr;
  border-width: 1px 0 1px 0;
  border-color: grey;
  border-style: solid;
  align-items: center;
  padding: 0.2em 0;
  grid-gap: 0 0.3em;
  grid-template-areas:
    "input damage block   hit   ch   notes"
    "input target startup crush recv notes";
}

.movedata p {
  margin: 0;
}

.movedata {
  margin-top: 1em;
  text-align: center;
}

.movedata:hover {
  background-color: hsla(200, 50%, 96%, 1);
}

.movedata + .movedata {
  margin-top: -1px;
}

.movedata-input-ctn { grid-area: input; }
.movedata-startup-ctn { grid-area: startup; }
.movedata-damage-ctn { grid-area: damage; }
.movedata-target-ctn {  grid-area: target; }
.movedata-block { grid-area: block; }
.movedata-hit { grid-area: hit; }
.movedata-ch { grid-area: ch; }
.movedata-clean { grid-area: clean; }
.movedata-crush { grid-area: crush; }
.movedata-recv-ctn { grid-area: recv; }
.movedata-notes { grid-area: notes; }

.movedata-input-ctn {
  font-size: 1.7em;
  text-align: center;
}

.movedata-damage-ctn { align-self: end; }
.movedata-target-ctn { align-self: start; }

.movedata-damageLead,
.movedata-targetLead,
.movedata-inputLead {
  opacity: .3;
}

.movedata-clean,
.movedata-recvLead,
.movedata-startupLead {
  display: none;
}

.movedata:before {
  content: " ";
  display: block;
  height: 0px;
  width: 100%;
  grid-column: 3 / span 3;
  grid-row: 1 / -1;
  border-bottom: 1px dotted grey;
}

.movedata-notes {
  align-self: start;
  line-height: initial;
  text-align: start;
}