Actions

MediaWiki

Difference between revisions of "Common.css"

From Titan's Teeth

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

Revision as of 17:59, 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}