MediaWiki

Difference between revisions of "Common.css"

From Shadow Era Wiki

m
m
Line 24: Line 24:
 
     font-weight: bold;
 
     font-weight: bold;
 
}
 
}
/* Correction finale pour un rendu fidèle à Sublime Text */
+
/* Variables de couleur */
 +
:root {
 +
    --black: hsl(0, 0%, 0%);
 +
    --blue: hsl(210, 50%, 60%);
 +
    --blue-vibrant: hsl(210, 60%, 60%);
 +
    --blue2: hsla(210, 13%, 40%, 0.7);
 +
    --blue3: hsl(210, 15%, 22%);
 +
    --blue4: hsl(210, 13%, 45%);
 +
    --blue5: hsl(180, 36%, 54%);
 +
    --blue6: hsl(221, 12%, 69%);
 +
    --green: hsl(114, 31%, 68%);
 +
    --grey: hsl(0, 0%, 20%);
 +
    --orange: hsl(32, 93%, 66%);
 +
    --orange2: hsl(32, 85%, 55%);
 +
    --orange3: hsl(40, 94%, 68%);
 +
    --pink: hsl(300, 30%, 68%);
 +
    --red: hsl(357, 79%, 65%);
 +
    --red2: hsl(13, 93%, 66%);
 +
    --white: hsl(0, 0%, 100%);
 +
    --white2: hsl(0, 0%, 97%);
 +
    --white3: hsl(219, 28%, 88%);
 +
}
  
/* Rouge subtil pour public */
+
/* Règles globales */
pre .source-csharp .kw1 { color: #F92672 !important; }
+
pre .source-csharp {
 +
    background-color: var(--blue3) !important;
 +
    color: var(--white3) !important;
 +
}
  
/* Rose pâle pour void, bool et autres mots-clés */
+
pre .source-csharp .selection {
pre .source-csharp .kw2 { color: #C678DD !important; }
+
    background-color: var(--blue2) !important;
 +
}
  
/* Commentaires en bleu clair atténué */
+
pre .source-csharp .caret {
pre .source-csharp .co1 { color: rgba(90, 155, 207, 0.4) !important; }
+
    color: var(--orange) !important;
 +
}
  
/* Chaînes de caractères en vert vif */
+
/* Règles spécifiques */
pre .source-csharp .st0 { color: #A6E22E !important; }
+
pre .source-csharp .co1 { color: var(--blue6) !important; } /* Commentaires */
 
+
pre .source-csharp .st0 { color: var(--green) !important; } /* Chaînes de caractères */
/* Nombres en orange doux */
+
pre .source-csharp .op0 { color: var(--red2) !important; } /* Opérateurs */
pre .source-csharp .nu0 { color: #FD971F !important; }
+
pre .source-csharp .nu0 { color: var(--orange) !important; } /* Nombres */
 
+
pre .source-csharp .kw1 { color: var(--pink) !important; } /* Mots-clés */
/* Variables comme usedShadowEnergy en orange doux */
+
pre .source-csharp .pu0 { color: var(--blue6) !important; } /* Ponctuation */
pre .source-csharp .va0 { color: #FD971F !important; }
+
pre .source-csharp .fu0 { color: var(--blue5) !important; } /* Appels de fonction */
 
+
pre .source-csharp .bo0 { color: var(--red2) !important; } /* Booléens */
/* Méthodes comme AddDeck, GetDeck en bleu pastel adouci */
+
pre .source-csharp .va0 { color: var(--orange2) !important; } /* Variables */
pre .source-csharp .fu0 { color: #61AFEF !important; }
+
 
+
/* Booléens comme true en rose pâle */
+
pre .source-csharp .bo0 { color: #C678DD !important; }
+
 
+
/* Fond bleu-ardoise et texte général en blanc cassé */
+
pre .source-csharp { background-color: #2B2D3A !important; color: #F8F8F2 !important; }
+
pre { background-color: #2B2D3A !important; color: #F8F8F2 !important; }
+

Revision as of 06:41, 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;
}
/* Variables de couleur */
:root {
    --black: hsl(0, 0%, 0%);
    --blue: hsl(210, 50%, 60%);
    --blue-vibrant: hsl(210, 60%, 60%);
    --blue2: hsla(210, 13%, 40%, 0.7);
    --blue3: hsl(210, 15%, 22%);
    --blue4: hsl(210, 13%, 45%);
    --blue5: hsl(180, 36%, 54%);
    --blue6: hsl(221, 12%, 69%);
    --green: hsl(114, 31%, 68%);
    --grey: hsl(0, 0%, 20%);
    --orange: hsl(32, 93%, 66%);
    --orange2: hsl(32, 85%, 55%);
    --orange3: hsl(40, 94%, 68%);
    --pink: hsl(300, 30%, 68%);
    --red: hsl(357, 79%, 65%);
    --red2: hsl(13, 93%, 66%);
    --white: hsl(0, 0%, 100%);
    --white2: hsl(0, 0%, 97%);
    --white3: hsl(219, 28%, 88%);
}
 
/* Règles globales */
pre .source-csharp {
    background-color: var(--blue3) !important;
    color: var(--white3) !important;
}
 
pre .source-csharp .selection {
    background-color: var(--blue2) !important;
}
 
pre .source-csharp .caret {
    color: var(--orange) !important;
}
 
/* Règles spécifiques */
pre .source-csharp .co1 { color: var(--blue6) !important; } /* Commentaires */
pre .source-csharp .st0 { color: var(--green) !important; } /* Chaînes de caractères */
pre .source-csharp .op0 { color: var(--red2) !important; } /* Opérateurs */
pre .source-csharp .nu0 { color: var(--orange) !important; } /* Nombres */
pre .source-csharp .kw1 { color: var(--pink) !important; } /* Mots-clés */
pre .source-csharp .pu0 { color: var(--blue6) !important; } /* Ponctuation */
pre .source-csharp .fu0 { color: var(--blue5) !important; } /* Appels de fonction */
pre .source-csharp .bo0 { color: var(--red2) !important; } /* Booléens */
pre .source-csharp .va0 { color: var(--orange2) !important; } /* Variables */