MediaWiki

Difference between revisions of "Common.css"

From Shadow Era Wiki

m (Replaced content with "/* Changer la couleur des mots-clés */ pre .source-csharp .keyword { color: red !important; } Changer la couleur des chaînes: pre .source-csharp .string { ...")
(reset to previous with all modification deleted)
Line 1: Line 1:
/* Changer la couleur des mots-clés */
+
/* CSS placed here will be applied to all skins */
pre .source-csharp .keyword {
+
/* wikitable/prettytable */
     color: red !important;
+
table.wikitable,
 +
table.prettytable {
 +
     margin: 13px 13px 13px 0;
 +
    background: #f9f9f9;
 +
    border: 1px #aaa solid;
 +
    border-collapse: collapse;
 
}
 
}
 
+
.wikitable > tr > th, .wikitable > tr > td,
/* Changer la couleur des chaînes */
+
.wikitable > * > tr > th, .wikitable > * > tr > td,
pre .source-csharp .string {
+
.prettytable > tr > th, .prettytable > tr > td,
     color: green !important;
+
.prettytable > * > tr > th, .prettytable > * > tr > td {
 +
     border: 1px #aaa solid;
 +
    padding: 3px;
 
}
 
}
 
+
.wikitable > tr > th, .wikitable > * > tr > th,
/* Changer la couleur des chiffres */
+
.prettytable > tr > th, .prettytable > * > tr > th {
pre .source-csharp .constant.numeric {
+
    background: #f2f2f2;
     color: blue !important;
+
    text-align: center;
 +
}
 +
.wikitable > caption,
 +
.prettytable > caption {
 +
     font-weight: bold;
 
}
 
}

Revision as of 07:54, 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;
}