MediaWiki

Difference between revisions of "Common.css"

From Shadow Era Wiki

m
m
Line 24: Line 24:
 
     font-weight: bold;
 
     font-weight: bold;
 
}
 
}
/* Amélioration des couleurs et rétablissement du fond sombre pour les fichiers C# */
+
/* Réduction de la saturation et amélioration de l'harmonie des couleurs */
pre .source-csharp .co1 { color: #5A9BCF !important; } /* Commentaires : bleu clair */
+
pre .source-csharp .co1 { color: rgba(90, 155, 207, 0.6) !important; } /* Commentaires : bleu clair doux */
pre .source-csharp .st0 { color: #A6E22E !important; } /* Chaînes de caractères : vert vif */
+
pre .source-csharp .st0 { color: rgba(166, 226, 46, 0.7) !important; } /* Chaînes de caractères : vert doux */
pre .source-csharp .nu0 { color: #FD971F !important; } /* Nombres : orange vif */
+
pre .source-csharp .nu0 { color: rgba(253, 151, 31, 0.7) !important; } /* Nombres : orange atténué */
pre .source-csharp .kw1 { color: #AE81FF !important; } /* Mots-clés : violet clair */
+
pre .source-csharp .kw1 { color: rgba(174, 129, 255, 0.7) !important; } /* Mots-clés : violet pâle */
pre .source-csharp .op0 { color: #66D9EF !important; } /* Opérateurs : cyan clair */
+
pre .source-csharp .op0 { color: rgba(102, 217, 239, 0.7) !important; } /* Opérateurs : cyan doux */
pre .source-csharp { background-color: #272822 !important; color: #F8F8F2 !important; } /* Fond sombre et texte clair */
+
pre .source-csharp { background-color: #272822 !important; color: #F8F8F2 !important; } /* Fond sombre et texte clair doux */
pre { background-color: #272822 !important; color: #F8F8F2 !important; } /* Assure que tout bloc de code a un fond sombre */
+
pre { background-color: #272822 !important; color: #F8F8F2 !important; } /* Fond sombre général */

Revision as of 06:00, 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;
}
/* Réduction de la saturation et amélioration de l'harmonie des couleurs */
pre .source-csharp .co1 { color: rgba(90, 155, 207, 0.6) !important; } /* Commentaires : bleu clair doux */
pre .source-csharp .st0 { color: rgba(166, 226, 46, 0.7) !important; } /* Chaînes de caractères : vert doux */
pre .source-csharp .nu0 { color: rgba(253, 151, 31, 0.7) !important; } /* Nombres : orange atténué */
pre .source-csharp .kw1 { color: rgba(174, 129, 255, 0.7) !important; } /* Mots-clés : violet pâle */
pre .source-csharp .op0 { color: rgba(102, 217, 239, 0.7) !important; } /* Opérateurs : cyan doux */
pre .source-csharp { background-color: #272822 !important; color: #F8F8F2 !important; } /* Fond sombre et texte clair doux */
pre { background-color: #272822 !important; color: #F8F8F2 !important; } /* Fond sombre général */