Difference between revisions of "MediaWiki:Common.css"

From Ribbon Commander Documentation
Jump to: navigation, search
Line 7: Line 7:
 
}
 
}
  
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
+
/* Fix so <source> tags, and .css and .js pages, get normal text size  
tt, code, pre {
+
  also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
    font-size: 1.25em;
+
div.mw-geshi div,
 +
pre {
 +
        font-family: monospace, "Courier New" !important;
 
}
 
}

Revision as of 15:31, 9 December 2012

/* CSS placed here will be applied to all skins */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}
 
/* 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;
}