m (adjusting kw1's color) |
m |
||
| Line 24: | Line 24: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
| − | + | /* Code added by blopi */ | |
/* style the backtick text */ | /* style the backtick text */ | ||
.backtick-style { | .backtick-style { | ||
| Line 33: | Line 33: | ||
border-radius: 3px; | border-radius: 3px; | ||
} | } | ||
| − | /* | + | /* Style parentheses (like () ) */ |
.csharp.source-csharp .br0 { | .csharp.source-csharp .br0 { | ||
| − | color: hsl(32, 93%, 66%) !important; /* Orange | + | color: hsl(32, 93%, 66%) !important; /* Orange for parentheses */ |
} | } | ||
| − | /* | + | /* Style comments */ |
.csharp.source-csharp .co1 { | .csharp.source-csharp .co1 { | ||
| − | color: hsl(221, 12%, 69%) !important; /* | + | color: hsl(221, 12%, 69%) !important; /* Light blue for comments */ |
} | } | ||
| − | /* | + | /* Style kw1 keywords (main keywords like public, class, etc.) */ |
.csharp.source-csharp .kw1 { | .csharp.source-csharp .kw1 { | ||
| − | color: hsl(357, 75%, 77%) !important; /* | + | color: hsl(357, 75%, 77%) !important; /* Light red color */ |
} | } | ||
| − | /* | + | /* Style additional keywords (kw3) */ |
.csharp.source-csharp .kw3 { | .csharp.source-csharp .kw3 { | ||
| − | color: hsl(300, 30%, 68%) !important; /* | + | color: hsl(300, 30%, 68%) !important; /* Pink for keyword uniformity */ |
} | } | ||
| − | /* | + | /* Style kw4 keywords (other keywords) */ |
.csharp.source-csharp .kw4 { | .csharp.source-csharp .kw4 { | ||
| − | color: hsl(300, 30%, 68%) !important; /* | + | color: hsl(300, 30%, 68%) !important; /* Same pink color for uniformity */ |
} | } | ||
| − | /* | + | /* Style methods (functions like UnhighlightCards, SetGameState) */ |
.csharp.source-csharp .me1 { | .csharp.source-csharp .me1 { | ||
| − | color: hsl(210, 50%, 60%) !important; /* | + | color: hsl(210, 50%, 60%) !important; /* Light blue for methods */ |
} | } | ||
| − | /* | + | /* Style numbers */ |
.csharp.source-csharp .nu0 { | .csharp.source-csharp .nu0 { | ||
| − | color: hsl(32, 93%, 66%) !important; /* Orange | + | color: hsl(32, 93%, 66%) !important; /* Orange for numbers */ |
} | } | ||
| − | /* | + | /* Style symbols (like ;, =, <, >, .) */ |
.csharp.source-csharp .sy0 { | .csharp.source-csharp .sy0 { | ||
| − | color: hsl(57, 93%, 66%) !important; /* | + | color: hsl(57, 93%, 66%) !important; /* Yellow for symbols */ |
} | } | ||
| − | /* | + | /* Style strings */ |
.csharp.source-csharp .st0 { | .csharp.source-csharp .st0 { | ||
| − | color: hsl(114, 31%, 68%) !important; /* | + | color: hsl(114, 31%, 68%) !important; /* Light green for strings */ |
} | } | ||
| − | /* | + | /* Background and general text color for code blocks */ |
.syntaxhighlight { | .syntaxhighlight { | ||
| − | background-color: hsl(210, 15%, 22%) !important; /* | + | background-color: hsl(210, 15%, 22%) !important; /* Background */ |
| − | color: hsl(219, 28%, 88%) !important; /* | + | color: hsl(219, 28%, 88%) !important; /* General text color */ |
} | } | ||
/* 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; } /* Code added by blopi */ /* style the backtick text */ .backtick-style { font-family: monospace; background-color: #f8f9fa; padding: 0.2em 0.4em; border: 1px solid #d1d5da; border-radius: 3px; } /* Style parentheses (like () ) */ .csharp.source-csharp .br0 { color: hsl(32, 93%, 66%) !important; /* Orange for parentheses */ } /* Style comments */ .csharp.source-csharp .co1 { color: hsl(221, 12%, 69%) !important; /* Light blue for comments */ } /* Style kw1 keywords (main keywords like public, class, etc.) */ .csharp.source-csharp .kw1 { color: hsl(357, 75%, 77%) !important; /* Light red color */ } /* Style additional keywords (kw3) */ .csharp.source-csharp .kw3 { color: hsl(300, 30%, 68%) !important; /* Pink for keyword uniformity */ } /* Style kw4 keywords (other keywords) */ .csharp.source-csharp .kw4 { color: hsl(300, 30%, 68%) !important; /* Same pink color for uniformity */ } /* Style methods (functions like UnhighlightCards, SetGameState) */ .csharp.source-csharp .me1 { color: hsl(210, 50%, 60%) !important; /* Light blue for methods */ } /* Style numbers */ .csharp.source-csharp .nu0 { color: hsl(32, 93%, 66%) !important; /* Orange for numbers */ } /* Style symbols (like ;, =, <, >, .) */ .csharp.source-csharp .sy0 { color: hsl(57, 93%, 66%) !important; /* Yellow for symbols */ } /* Style strings */ .csharp.source-csharp .st0 { color: hsl(114, 31%, 68%) !important; /* Light green for strings */ } /* Background and general text color for code blocks */ .syntaxhighlight { background-color: hsl(210, 15%, 22%) !important; /* Background */ color: hsl(219, 28%, 88%) !important; /* General text color */ }