Difference between revisions of "MediaWiki:Geshi.css"

From CSE330 Wiki
Jump to navigationJump to search
(Created page with '→‎CSS placed here will be applied to GeSHi syntax highlighting: div.mw-geshi { padding: 1em; margin: 1em 0; border: 1px dashed #2f6fab; background-color: #f9f9f9; }')
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to GeSHi syntax highlighting */
 
/* CSS placed here will be applied to GeSHi syntax highlighting */
  
div.mw-geshi {
+
div.source-html4strict pre, div.source-css pre, div.source-apache pre, div.source-javascript pre, div.source-mysql pre, div.source-python pre, div.source-ruby pre, div.source-bash pre, div.source-php pre, div.source-xml pre {
  padding: 1em;  
+
white-space: pre-wrap;
  margin: 1em 0;
+
font-size: 1.3em;
  border: 1px dashed #2f6fab;
+
tab-size: 4;
  background-color: #f9f9f9;
 
 
}
 
}

Latest revision as of 09:14, 19 March 2013

/* CSS placed here will be applied to GeSHi syntax highlighting */

div.source-html4strict pre, div.source-css pre, div.source-apache pre, div.source-javascript pre, div.source-mysql pre, div.source-python pre, div.source-ruby pre, div.source-bash pre, div.source-php pre, div.source-xml pre {
	white-space: pre-wrap;
	font-size: 1.3em;
	tab-size: 4;
}