MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (hm... anders verschachtelt vielleicht...) |
(für {{Rootpre}}, {{Cmdpre}} und {{Filepre}} umgerüstet, test-pre ohne formatierung wieder weg) |
||
Zeile 44: | Zeile 44: | ||
} | } | ||
− | /* pre für Eingaben auf der Kommandozeile */ | + | /* für [[Vorlage:Cmdpre]]: pre für Eingaben auf der Kommandozeile */ |
.cmdpre { | .cmdpre { | ||
background-color: #f9e3e3; | background-color: #f9e3e3; | ||
+ | padding: 0 1em; | ||
+ | position: relative; | ||
} | } | ||
+ | /* Linkfarben anpassen */ | ||
+ | .cmdpre a:link { color:#ff8080; } | ||
+ | .cmdpre a:visited { color:#ff8080; } | ||
+ | .cmdpre a:hover { color:#ff7070; } | ||
− | /* pre für Eingaben auf der Kommandozeile, für die man root-Rechte braucht */ | + | /* für [[Vorlage:Rootpre]]: pre für Eingaben auf der Kommandozeile, für die man root-Rechte braucht */ |
.rootpre { | .rootpre { | ||
background-color: #f9e3e3; | background-color: #f9e3e3; | ||
border: 1px dotted red; | border: 1px dotted red; | ||
+ | padding: 0 1em; | ||
+ | position: relative; | ||
} | } | ||
− | + | /* Linkfarben anpassen */ | |
.rootpre a:link { color:#ff8080; } | .rootpre a:link { color:#ff8080; } | ||
.rootpre a:visited { color:#ff8080; } | .rootpre a:visited { color:#ff8080; } | ||
.rootpre a:hover { color:#ff7070; } | .rootpre a:hover { color:#ff7070; } | ||
− | /* pre | + | /* für [[Vorlage:Filepre]]: pre für Dateiinhalte etc. */ |
.filepre { | .filepre { | ||
background-color: #e3e6f9; | background-color: #e3e6f9; | ||
+ | padding: 0 1em; | ||
+ | position: relative; | ||
} | } | ||
+ | /* Linkfarben anpassen */ | ||
+ | .filepre a:link { color:#80ff80; } | ||
+ | .filepre a:visited { color:#80ff80; } | ||
+ | .filepre a:hover { color:#70ff70; } | ||
/* pre-Stil für Bereiche, die wie ein pre hervorgehoben werden sollen, aber formatierten Wikitext enthalten */ | /* pre-Stil für Bereiche, die wie ein pre hervorgehoben werden sollen, aber formatierten Wikitext enthalten */ | ||
Zeile 70: | Zeile 84: | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
padding: 1em; | padding: 1em; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
/* </pre> */ | /* </pre> */ |
Version vom 13. Januar 2007, 15:46 Uhr
/* <!-- nur für die Darstellung innerhalb des MediaWikis; bei der Verarbeitung als CSS-Datei werden die Tags ignoriert. --> <!-- Tipp: Tabs per Copy and Paste einfügen. --> <pre> */ /* Hauptseite */ @import "/w/index.php?title=MediaWiki:Common.css:hauptseite&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"; /* Portalseite */ @import "/w/index.php?title=MediaWiki:Common.css:portalseite&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"; /* Infoboxen */ @import "/w/index.php?title=MediaWiki:Common.css:infoboxen&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"; /* Tabellen */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px solid #8cacbb; padding: 0.2em; vertical-align: top; } table.wikitable th, table.prettytable th { background: #dee7ec; text-align: left; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } /* Bearbeiten-Links an Überschriften */ div.editsection { font-size: smaller; float: right; } /* für [[Vorlage:Cmdpre]]: pre für Eingaben auf der Kommandozeile */ .cmdpre { background-color: #f9e3e3; padding: 0 1em; position: relative; } /* Linkfarben anpassen */ .cmdpre a:link { color:#ff8080; } .cmdpre a:visited { color:#ff8080; } .cmdpre a:hover { color:#ff7070; } /* für [[Vorlage:Rootpre]]: pre für Eingaben auf der Kommandozeile, für die man root-Rechte braucht */ .rootpre { background-color: #f9e3e3; border: 1px dotted red; padding: 0 1em; position: relative; } /* Linkfarben anpassen */ .rootpre a:link { color:#ff8080; } .rootpre a:visited { color:#ff8080; } .rootpre a:hover { color:#ff7070; } /* für [[Vorlage:Filepre]]: pre für Dateiinhalte etc. */ .filepre { background-color: #e3e6f9; padding: 0 1em; position: relative; } /* Linkfarben anpassen */ .filepre a:link { color:#80ff80; } .filepre a:visited { color:#80ff80; } .filepre a:hover { color:#70ff70; } /* pre-Stil für Bereiche, die wie ein pre hervorgehoben werden sollen, aber formatierten Wikitext enthalten */ .prestyle { border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; padding: 1em; } /* </pre> */