Line 18: Line 18:
 
  * Color fix for member variables
 
  * Color fix for member variables
 
  */
 
  */
.source-cpp .me1 { color:#499; }
+
.source-c .me1 { color:#499; }
.source-cpp .me2 { color:#499; }
+
.source-c .me2 { color:#499; }
 
    
 
    
 
    
 
    

Revision as of 18:39, 22 October 2013

  1. /* CSS placed here will be applied to GeSHi syntax highlighting */
  2. /* This css will override styles used by the GeSHi syntax highlighting,
  3. such that less awful colors for the highlighting can be chosen. */
  4.  
  5. /**
  6. * Language code: "vb"
  7. *
  8. * Overrides colors used for keywords from that horrible gold
  9. * to more tolerable blue. Other colors left as default at present time.
  10. */
  11. .source-vb .kw1 {
  12. color: #006 !important;
  13. }
  14.  
  15. /**
  16. * Language code: "c"
  17. *
  18. * Color fix for member variables
  19. */
  20. .source-c .me1 { color:#499; }
  21. .source-c .me2 { color:#499; }
  22.  
  23.  
  24. /* Reinstating borders */
  25. body.skin-monobook div.mw-geshi {
  26. padding: 1em;
  27. border: 1px dashed #2f6fab;
  28. color: black;
  29. background-color: #f9f9f9;
  30. line-height: 1.1em;
  31. }
  32.  
  33. body.skin-modern div.mw-geshi {
  34. border: solid 1px #3c78b5;
  35. padding: 0.4em;
  36. background-color: #f0f0f0;
  37. }
  38.  
  39. body.skin-simple div.mw-geshi {
  40. margin: 2em;
  41. border: solid 1px black;
  42. }
  43.  
  44. body.skin-chick div.mw-geshi {
  45. padding: 1em;
  46. border: 1px dashed #2f6fab;
  47. color: black;
  48. background-color: #f9f9f9;
  49. line-height: 1.1em;
  50. }
  51.  
  52. body.skin-vector div.mw-geshi {
  53. padding: 1em;
  54. border: 1px dashed #2f6fab;
  55. color: black;
  56. background-color: #f9f9f9;
  57. line-height: 1.1em;
  58. }
  59.  
  60.  
  61. /* Fix so <source> tags, and .css and .js pages, get normal text size
  62. also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
  63. div.mw-geshi div,
  64. pre {
  65. font-family: monospace, "Courier New" !important;
  66. }
  67.  
  68. /* Geshi's colourscheme for MySQL is absolutely hideous. */
  69. .mysql.source-mysql .kw1,
  70. .mysql.source-mysql .kw2,
  71. .mysql.source-mysql .kw3,
  72. .mysql.source-mysql .kw6,
  73. .mysql.source-mysql .kw10 {
  74. color: #993333;
  75. }
  76.  
  77. .mysql.source-mysql .coMULTI,
  78. .mysql.source-mysql .sy1 {
  79. color: #808080;
  80. }
  81.  
  82. .mysql.source-mysql .br0 {
  83. color: #66cc66;
  84. }