MediaWiki:Common.css

From ZAMN Hacking

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 */

.infotable {
    float: right;
    clear: right;
    padding: 5px;
    margin-left: 3px;
}

.infotable th {
    text-align: left;
}

.breakrow td {
	border-top-width: 3px!important;
}

.highlightrow {
	background-color: #eaecf0;
}

.mainpage_box_container {
  columns: 2;
}

@media (max-width: 600px) {
  .mainpage_box_container {
    columns: 1;
  }
}

.mainpage_box {
  width: 100%;
  display: inline-block;
}

.mainpage_box h3 {
  color: white;
  background: gray;
  padding: 8px;
}

/* Hide BPMN embeds before javascript is run */
.bpmn_embed #canvas {
	display: none;
}

.col1_center td:nth-child(1) { text-align: center; }
.col2_center td:nth-child(2) { text-align: center; }
.col3_center td:nth-child(3) { text-align: center; }
.col4_center td:nth-child(4) { text-align: center; }
.col5_center td:nth-child(5) { text-align: center; }
.col6_center td:nth-child(6) { text-align: center; }
.col7_center td:nth-child(7) { text-align: center; }
.col8_center td:nth-child(8) { text-align: center; }
.col9_center td:nth-child(9) { text-align: center; }

.col1_right td:nth-child(1) { text-align: right; }
.col2_right td:nth-child(2) { text-align: right; }
.col3_right td:nth-child(3) { text-align: right; }
.col4_right td:nth-child(4) { text-align: right; }
.col5_right td:nth-child(5) { text-align: right; }
.col6_right td:nth-child(6) { text-align: right; }
.col7_right td:nth-child(7) { text-align: right; }
.col8_right td:nth-child(8) { text-align: right; }
.col9_right td:nth-child(9) { text-align: right; }