m (style the backtick text added) |
m (.syntaxhighlight { color added) |
||
| Line 32: | Line 32: | ||
border: 1px solid #d1d5da; | border: 1px solid #d1d5da; | ||
border-radius: 3px; | border-radius: 3px; | ||
| + | } | ||
| + | |||
| + | /* Appliquer le fond et la couleur générale pour le code */ | ||
| + | .syntaxhighlight { | ||
| + | background-color: hsl(210, 15%, 22%); /* Couleur du fond */ | ||
| + | color: hsl(219, 28%, 88%); /* Couleur générale du texte */ | ||
| + | } | ||
| + | |||
| + | /* Commentaires */ | ||
| + | .syntaxhighlight .cm-comment { | ||
| + | color: hsl(221, 12%, 69%); /* var(blue6) */ | ||
| + | } | ||
| + | |||
| + | /* Chaînes de caractères */ | ||
| + | .syntaxhighlight .cm-string { | ||
| + | color: hsl(114, 31%, 68%); /* var(green) */ | ||
| + | } | ||
| + | |||
| + | /* Mots-clés */ | ||
| + | .syntaxhighlight .cm-keyword { | ||
| + | color: hsl(300, 30%, 68%); /* var(pink) */ | ||
| + | } | ||
| + | |||
| + | /* Nombres */ | ||
| + | .syntaxhighlight .cm-number { | ||
| + | color: hsl(32, 93%, 66%); /* var(orange) */ | ||
| + | } | ||
| + | |||
| + | /* Constantes */ | ||
| + | .syntaxhighlight .cm-constant { | ||
| + | color: hsl(357, 79%, 65%); /* var(red) */ | ||
| + | } | ||
| + | |||
| + | /* Variables et fonctions */ | ||
| + | .syntaxhighlight .cm-variable, | ||
| + | .syntaxhighlight .cm-function { | ||
| + | color: hsl(210, 50%, 60%); /* var(blue) */ | ||
} | } | ||
/* 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; } /* Appliquer le fond et la couleur générale pour le code */ .syntaxhighlight { background-color: hsl(210, 15%, 22%); /* Couleur du fond */ color: hsl(219, 28%, 88%); /* Couleur générale du texte */ } /* Commentaires */ .syntaxhighlight .cm-comment { color: hsl(221, 12%, 69%); /* var(blue6) */ } /* Chaînes de caractères */ .syntaxhighlight .cm-string { color: hsl(114, 31%, 68%); /* var(green) */ } /* Mots-clés */ .syntaxhighlight .cm-keyword { color: hsl(300, 30%, 68%); /* var(pink) */ } /* Nombres */ .syntaxhighlight .cm-number { color: hsl(32, 93%, 66%); /* var(orange) */ } /* Constantes */ .syntaxhighlight .cm-constant { color: hsl(357, 79%, 65%); /* var(red) */ } /* Variables et fonctions */ .syntaxhighlight .cm-variable, .syntaxhighlight .cm-function { color: hsl(210, 50%, 60%); /* var(blue) */ }