Difference between revisions of "MediaWiki:Common.css"

From Ribbon Commander Documentation
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
   border: 1px dashed #2f6fab;
 
   border: 1px dashed #2f6fab;
 
   background-color: #f9f9f9;
 
   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;
 +
}
 +
*/
 +
 +
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
 +
tt, code, pre {
 +
    font-size: 1.25em;
 
}
 
}

Latest revision as of 16:33, 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;
}
*/
 
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
tt, code, pre {
    font-size: 1.25em;
}