MediaWiki

Difference between revisions of "Common.css"

From Shadow Era Wiki

m (Hide the automatic Expand/Collapse link on the right code added)
m
Line 25: Line 25:
 
}
 
}
  
/* Hide the automatic Expand/Collapse link on the right */
+
.mw-collapsible-toggle[data-collapsetext="Collapse"] {
.mw-collapsible-toggle {
+
 
     display: none !important;
 
     display: none !important;
 
}
 
}

Revision as of 01:12, 5 September 2024

/* CSS placed here will be applied to all skins */
/* wikitable/prettytable */
table.wikitable,
table.prettytable {
    margin: 13px 13px 13px 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable > tr > th, .wikitable > tr > td,
.wikitable > * > tr > th, .wikitable > * > tr > td,
.prettytable > tr > th, .prettytable > tr > td,
.prettytable > * > tr > th, .prettytable > * > tr > td {
    border: 1px #aaa solid;
    padding: 3px;
}
.wikitable > tr > th, .wikitable > * > tr > th,
.prettytable > tr > th, .prettytable > * > tr > th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable > caption,
.prettytable > caption {
    font-weight: bold;
}
 
.mw-collapsible-toggle[data-collapsetext="Collapse"] {
    display: none !important;
}