MediaWiki:Geshi.css: Unterschied zwischen den Versionen

Aus DGL Wiki
Wechseln zu: Navigation, Suche
K (Versuch Klammerfarbe zu ändern.)
(CSS Anweisungen waren nicht wirksam.)
 
Zeile 2: Zeile 2:
  
 
/* pascal */
 
/* pascal */
.pascal {margin:0px;}
+
.pascal.source-pascal {margin:0px;}
.pascal .de1, .pascal .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
+
.pascal.source-pascal .de1, .pascal.source-pascal .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.pascal .imp {font-weight: bold; color: red;}
+
.pascal.source-pascal .imp {font-weight: bold; color: red;}
.pascal li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
+
.pascal.source-pascal li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.pascal .kw1 {color: #000080; font-weight: bold;}
+
.pascal.source-pascal .kw1 {color: #000080; font-weight: bold;}
.pascal .kw2 {color: #000080; font-weight: bold;}
+
.pascal.source-pascal .kw2 {color: #000080; font-weight: bold;}
.pascal .kw3 {color: #000000;}
+
.pascal.source-pascal .kw3 {color: #000000;}
.pascal .kw4 {color: #993333; font-weight: bold}
+
.pascal.source-pascal .kw4 {color: #993333; font-weight: bold}
.pascal .kw5 {color: #551111; }
+
.pascal.source-pascal .kw5 {color: #551111; }
  
  
.pascal .co1 {color: #008000; font-style: italic;}
+
.pascal.source-pascal .co1 {color: #008000; font-style: italic;}
.pascal .coMULTI {color: #008000; font-style: italic;}
+
.pascal.source-pascal .coMULTI {color: #008000; font-style: italic;}
 
.pascal.source-pascal .br0 {color: #000000;}
 
.pascal.source-pascal .br0 {color: #000000;}
.pascal .st0 {color: #0000ff;}
+
.pascal.source-pascal .st0 {color: #0000ff;}
.pascal .nu0 {color: #0000ff;}
+
.pascal.source-pascal .nu0 {color: #0000ff;}
.pascal .me1 {color: #000000;}
+
.pascal.source-pascal .me1 {color: #000000;}
 
}
 
}
  
 
/* csharp */
 
/* csharp */
.csharp {margin:0px;}
+
.csharp.source-csharp {margin:0px;}
.csharp .de1, .csharp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
+
.csharp.source-csharp .de1, .csharp.source-csharp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.csharp .imp {font-weight: bold; color: red;}
+
.csharp.source-csharp .imp {font-weight: bold; color: red;}
.csharp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
+
.csharp.source-csharp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.csharp .kw1 {color: #000080; font-weight: bold;}
+
.csharp.source-csharp .kw1 {color: #000080; font-weight: bold;}
.csharp .kw2 {color: #000080; font-weight: bold;}
+
.csharp.source-csharp .kw2 {color: #000080; font-weight: bold;}
.csharp .kw3 {color: #000000;}
+
.csharp.source-csharp .kw3 {color: #000000;}
.csharp .kw4 {color: #993333; font-weight: bold}
+
.csharp.source-csharp .kw4 {color: #993333; font-weight: bold}
.csharp .kw5 {color: #551111; }
+
.csharp.source-csharp .kw5 {color: #551111; }
  
  
.csharp .co1 {color: #008000; font-style: italic;}
+
.csharp.source-csharp .co1 {color: #008000; font-style: italic;}
.csharp .coMULTI {color: #008000; font-style: italic;}
+
.csharp.source-csharp .coMULTI {color: #008000; font-style: italic;}
.csharp .br0 {color: #000000;}
+
.csharp.source-csharp .br0 {color: #000000;}
.csharp .st0 {color: #0000ff;}
+
.csharp.source-csharp .st0 {color: #0000ff;}
.csharp .nu0 {color: #0000ff;}
+
.csharp.source-csharp .nu0 {color: #0000ff;}
.csharp .me1 {color: #000000;}
+
.csharp.source-csharp .me1 {color: #000000;}
  
 
/* java */
 
/* java */
.java {margin:0px;}
+
.java.source-java {margin:0px;}
.java .de1, .java .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
+
.java.source-java .de1, .java.source-java .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.java .imp {font-weight: bold; color: red;}
+
.java.source-java .imp {font-weight: bold; color: red;}
.java li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
+
.java.source-java li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.java .kw1 {color: #000080; font-weight: bold;}
+
.java.source-java .kw1 {color: #000080; font-weight: bold;}
.java .kw2 {color: #000080; font-weight: bold;}
+
.java.source-java .kw2 {color: #000080; font-weight: bold;}
.java .kw3 {color: #000000;}
+
.java.source-java .kw3 {color: #000000;}
.java .kw4 {color: #993333; font-weight: bold}
+
.java.source-java .kw4 {color: #993333; font-weight: bold}
.java .kw5 {color: #551111; }
+
.java.source-java .kw5 {color: #551111; }
  
  
.java .co1 {color: #008000; font-style: italic;}
+
.java.source-java .co1 {color: #008000; font-style: italic;}
.java .coMULTI {color: #008000; font-style: italic;}
+
.java.source-java .coMULTI {color: #008000; font-style: italic;}
.java .br0 {color: #000000;}
+
.java.source-java .br0 {color: #000000;}
.java .st0 {color: #0000ff;}
+
.java.source-java .st0 {color: #0000ff;}
.java .nu0 {color: #0000ff;}
+
.java.source-java .nu0 {color: #0000ff;}
.java .me1 {color: #000000;}
+
.java.source-java .me1 {color: #000000;}
  
 
/* cpp */
 
/* cpp */
.cpp {margin:0px;}
+
.cpp.source-cpp {margin:0px;}
.cpp .de1, .cpp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
+
.cpp.source-cpp .de1, .cpp .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.cpp .imp {font-weight: bold; color: red;}
+
.cpp.source-cpp .imp {font-weight: bold; color: red;}
.cpp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
+
.cpp.source-cpp li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.cpp .kw1 {color: #000080; font-weight: bold;}
+
.cpp.source-cpp .kw1 {color: #000080; font-weight: bold;}
.cpp .kw2 {color: #000080; font-weight: bold;}
+
.cpp.source-cpp .kw2 {color: #000080; font-weight: bold;}
.cpp .kw3 {color: #000000;}
+
.cpp.source-cpp .kw3 {color: #000000;}
.cpp .kw4 {color: #993333; font-weight: bold}
+
.cpp.source-cpp .kw4 {color: #993333; font-weight: bold}
.cpp .kw5 {color: #551111; }
+
.cpp.source-cpp .kw5 {color: #551111; }
  
  
.cpp .co1 {color: #008000; font-style: italic;}
+
.cpp.source-cpp .co1 {color: #008000; font-style: italic;}
.cpp .coMULTI {color: #008000; font-style: italic;}
+
.cpp.source-cpp .coMULTI {color: #008000; font-style: italic;}
.cpp .br0 {color: #000000;}
+
.cpp.source-cpp .br0 {color: #000000;}
.cpp .st0 {color: #0000ff;}
+
.cpp.source-cpp .st0 {color: #0000ff;}
.cpp .nu0 {color: #0000ff;}
+
.cpp.source-cpp .nu0 {color: #0000ff;}
.cpp .me1 {color: #000000;}
+
.cpp.source-cpp .me1 {color: #000000;}
  
 
/* glsl */
 
/* glsl */
.glsl {margin:0px;}
+
.glsl.source-glsl {margin:0px;}
.glsl .de1, .glsl .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
+
.glsl.source-glsl .de1, .glsl.source-glsl .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.glsl .imp {font-weight: bold; color: red;}
+
.glsl.source-glsl .imp {font-weight: bold; color: red;}
.glsl li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
+
.glsl.source-glsl li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.glsl .kw1 {color: #000080; font-weight: bold;}
+
.glsl.source-glsl .kw1 {color: #000080; font-weight: bold;}
.glsl .kw2 {color: #000080; font-weight: bold;}
+
.glsl.source-glsl .kw2 {color: #000080; font-weight: bold;}
.glsl .kw3 {color: #000000;}
+
.glsl.source-glsl .kw3 {color: #000000;}
.glsl .kw4 {color: #993333; font-weight: bold}
+
.glsl.source-glsl .kw4 {color: #993333; font-weight: bold}
.glsl .kw5 {color: #551111; }
+
.glsl.source-glsl .kw5 {color: #551111; }
  
  
.glsl .co1 {color: #008000; font-style: italic;}
+
.glsl.source-glsl .co1 {color: #008000; font-style: italic;}
.glsl .coMULTI {color: #008000; font-style: italic;}
+
.glsl.source-glsl .coMULTI {color: #008000; font-style: italic;}
.glsl .br0 {color: #000000;}
+
.glsl.source-glsl .br0 {color: #000000;}
.glsl .st0 {color: #0000ff;}
+
.glsl.source-glsl .st0 {color: #0000ff;}
.glsl .nu0 {color: #0000ff;}
+
.glsl.source-glsl .nu0 {color: #0000ff;}
.glsl .me1 {color: #000000;}
+
.glsl.source-glsl .me1 {color: #000000;}
  
 
/* python */
 
/* python */
.python {margin:0px;}
+
.python.source-python {margin:0px;}
.python .de1, .python .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
+
.python.source-python .de1, .python.source-python .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.python .imp {font-weight: bold; color: red;}
+
.python.source-python .imp {font-weight: bold; color: red;}
.python li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
+
.python.source-python li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.python .kw1 {color: #000080; font-weight: bold;}
+
.python.source-python .kw1 {color: #000080; font-weight: bold;}
.python .kw2 {color: #000080; font-weight: bold;}
+
.python.source-python .kw2 {color: #000080; font-weight: bold;}
.python .kw3 {color: #000000;}
+
.python.source-python .kw3 {color: #000000;}
.python .kw4 {color: #993333; font-weight: bold}
+
.python.source-python .kw4 {color: #993333; font-weight: bold}
.python .kw5 {color: #551111; }
+
.python.source-python .kw5 {color: #551111; }
  
  
.python .co1 {color: #008000; font-style: italic;}
+
.python.source-python .co1 {color: #008000; font-style: italic;}
.python .coMULTI {color: #008000; font-style: italic;}
+
.python.source-python .coMULTI {color: #008000; font-style: italic;}
.python .br0 {color: #000000;}
+
.python.source-python .br0 {color: #000000;}
.python .st0 {color: #0000ff;}
+
.python.source-python .st0 {color: #0000ff;}
.python .nu0 {color: #0000ff;}
+
.python.source-python .nu0 {color: #0000ff;}
.python .me1 {color: #000000;}
+
.python.source-python .me1 {color: #000000;}

Aktuelle Version vom 2. Mai 2009, 10:34 Uhr

/* 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;}