MediaWiki:Geshi.css

From Civilization Modding Wiki
Revision as of 22:43, 18 September 2012 by Deanej (talk | contribs) (Created page with "→‎CSS placed here will be applied to GeSHi syntax highlighting: .mw-geshi span { border:none; background:none; margin:0; padding:0; font-weight:normal; vertical-align:top; }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to GeSHi syntax highlighting */

.mw-geshi span		{ border:none; background:none; margin:0; padding:0; font-weight:normal; vertical-align:top; }
.mw-geshi pre 	 	{ border:none; background:none; margin:0; padding:0; line-height: normal; }
.mw-geshi li		{ border:none; line-height: normal; }


/* LUA */
.lua .kw1 		{color: #0000ff;} /* keyword */
.lua .br0 		{color: #000000;} /* brace, bracket, parenthesis */
.lua .sy0 		{color: #008080;} /* symbol */
.lua .nu0 		{color: #606060;} /* number */
.lua .st0 		{color: #a00000;} /* string */
.lua .co1 		{color: #008000;} /* comment */
.lua .coMULTI 	        {color: #008000;} /* comment multi-line */


/* SQL */
.sql .kw1 		{color: #0000ff;} /* keyword */
.sql .br0 		{color: #000000;} /* brace, bracket, parenthesis */
.sql .sy0 		{color: #008080;} /* symbol */
.sql .nu0 		{color: #606060;} /* number */
.sql .st0 		{color: #a00000;} /* string */
.sql .co1 		{color: #008000;} /* comment */
.sql .coMULTI 	        {color: #008000;} /* comment multi-line */


/* XML */
.xml .re1 		{color: #800000;} /* element */
.xml .re2 		{color: #800000;} /* element */
.xml .re0 		{color: #ff0000;} /* attribute */
.xml .st0 		{color: #0000ff;} /* strings */
.xml .co1 		{color: #008000;} /* comment */
.xml .coMULTI 	        {color: #008000;} /* comment multi-line */