MediaWiki

Difference between revisions of "Common.css"

From Shadow Era Wiki

(reset to previous with all modification deleted)
m (style the backtick text added)
Line 23: Line 23:
 
.prettytable > caption {
 
.prettytable > caption {
 
     font-weight: bold;
 
     font-weight: bold;
 +
}
 +
 +
/* style the backtick text */
 +
.backtick-style {
 +
    font-family: monospace;
 +
    background-color: #f8f9fa;
 +
    padding: 0.2em 0.4em;
 +
    border: 1px solid #d1d5da;
 +
    border-radius: 3px;
 
}
 
}

Revision as of 21:17, 6 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;
}
 
/* style the backtick text */
.backtick-style {
    font-family: monospace;
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border: 1px solid #d1d5da;
    border-radius: 3px;
}