Difference between revisions of "MediaWiki:Geshi.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 6: Line 6:
 
     font-family: monospace, vrinda !important;
 
     font-family: monospace, vrinda !important;
 
     font-size: 14px;
 
     font-size: 14px;
 +
    overflow:auto;
 
}
 
}
  

Revision as of 17:16, 18 August 2014

/* Fix so <source> tags get normal text size also in some
   versions of Firefox, Safari, Konqueror, Chrome etc.
   See http://en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Section_break._Teletype_style_fix */
 
div.mw-geshi div {
    font-family: monospace, vrinda !important;
    font-size: 14px;
    overflow:auto;
}

div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed darkgrey;
  background-color: #f0f0f0;
}
 
#content div.mw-geshi pre {
    font-family: monospace, vrinda;
    font-size: 14px;
}