MediaWiki:Geshi.css: Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
/** ----- SyntaxHighlight ----- **/
 
/** ----- SyntaxHighlight ----- **/
/* Fix so <source> tags, and .css and .js pages, get normal text size  
+
/* Fix so <source> tags get normal text size also in some
  also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
+
  versions of Firefox, Safari, Konqueror, Chrome etc.
div.mw-geshi div,
+
  See http://en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Section_break._Teletype_style_fix */
pre {
+
        font-family: monospace, "Courier New" !important;
+
div.mw-geshi div {
 +
    font-family: monospace, sans-serif !important;
 +
}
 +
 +
#content div.mw-geshi pre {
 +
    font-family: monospace, sans-serif;
 
}
 
}

Version vom 27. November 2012, 22:39 Uhr

/** ----- SyntaxHighlight ----- **/
/* 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, sans-serif !important;
}
 
#content div.mw-geshi pre {
    font-family: monospace, sans-serif;
}