Actions

MediaWiki

Difference between revisions of "Common.css"

From Titan's Teeth

Line 38: Line 38:
 
div.cols-xwide {column-width:945px; column-gap:40px}
 
div.cols-xwide {column-width:945px; column-gap:40px}
  
h2.colheader h3.colheader {
+
div.colheader h2, div.colheader h3 {
 
   -webkit-column-span: all;  
 
   -webkit-column-span: all;  
 
   column-span: all;  
 
   column-span: all;  
 
}
 
}

Revision as of 18:02, 9 June 2019

/* CSS placed here will be applied to all skins */

/* Grid Modifiers */
[class|="catgrid"] {
  background-color: #f8f9fa;
  text-align:center;
  max-width: 800px;
}
div.catgrid-header, div.catgrid-row {
  background-color: #f8f9fa;
  margin: auto !important;
  max-width: 800px !important; 
} 
div.catgrid-header div {
  text-align:center;
  background-color: #eaecf0;
  padding: 0.6em;
}
div.catgrid-row div {
  text-align:center;
  background-color: #f8f9fa;
  padding: 0.6em;
}

/* Table Modifiers */
table.center-text tr th {text-align:center;}
table.center-text tr td {text-align:center;}

table.right {float:right;margin-left:8px}

div#chclass th:nth-child(6) {text-align:left;}
div#chclass td {text-align:center;}
div#chclass td:nth-child(6) {text-align:left;}

/* Columns */
div.cols {column-width:300px; column-gap:40px; margin-bottom:20px}
div.cols-wide {column-width:450px; column-gap:40px}
div.cols-xwide {column-width:945px; column-gap:40px}

div.colheader h2, div.colheader h3 {
  -webkit-column-span: all; 
  column-span: all; 
}