Difference between revisions of "MediaWiki:Geshi.css"

From ECLR
Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to GeSHi syntax highlighting */
 
/* CSS placed here will be applied to GeSHi syntax highlighting */
 
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
 
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
code pre tt{
 
    font-size: 1.25em;
 
}
 
 
div.mw-geshi {
 
div.mw-geshi {
 
   padding: 1em;  
 
   padding: 1em;  
Line 9: Line 6:
 
   border: 1px dashed #2f6fab;
 
   border: 1px dashed #2f6fab;
 
   background-color: #f9f9f9;
 
   background-color: #f9f9f9;
 +
  font-size: 15px
 +
}
 +
 +
pre.mw-geshi {
 
   font-size: 15px
 
   font-size: 15px
 
}
 
}

Revision as of 12:53, 20 September 2012

/* CSS placed here will be applied to GeSHi syntax highlighting */
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
  font-size: 15px
}

pre.mw-geshi {
  font-size: 15px
}