Difference between revisions of "MediaWiki:Common.css"

From Argonath RPG Wiki
Jump to navigation Jump to search
m (ventilated)
 
(No difference)

Latest revision as of 10:40, 4 August 2014

/* Common classes and styles, keeping it DRY. */

/* multiple columns */
.columns {
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
}
.columns ul,
.columns ol,
.columns p {
  margin-top:    0 !important;
  margin-bottom: 0 !important;
}
.columns.two-col {
  -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
}
.columns.three-col {
  -webkit-column-count: 3;
     -moz-column-count: 3;
          column-count: 3;
}
.columns.four-col {
  -webkit-column-count: 4;
     -moz-column-count: 4;
          column-count: 4;
}

/* fix images so they scale */
img {
  max-width: 100% !important;
  height: auto !important;
}