MediaWiki:Geshi.css

Aus DGL Wiki
Version vom 2. Mai 2009, 10:34 Uhr von Flo (Diskussion | Beiträge) (CSS Anweisungen waren nicht wirksam.)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Hinweis: Leere 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: Gehe zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* Synatx highlightening */

/* pascal */
.pascal.source-pascal {margin:0px;}
.pascal.source-pascal .de1, .pascal.source-pascal .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.pascal.source-pascal .imp {font-weight: bold; color: red;}
.pascal.source-pascal li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.pascal.source-pascal .kw1 {color: #000080; font-weight: bold;}
.pascal.source-pascal .kw2 {color: #000080; font-weight: bold;}
.pascal.source-pascal .kw3 {color: #000000;}
.pascal.source-pascal .kw4 {color: #993333; font-weight: bold}
.pascal.source-pascal .kw5 {color: #551111; }


.pascal.source-pascal .co1 {color: #008000; font-style: italic;}
.pascal.source-pascal .coMULTI {color: #008000; font-style: italic;}
.pascal.source-pascal .br0 {color: #000000;}
.pascal.source-pascal .st0 {color: #0000ff;}
.pascal.source-pascal .nu0 {color: #0000ff;}
.pascal.source-pascal .me1 {color: #000000;}
}

/* csharp */
.csharp.source-csharp {margin:0px;}
.csharp.source-csharp .de1, .csharp.source-csharp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.csharp.source-csharp .imp {font-weight: bold; color: red;}
.csharp.source-csharp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.csharp.source-csharp .kw1 {color: #000080; font-weight: bold;}
.csharp.source-csharp .kw2 {color: #000080; font-weight: bold;}
.csharp.source-csharp .kw3 {color: #000000;}
.csharp.source-csharp .kw4 {color: #993333; font-weight: bold}
.csharp.source-csharp .kw5 {color: #551111; }


.csharp.source-csharp .co1 {color: #008000; font-style: italic;}
.csharp.source-csharp .coMULTI {color: #008000; font-style: italic;}
.csharp.source-csharp .br0 {color: #000000;}
.csharp.source-csharp .st0 {color: #0000ff;}
.csharp.source-csharp .nu0 {color: #0000ff;}
.csharp.source-csharp .me1 {color: #000000;}

/* java */
.java.source-java {margin:0px;}
.java.source-java .de1, .java.source-java .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.java.source-java .imp {font-weight: bold; color: red;}
.java.source-java li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.java.source-java .kw1 {color: #000080; font-weight: bold;}
.java.source-java .kw2 {color: #000080; font-weight: bold;}
.java.source-java .kw3 {color: #000000;}
.java.source-java .kw4 {color: #993333; font-weight: bold}
.java.source-java .kw5 {color: #551111; }


.java.source-java .co1 {color: #008000; font-style: italic;}
.java.source-java .coMULTI {color: #008000; font-style: italic;}
.java.source-java .br0 {color: #000000;}
.java.source-java .st0 {color: #0000ff;}
.java.source-java .nu0 {color: #0000ff;}
.java.source-java .me1 {color: #000000;}

/* cpp */
.cpp.source-cpp {margin:0px;}
.cpp.source-cpp .de1, .cpp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.cpp.source-cpp .imp {font-weight: bold; color: red;}
.cpp.source-cpp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.cpp.source-cpp .kw1 {color: #000080; font-weight: bold;}
.cpp.source-cpp .kw2 {color: #000080; font-weight: bold;}
.cpp.source-cpp .kw3 {color: #000000;}
.cpp.source-cpp .kw4 {color: #993333; font-weight: bold}
.cpp.source-cpp .kw5 {color: #551111; }


.cpp.source-cpp .co1 {color: #008000; font-style: italic;}
.cpp.source-cpp .coMULTI {color: #008000; font-style: italic;}
.cpp.source-cpp .br0 {color: #000000;}
.cpp.source-cpp .st0 {color: #0000ff;}
.cpp.source-cpp .nu0 {color: #0000ff;}
.cpp.source-cpp .me1 {color: #000000;}

/* glsl */
.glsl.source-glsl {margin:0px;}
.glsl.source-glsl .de1, .glsl.source-glsl .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.glsl.source-glsl .imp {font-weight: bold; color: red;}
.glsl.source-glsl li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.glsl.source-glsl .kw1 {color: #000080; font-weight: bold;}
.glsl.source-glsl .kw2 {color: #000080; font-weight: bold;}
.glsl.source-glsl .kw3 {color: #000000;}
.glsl.source-glsl .kw4 {color: #993333; font-weight: bold}
.glsl.source-glsl .kw5 {color: #551111; }


.glsl.source-glsl .co1 {color: #008000; font-style: italic;}
.glsl.source-glsl .coMULTI {color: #008000; font-style: italic;}
.glsl.source-glsl .br0 {color: #000000;}
.glsl.source-glsl .st0 {color: #0000ff;}
.glsl.source-glsl .nu0 {color: #0000ff;}
.glsl.source-glsl .me1 {color: #000000;}

/* python */
.python.source-python {margin:0px;}
.python.source-python .de1, .python.source-python .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.python.source-python .imp {font-weight: bold; color: red;}
.python.source-python li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.python.source-python .kw1 {color: #000080; font-weight: bold;}
.python.source-python .kw2 {color: #000080; font-weight: bold;}
.python.source-python .kw3 {color: #000000;}
.python.source-python .kw4 {color: #993333; font-weight: bold}
.python.source-python .kw5 {color: #551111; }


.python.source-python .co1 {color: #008000; font-style: italic;}
.python.source-python .coMULTI {color: #008000; font-style: italic;}
.python.source-python .br0 {color: #000000;}
.python.source-python .st0 {color: #0000ff;}
.python.source-python .nu0 {color: #0000ff;}
.python.source-python .me1 {color: #000000;}