Artifact: The Dota Card Game Wiki
Advertisement

CSS and Javascript changes must comply with the wiki design rules.


Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
.ambox {
    background-color: #eeeeee;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox.ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0px 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left:0.8em;
     margin-top:0.5em;
}

/* INFOBOXES: game or book depended color style */
.infoboxtable {
    background-color: #627870;
    border: 1px solid #f9f9f9;
    color: #000000;
    float: right;
    font-size: 89%; 
    margin-bottom: 0.5em; 
    margin-left: 1em; 
    padding: 0.2em; 
    width: 300px;
}

.infoboxtable td {
    vertical-align: top;
}

.infoboxtable td > div {
    background-color: #1b162b;
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    font-size: 110%; 
    font-weight: bold;
    padding: 0.5em; 
}

.infoboxdetails {
    padding: 0em;
}
/* Navbox template style */
table.navbox {
    border: 1px solid #aaaaaa;
    clear: both;
    font-size: 88%;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%; 
}

/* Border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}

/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(255, 255, 255, 0.2);
}

.navbox-list {
    border-color: rgba(255, 255, 255, 0.2); /* Must match background color */
}

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: rgba(255, 255, 255, 0.2);
    color: #444;
}

/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: rgba(255, 255, 255, 0.2);
    color: #333;
}

/* Level 3 styling */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Even row striping */
.navbox-even {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Odd row striping */
.navbox-odd {
    background: transparent;
}
 
.collapseButton {
    font-weight: normal;
    width: auto;
}

.navbox .collapseButton {
    width: 6em;
}
 
.navbar {
    font-size: 88%;
    font-weight: normal;
}

.navbox .navbar {
    font-size: 100%;
}
 
table.collapsed tr.collapsible {
    display: none;
}
/* End of new Navbox styling */
/****************************
/* Flexbox main page styles *
/****************************/
.fmpnav {
  display: flex;
  flex-flow: row wrap;
  flex: 1 0 auto;
  max-width: 100%;
  max-width: calc( 100% + 20px );
  margin: -10px;
  overflow: hidden;
  justify-content: space-between;
  align-items: center;
}

.fmpnav .link {
  box-sizing: border-box;
  flex: 1 0 33.333333%;
  min-width: 128px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

@media (min-width: 855px) {
  .fmpnav .link {
    flex: 1 0 20%;
  }
}

@media (min-width: 1433px) {
  .fmpnav .link {
    flex: 1 0 10%;
  }
}

.fmpsections {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-flow: row wrap;
}

.fmpsection {
  flex-basis: 100%;
}

.fmpblockpair {
  display: flex;
  flex-flow: column nowrap;
  flex: 1 0 auto;
  justify-content: stretch;
  align-items: stretch;
  margin: 0 0 -5px 0;
}

.fmpblock {
  margin: 5px;
  padding: 3px 6px;
  flex: 1 0 auto;
  text-align: center;
}

.fmpblock.noresize {
  flex: 0 0 auto;
}

.fmpblockpair .fmpblock {
  box-sizing: border-box;
  flex: 0 0 auto;
  max-width: calc ( 100% - 10px );
}

.fmpblock.box {
  border: 1px solid #624938;
  background: rgba(87, 84, 78, 0.25);
  color: #bdbdbd;
  margin: 5px;
  padding: 3px 6px;
}

.fmpblock div.slideboxlightshow, .fmpblock div.slideboxlightshow a, .fmpblock img {
  max-width: 100%;
  height: auto;
}

.fmpblock .heading.main {
  border-bottom: 1px solid #624938;
  background: transparent;
  font-family: 'Open Sans', sans-serif;
  color: #8f8f8f;
  font-weight: bold;
  font-size: 132%;
  text-align: center;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
}

.fmpblock .heading {
  border-bottom: 1px solid #624938;
  background: transparent;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: #8f8f8f;
  font-size: 132%;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
}

.fmpblock .links ul {
  display: flex;
  flex-flow: row wrap;
  text-align: center;
  margin: 0 -10px 10px -10px;
  padding: 0;
}

.fmpblock .links ul li {
  display: flex;
  list-style: none;
  flex-flow: column wrap;
  flex: 1 0 15em;
  margin: 0;
  padding: 2px 10px;
}

.fmpblock .iconlinks {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: flex-start;
  text-align: center;
  margin: -10px -10px 0 -10px;
  padding: 0;
}

.fmpblock .iconlinks .iconlink {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  border: none;
  background: transparent;
  margin: 0;
  padding: 10px;
  flex: 0 0 15em;
}

.fmpblock .iconlinks .iconlink .icon {
  display: flex;
  flex-flow: column nowrap;
  justify-content: stretch;
  min-width: 100px;
  width: 100%;
  height: 100px;
}

.fmpblock .iconlinks .iconlink .icon a {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 100%;
}

.fmpblock .iconlinks .iconlink .text {
  color: #bdbdbd;
  width: 100%;
  text-align: center;
}

.fmpblock .iconlinks .iconlink .text a {
  display: block;
  width: auto;
}

.fmpblock .videos {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.fmpblock .videos .video {
  display: inline-block;
  margin: 0 5px;
}

@media (min-width: 820px) {
  .fmpsections .fmpsection {
    display: flex;
    flex-flow: column nowrap;
    flex-basis: 50%;
    max-width: 50%;
  }

  .fmpsections .fmpsectiongroup {
    display: flex;
    flex-flow: column nowrap;
    flex-basis: 50%;
    max-width: 50%;
  }

  .fmpsections .fmpsectiongroup .fmpsection {
    flex-basis: auto;
    flex-grow: 1;
    max-width: 100%;
  }
}

@media (min-width: 1440px) {
  .fmpsections .fmpsectiongroup {
    display: flex;
    flex-flow: row wrap;
    flex-basis: 66.667%;
    max-width: 66.667%;
  }

  .fmpsections .fmpsection {
    display: flex;
    flex-flow: column nowrap;
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .fmpsections .fmpsectiongroup .fmpsection.fullwhenwide {
    width: auto;
    flex-basis: 100%;
    flex-grow: 0;
    max-width: 100%;
  }

  .fmpsections .fmpsectiongroup .fmpsection.halfwhenwide {
    width: auto;
    flex-basis: 50%;
    flex-grow: 0;
    max-width: 50%;
  }

  .fmpblockpair {
    flex-flow: row nowrap;
    margin: 0;
  }

  .fmpblockpair .fmpblock {
    flex: 0 0 calc( 50% - 10px );
    max-width: calc( 50% - 10px );
  }
}

.fmpexamples {
  display: flex;
  align-items: self-start;
}

.fmpexample {
  margin: 0 3em;
  text-align: center;
}

.fmpexample.narrow {
  width: 5em;
}

.fmpexample.medium {
  width: 10em;
}

.fmpexample.wide {
  width: 15em;
}

.fmpexample .body {
  margin: -5px;
}

.fmpexample.medium .body {
  display: flex;
  flex-flow: row wrap;
}

.fmpexample.medium .body .fmpsection {
  display: flex;
  flex-flow: column nowrap;
  flex-basis: 50%;
}

.fmpexample.medium .body .fmpsectiongroup {
  display: flex;
  flex-flow: column nowrap;
  flex-basis: 50%;
}

.fmpexample.medium .body .fmpsectiongroup .fmpsection {
  flex-basis: 100%;
}

.fmpexample.wide .body {
  display: flex;
  flex-flow: row wrap;
}

.fmpexample.wide .body .fmpsectiongroup {
  display: flex;
  flex-flow: row wrap;
  flex-basis: 66.667%;
}

.fmpexample.wide .body .fmpsection {
  display: flex;
  flex-flow: column nowrap;
  flex-basis: 33.333%;
}

.fmpexample.wide .body .fmpsectiongroup .fmpsection.fullwhenwide {
  width: auto;
  flex-basis: 100%;
}

.fmpexample.wide .body .fmpsectiongroup .fmpsection.halfwhenwide {
  width: auto;
  flex-basis: 50%;
}
Advertisement