MediaWiki:Geshi.css

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche

Hinweis: Leeren Sie nach dem Speichern den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Extras → Internetspuren löschen … → Individuelle Auswahl → Den kompletten Cache löschen
/* CSS in dieser MediaWiki-Systemnachricht wird auf die GeSHi-Syntaxhervorhebung angewendet */

.note-box-example .mw-geshi + .mw-geshi {
  margin-top: -1.2em; 
}

.note-box-example .html4strict.source-html4strict .de1, 
.note-box-example .html4strict.source-html4strict .de2 { /* container */
    color: #0000C0;
}

.note-box-example .html4strict.source-html4strict .sc0, /* doctype */
.note-box-example .html4strict.source-html4strict .sc2 { /* tags */
    color: #808000; 
}

.note-box-example .html4strict.source-html4strict .kw2 { /* element names */
    color: #0A0A0A;
    font-weight: normal;
}

.note-box-example .html4strict.source-html4strict .kw3 { /* attribute names */
    color: #A1A100;
}

.note-box-example .html4strict.source-html4strict .st0 { /* attribute values */
    color: #800080;
}

.note-box-example .html4strict.source-html4strict .sy0 { /* symbols */
    color: #0A0A0A;
}


.note-box-example .html5.source-html5 .de1, 
.note-box-example .html5.source-html5 .de2 { /* container */
    color: #0000C0;
}

.note-box-example .html5.source-html5 .sc0, /* doctype */
.note-box-example .html5.source-html5 .sc2 { /* tags */
    color: #808000; 
}

.note-box-example .html5.source-html5 .kw2 { /* element names */
    color: #0A0A0A;
    font-weight: normal;
}

.note-box-example .html5.source-html5 .kw3 { /* attribute names */
    color: #A1A100;
}

.note-box-example .html5.source-html5 .st0 { /* attribute values */
    color: #800080;
}

.note-box-example .html5.source-html5 .sy0 { /* symbols */
    color: #0A0A0A;
}


.note-box-example .css.source-css .kw1 { /* properties */
    color: #0A0A0A;
    font-weight: normal;
}

.note-box-example .css.source-css .sy0 { 
    color: #0A0A0A;
}

.note-box-example .css.source-css .br0 { 
    color: #0A0A0A;
}

.note-box-example .css.source-css .st0 {
    color: #993300;
}

.css.source-css .sy0 + .re0,
.css.source-css .kw2 + .re0,
.css.source-css .re3 + .re0 { /* # in value */
    color: #993300;
}

.note-box-example .xml.source-xml .de1, 
.note-box-example .xml.source-xml .de2 { /* container */
    color: #0000C0;
}

.note-box-example .xml.source-xml .sc3 {
  color: #0000C0;
}

.note-box-example .xml.source-xml .re1,
.note-box-example .xml.source-xml .re2 {
  color: #0A0A00;
  font-weight: normal;
}

.note-box-example .xml.source-xml .re0 { /* attributes */
  color: #A1A100;
} 

.note-box-example .xml.source-xml .st0 { /* values */
  color: #800080;
}

.note-box-example .javascript.source-javascript .kw1,
.note-box-example .javascript.source-javascript .kw2,
.note-box-example .javascript.source-javascript .kw5 {
  color: #0A0A00;
  font-weight: normal;
}

.note-box-example .javascript.source-javascript .br0 {
  color: #0A0A00;
}

.note-box-example .javascript.source-javascript .sy0 {
  color: #0A0A00;
}