MediaWiki Diskussion:Common.css
Einträge für Wikinews:CommonsTicker[Bearbeiten]
/* CommonsTicker styles */
.tickerList ul, .tickerList ul li { list-style: none; text-indent:-2em; margin-left:2em; text-align:left; } .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0; margin-left:1.5em; text-align:left; }
.tickerAction_deleted:before { content:" WEG "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_replaced:before { content:" ERS "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_addedTag:before { content:" +LA "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_removedTag:before { content:" -LA "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_addedBad:before { content:" +LA "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_removedBad:before { content:" -LA "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_addedGood:before { content:" +OK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_removedGood:before { content:" -OK "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerUsage { font-size:80%; } /* ticker usage list */ .tickerTemplateEntry { font-weight: bold; } /* entry applies to a template used by multiple images */
da Pete (ばか) 16:01, 18. Jun. 2006 (CEST)
Einträge statt Vorlage:Prettytable[Bearbeiten]
Ich wollte schon länger mal vorschlagen, die Formatierung für Tabellen über Vorlage:Prettytable hierher zu verschieben. Ich schlage also vor, folgendes hinzuzufügen:
/* Tabellenformate */
/* Eigentliche Tabelle */ .tabelle { spacing: 0; margin: 1em 1em 1em 0; border: 1px solid #AAAAAA; border-collapse: collapse; background: #F9F9F9; font-size:95%; empty-cells: show; } /* Einzelne Zellen */ .tabelle th, .tabelle td { padding:1ex 1ex 0.5ex 0.5ex; border: 1px solid #AAAAAA; } /* Rechts ausgerichtet */ .tabelleRechts { margin: 1em 0 1em 1em; float: right; clear: right; } /* Links ausgerichtet */ .tabelleLinks { margin: 0 1em 1em 1em; float: left; clear: left; }
100% hab ich noch nicht getestet, dass damit die gleiche Optik wie bisher durch Vorlage:Prettytable entstehen würde, aber grob stimmt es ganz sicher, und ich teste natürlich vorher. —da Pete (ばか) 14:46, 7. Nov. 2006 (CET)
- Ups, das war nicht ganz richtig. So ist es besser. korr. —da Pete (ばか) 08:12, 8. Nov. 2006 (CET)
Neue Tabellenklassen[Bearbeiten]
Bitte unter Tabellenformate hinzufügen! Danke! --Daniel749 Disk. 10:56, 15. Jun. 2013 (CEST)
/* Hover-Effekte für Tabellen */
table.hovertr tr:hover { background: #FFCC66; } /* nicht ohne Hintergrundfarben */
tr.grau-hover { background: #EFEFEF }
tr.grau-hover:hover { background: #FFCC66; }
tr.weiß-hover { background:#FFFFFF }
tr.weiß-hover:hover { background: #FFCC66; }
- Und was macht das jetzt? Sind das nur aliasdefinitionen für Farben? Oder wo kann man den Effekt anschauen? --Itu (Diskussion) 18:57, 15. Jun. 2013 (CEST)
- Die Effekte sind jetzt in den Vorlagen Wechselkurse und Börsenindizes zu sehen. Jetzt müsste nur noch die Aktualisierung beider Vorlagen durch den Bot übernommen werden. Gruß --Daniel749 Disk. 23:54, 15. Jun. 2013 (CEST)