Jump to: navigation, search

Difference between revisions of "MediaWiki:Geshi.css"


 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
pre.mw-geshi {
 
pre.mw-geshi {
 
   background-color: #f0f0f0;
 
   background-color: #f0f0f0;
   font-size: 2em; /* IE doesn't like inherit here */
+
   font-size: 1.2em; /* IE doesn't like inherit here */
 
}
 
}
 
pre.mw-content-ltr {
 
pre.mw-content-ltr {
 
   background-color: #f0f0f0;
 
   background-color: #f0f0f0;
   font-size: 2em; /* IE doesn't like inherit here */
+
   font-size: 1.2em; /* IE doesn't like inherit here */
 
}
 
}

Latest revision as of 10:29, 23 February 2015

/* CSS placed here will be applied to GeSHi syntax highlighting */
 
/* Fix so <source> tags, and .css and .js pages, get normal text size 
   also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
div.mw-geshi div,
pre {
        font-family: monospace, "Courier New" !important;
   font-size: 1em; /* IE doesn't like inherit here */
}
 
pre.mw-geshi {
   background-color: #f0f0f0;
   font-size: 1.2em; /* IE doesn't like inherit here */
}
pre.mw-content-ltr {
   background-color: #f0f0f0;
   font-size: 1.2em; /* IE doesn't like inherit here */
}