MediaWiki:Common.css: Difference between revisions

From ZAMN Hacking
Content added Content deleted
No edit summary
No edit summary
 
Line 45: Line 45:
display: none;
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; }

Latest revision as of 18:08, 30 April 2024

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