m |
m |
||
| Line 24: | Line 24: | ||
font-weight: bold; | 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 | + | pre .source-csharp { |
| + | background-color: var(--blue3) !important; | ||
| + | color: var(--white3) !important; | ||
| + | } | ||
| − | + | pre .source-csharp .selection { | |
| − | pre .source-csharp . | + | background-color: var(--blue2) !important; |
| + | } | ||
| − | + | pre .source-csharp .caret { | |
| − | pre .source-csharp . | + | color: var(--orange) !important; |
| + | } | ||
| − | /* | + | /* Règles spécifiques */ |
| − | pre .source-csharp . | + | 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 . | + | 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 . | + | 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 */ |
| − | pre .source-csharp . | + | |
| − | + | ||
| − | /* | + | |
| − | pre .source-csharp . | + | |
| − | + | ||
| − | /* | + | |
| − | pre .source-csharp { | + | |
| − | pre | + | |
/* 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 */