MediaWiki:Monobook.css: Unterschied zwischen den Versionen
Aus DGL Wiki
Flo (Diskussion | Beiträge) K (hmm also auf diese weise bekommt man mit CSS keine schoenen Ergebnisse...) |
(Dummy-Formatierung für weitere Sprachen.) |
||
Zeile 70: | Zeile 70: | ||
/* Synatx highlightening */ | /* Synatx highlightening */ | ||
+ | /* delphi */ | ||
.delphi {margin:0px;} | .delphi {margin:0px;} | ||
.delphi .de1, .delphi .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | .delphi .de1, .delphi .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;} | ||
Zeile 86: | Zeile 87: | ||
.delphi .st0 {color: #0000ff;} | .delphi .st0 {color: #0000ff;} | ||
.delphi .nu0 {color: #0000ff;} | .delphi .nu0 {color: #0000ff;} | ||
− | .delphi .me1 {color: #000000;} | + | .delphi .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;} | ||
+ | |||
+ | /* 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 26. Mai 2006, 14:56 Uhr
/* edit this file to customize the monobook skin for the entire site */
table.pretty
{
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
font-size: 95%;
empty-cells:show;
}
/* mainpage */
#mainpage-news
{
margin: 0;
margin-top:5px;
margin-right:10px;
border: 1px solid #dfdfdf;
padding: 0 1em 1em 1em;
background-color:#E3F0FF;
}
#mainpage-news2,#mainpage-news2 table /* Aktuelles */
{
margin: 0;
margin-right:0px;
border: 0px solid #dfdfdf;
padding: 0 1em 0em 0em;
background-color:#E3F0FF;
}
#mainpage-news2 {padding: 0 1em 1em 1em;}
#mainpage-welcome
{
margin: 0;
margin-right:10px;
border: 1px solid #dfdfdf;
padding: 0 1em 1em 1em;
background-color:#F0F0FF;
}
#mainpage-categories td
{
margin: 0;
margin-right:10px;
border: 1px solid #dfdfdf;
padding: 0 1em 0em 1em;
background-color:#D9EFDE
}
#mainpage-improvewiki
{
margin: 0;
margin-right:10px;
border: 1px solid #dfdfdf;
padding: 0 1em 1em 1em;
background-color:#F6DFC2;
}
#mainpage-closingwords
{
margin: 0;
margin-right:10px;
border: 1px solid #dfdfdf;
padding: 0 1em 1em 1em;
background-color:#F0F8FF;
}
/* Synatx highlightening */
/* delphi */
.delphi {margin:0px;}
.delphi .de1, .delphi .de2 {font-family: 'Courier New', Courier, monospace; font-weight: normal;}
.delphi .imp {font-weight: bold; color: red;}
.delphi li {font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;}
.delphi .kw1 {color: #000080; font-weight: bold;}
.delphi .kw2 {color: #000080; font-weight: bold;}
.delphi .kw3 {color: #000000;}
.delphi .kw4 {color: #993333; font-weight: bold}
.delphi .kw5 {color: #551111; }
.delphi .co1 {color: #008000; font-style: italic;}
.delphi .coMULTI {color: #008000; font-style: italic;}
.delphi .br0 {color: #000000;}
.delphi .st0 {color: #0000ff;}
.delphi .nu0 {color: #0000ff;}
.delphi .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;}
/* 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;}