MediaWiki:Geshi.css: Unterschied zwischen den Versionen
Aus DGL Wiki
Flo (Diskussion | Beiträge) K (Schwarze Klammern statt hellgrüne.) |
Flo (Diskussion | Beiträge) (Style von MediaWiki:Monobook.css hier her kopiert.) |
||
Zeile 1: | Zeile 1: | ||
− | . | + | /* Synatx highlightening */ |
+ | |||
+ | /* pascal */ | ||
+ | .pascal {margin:0px;} | ||
+ | .pascal .de1, .delphi .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | ||
+ | .pascal .imp {font-weight: bold; color: red;} | ||
+ | .pascal li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;} | ||
+ | .pascal .kw1 {color: #000080; font-weight: bold;} | ||
+ | .pascal .kw2 {color: #000080; font-weight: bold;} | ||
+ | .pascal .kw3 {color: #000000;} | ||
+ | .pascal .kw4 {color: #993333; font-weight: bold} | ||
+ | .pascal .kw5 {color: #551111; } | ||
+ | |||
+ | |||
+ | .pascal .co1 {color: #008000; font-style: italic;} | ||
+ | .pascal .coMULTI {color: #008000; font-style: italic;} | ||
+ | .pascal .br0 {color: #000000;} | ||
+ | .pascal .st0 {color: #0000ff;} | ||
+ | .pascal .nu0 {color: #0000ff;} | ||
+ | .pascal .me1 {color: #000000;} | ||
+ | } | ||
+ | |||
+ | /* csharp */ | ||
+ | .csharp {margin:0px;} | ||
+ | .csharp .de1, .csharp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | ||
+ | .csharp .imp {font-weight: bold; color: red;} | ||
+ | .csharp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;} | ||
+ | .csharp .kw1 {color: #000080; font-weight: bold;} | ||
+ | .csharp .kw2 {color: #000080; font-weight: bold;} | ||
+ | .csharp .kw3 {color: #000000;} | ||
+ | .csharp .kw4 {color: #993333; font-weight: bold} | ||
+ | .csharp .kw5 {color: #551111; } | ||
+ | |||
+ | |||
+ | .csharp .co1 {color: #008000; font-style: italic;} | ||
+ | .csharp .coMULTI {color: #008000; font-style: italic;} | ||
+ | .csharp .br0 {color: #000000;} | ||
+ | .csharp .st0 {color: #0000ff;} | ||
+ | .csharp .nu0 {color: #0000ff;} | ||
+ | .csharp .me1 {color: #000000;} | ||
+ | |||
+ | /* java */ | ||
+ | .java {margin:0px;} | ||
+ | .java .de1, .java .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | ||
+ | .java .imp {font-weight: bold; color: red;} | ||
+ | .java li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;} | ||
+ | .java .kw1 {color: #000080; font-weight: bold;} | ||
+ | .java .kw2 {color: #000080; font-weight: bold;} | ||
+ | .java .kw3 {color: #000000;} | ||
+ | .java .kw4 {color: #993333; font-weight: bold} | ||
+ | .java .kw5 {color: #551111; } | ||
+ | |||
+ | |||
+ | .java .co1 {color: #008000; font-style: italic;} | ||
+ | .java .coMULTI {color: #008000; font-style: italic;} | ||
+ | .java .br0 {color: #000000;} | ||
+ | .java .st0 {color: #0000ff;} | ||
+ | .java .nu0 {color: #0000ff;} | ||
+ | .java .me1 {color: #000000;} | ||
+ | |||
+ | /* cpp */ | ||
+ | .cpp {margin:0px;} | ||
+ | .cpp .de1, .cpp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | ||
+ | .cpp .imp {font-weight: bold; color: red;} | ||
+ | .cpp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;} | ||
+ | .cpp .kw1 {color: #000080; font-weight: bold;} | ||
+ | .cpp .kw2 {color: #000080; font-weight: bold;} | ||
+ | .cpp .kw3 {color: #000000;} | ||
+ | .cpp .kw4 {color: #993333; font-weight: bold} | ||
+ | .cpp .kw5 {color: #551111; } | ||
+ | |||
+ | |||
+ | .cpp .co1 {color: #008000; font-style: italic;} | ||
+ | .cpp .coMULTI {color: #008000; font-style: italic;} | ||
+ | .cpp .br0 {color: #000000;} | ||
+ | .cpp .st0 {color: #0000ff;} | ||
+ | .cpp .nu0 {color: #0000ff;} | ||
+ | .cpp .me1 {color: #000000;} | ||
+ | |||
+ | /* glsl */ | ||
+ | .glsl {margin:0px;} | ||
+ | .glsl .de1, .glsl .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | ||
+ | .glsl .imp {font-weight: bold; color: red;} | ||
+ | .glsl li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;} | ||
+ | .glsl .kw1 {color: #000080; font-weight: bold;} | ||
+ | .glsl .kw2 {color: #000080; font-weight: bold;} | ||
+ | .glsl .kw3 {color: #000000;} | ||
+ | .glsl .kw4 {color: #993333; font-weight: bold} | ||
+ | .glsl .kw5 {color: #551111; } | ||
+ | |||
+ | |||
+ | .glsl .co1 {color: #008000; font-style: italic;} | ||
+ | .glsl .coMULTI {color: #008000; font-style: italic;} | ||
+ | .glsl .br0 {color: #000000;} | ||
+ | .glsl .st0 {color: #0000ff;} | ||
+ | .glsl .nu0 {color: #0000ff;} | ||
+ | .glsl .me1 {color: #000000;} | ||
+ | |||
+ | /* python */ | ||
+ | .python {margin:0px;} | ||
+ | .python .de1, .python .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | ||
+ | .python .imp {font-weight: bold; color: red;} | ||
+ | .python li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;} | ||
+ | .python .kw1 {color: #000080; font-weight: bold;} | ||
+ | .python .kw2 {color: #000080; font-weight: bold;} | ||
+ | .python .kw3 {color: #000000;} | ||
+ | .python .kw4 {color: #993333; font-weight: bold} | ||
+ | .python .kw5 {color: #551111; } | ||
+ | |||
+ | |||
+ | .python .co1 {color: #008000; font-style: italic;} | ||
+ | .python .coMULTI {color: #008000; font-style: italic;} | ||
+ | .python .br0 {color: #000000;} | ||
+ | .python .st0 {color: #0000ff;} | ||
+ | .python .nu0 {color: #0000ff;} | ||
+ | .python .me1 {color: #000000;} |
Version vom 10. März 2009, 20:03 Uhr
/* Synatx highlightening */
/* pascal */
.pascal {margin:0px;}
.pascal .de1, .delphi .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.pascal .imp {font-weight: bold; color: red;}
.pascal li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.pascal .kw1 {color: #000080; font-weight: bold;}
.pascal .kw2 {color: #000080; font-weight: bold;}
.pascal .kw3 {color: #000000;}
.pascal .kw4 {color: #993333; font-weight: bold}
.pascal .kw5 {color: #551111; }
.pascal .co1 {color: #008000; font-style: italic;}
.pascal .coMULTI {color: #008000; font-style: italic;}
.pascal .br0 {color: #000000;}
.pascal .st0 {color: #0000ff;}
.pascal .nu0 {color: #0000ff;}
.pascal .me1 {color: #000000;}
}
/* csharp */
.csharp {margin:0px;}
.csharp .de1, .csharp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.csharp .imp {font-weight: bold; color: red;}
.csharp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.csharp .kw1 {color: #000080; font-weight: bold;}
.csharp .kw2 {color: #000080; font-weight: bold;}
.csharp .kw3 {color: #000000;}
.csharp .kw4 {color: #993333; font-weight: bold}
.csharp .kw5 {color: #551111; }
.csharp .co1 {color: #008000; font-style: italic;}
.csharp .coMULTI {color: #008000; font-style: italic;}
.csharp .br0 {color: #000000;}
.csharp .st0 {color: #0000ff;}
.csharp .nu0 {color: #0000ff;}
.csharp .me1 {color: #000000;}
/* java */
.java {margin:0px;}
.java .de1, .java .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.java .imp {font-weight: bold; color: red;}
.java li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.java .kw1 {color: #000080; font-weight: bold;}
.java .kw2 {color: #000080; font-weight: bold;}
.java .kw3 {color: #000000;}
.java .kw4 {color: #993333; font-weight: bold}
.java .kw5 {color: #551111; }
.java .co1 {color: #008000; font-style: italic;}
.java .coMULTI {color: #008000; font-style: italic;}
.java .br0 {color: #000000;}
.java .st0 {color: #0000ff;}
.java .nu0 {color: #0000ff;}
.java .me1 {color: #000000;}
/* cpp */
.cpp {margin:0px;}
.cpp .de1, .cpp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.cpp .imp {font-weight: bold; color: red;}
.cpp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.cpp .kw1 {color: #000080; font-weight: bold;}
.cpp .kw2 {color: #000080; font-weight: bold;}
.cpp .kw3 {color: #000000;}
.cpp .kw4 {color: #993333; font-weight: bold}
.cpp .kw5 {color: #551111; }
.cpp .co1 {color: #008000; font-style: italic;}
.cpp .coMULTI {color: #008000; font-style: italic;}
.cpp .br0 {color: #000000;}
.cpp .st0 {color: #0000ff;}
.cpp .nu0 {color: #0000ff;}
.cpp .me1 {color: #000000;}
/* glsl */
.glsl {margin:0px;}
.glsl .de1, .glsl .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.glsl .imp {font-weight: bold; color: red;}
.glsl li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.glsl .kw1 {color: #000080; font-weight: bold;}
.glsl .kw2 {color: #000080; font-weight: bold;}
.glsl .kw3 {color: #000000;}
.glsl .kw4 {color: #993333; font-weight: bold}
.glsl .kw5 {color: #551111; }
.glsl .co1 {color: #008000; font-style: italic;}
.glsl .coMULTI {color: #008000; font-style: italic;}
.glsl .br0 {color: #000000;}
.glsl .st0 {color: #0000ff;}
.glsl .nu0 {color: #0000ff;}
.glsl .me1 {color: #000000;}
/* python */
.python {margin:0px;}
.python .de1, .python .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.python .imp {font-weight: bold; color: red;}
.python li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.python .kw1 {color: #000080; font-weight: bold;}
.python .kw2 {color: #000080; font-weight: bold;}
.python .kw3 {color: #000000;}
.python .kw4 {color: #993333; font-weight: bold}
.python .kw5 {color: #551111; }
.python .co1 {color: #008000; font-style: italic;}
.python .coMULTI {color: #008000; font-style: italic;}
.python .br0 {color: #000000;}
.python .st0 {color: #0000ff;}
.python .nu0 {color: #0000ff;}
.python .me1 {color: #000000;}