Jump to content

MediaWiki:Common.css

From Knowledge Base
Revision as of 11:05, 18 January 2025 by Chr1ss (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Styling for C# keywords */
.csharp-keyword {
    color: DodgerBlue;
    font-weight: bold;
}

/* Styling for C# types (int, string, etc.) */
.csharp-type {
    color: DarkOrange;
    font-weight: bold;
}

/* Styling for C# variables */
.csharp-variable {
    color: MediumPurple;
}

/* Styling for comments (both single-line and multi-line) */
.csharp-comment {
    color: DarkGray;
    font-style: italic;
}

/* Styling for string literals */
.csharp-string {
    color: DarkGreen;
    font-style: italic;
}