Difference between revisions of "MediaWiki:Common.css"

From Ribbon Commander Documentation
Jump to: navigation, search
 
Line 7: Line 7:
 
}
 
}
  
 +
/*
 
/* Fix so <source> tags, and .css and .js pages, get normal text size  
 
/* Fix so <source> tags, and .css and .js pages, get normal text size  
 
   also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
 
   also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
Line 12: Line 13:
 
pre {
 
pre {
 
         font-family: monospace, "Courier New" !important;
 
         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 15: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;
}