MediaWiki:Common.css: differenze tra le versioni
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 64: | Riga 64: | ||
/* default for all content namespaces */ | /* default for all content namespaces */ | ||
.messagebox + .messagebox { border-top-width:0em; margin-top:-1px; } | |||
.messagebox { border-left-color:#1e90ff; border-left-width:10px; } | |||
.messagebox.notice { border-left-color:#1e90ff; } | |||
.messagebox.warning { border-left-color:#b22222; } | |||
.messagebox.serious { border-left-color:#b22222; } | |||
.messagebox.content { border-left-color:#f28500; } | |||
.messagebox.style { border-left-color:#f4c430; } | |||
.messagebox.merge { border-left-color:#9932cc; } | |||
.messagebox.growth { border-left-color:#228b22; } | |||
.messagebox.idea { border-left-color:yellow; } | |||
.messagebox.query { border-left-color:#ffb734; } | |||
.messagebox.move { border-left-color:#9932cc; } | |||
/* image namespace */ | /* image namespace */ | ||
.messagebox + .messagebox { border-top-width:2px; margin-top:0.5em; } | |||
.messagebox { border-color:#1e90ff; border-bottom-width:5px; border-left-width:2px;} | |||
.messagebox.notice { border-color:#1e90ff; } | |||
.messagebox.warning { border-color:#b22222; } | |||
.messagebox.serious { border-color:#b22222; } | |||
.messagebox.content { border-color:#f28500; } | |||
.messagebox.query { border-color:#ffb734; } | |||
.messagebox.free { border-color:#79CC55; } | |||
.messagebox.nonfree { border-color:#EF9132; } | |||
.messagebox.pd { border-color:#7E80A3; } | |||
.messagebox.move { border-color:#9932cc; } | |||
/* End of Common CSS skin </nowiki>*/ | /* End of Common CSS skin </nowiki>*/ |
Versione delle 22:15, 15 feb 2009
/*<nowiki> Common CSS for all skins - copy to your user CSS to change */ /*******************************/ /* wikitable/prettytable class */ /*******************************/ /* wikitable/prettytable class for skinning normal tables, but don't skin tables within tables by accident */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable>*>tr>th, table.wikitable>*>tr>td, table.wikitable>tr>th, table.wikitable>tr>td, table.prettytable>*>tr>th, table.prettytable>*>tr>td, table.prettytable>tr>th, table.prettytable>tr>td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable>*>tr>th, table.wikitable>tr>th, table.prettytable>*>tr>th, table.prettytable>tr>th { background: #ccccff; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } /************************/ /* CommonsTicker styles */ /************************/ /* Put a checker background at the image description page only visible if the image has transparent background */ #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;} /* Fix the background color on the sitenotice */ table#mw-dismissable-notice { background-color: transparent; } /* Default messagebox is gray */ .messagebox { width:90%; margin:0px auto; padding:0em; border:2px solid #aaaaaa; background:#fbfbfb; color:black; text-align:left; } .messagebox img { border:0em; padding:0em 0.5em; text-align:center; } /* default for all content namespaces */ .messagebox + .messagebox { border-top-width:0em; margin-top:-1px; } .messagebox { border-left-color:#1e90ff; border-left-width:10px; } .messagebox.notice { border-left-color:#1e90ff; } .messagebox.warning { border-left-color:#b22222; } .messagebox.serious { border-left-color:#b22222; } .messagebox.content { border-left-color:#f28500; } .messagebox.style { border-left-color:#f4c430; } .messagebox.merge { border-left-color:#9932cc; } .messagebox.growth { border-left-color:#228b22; } .messagebox.idea { border-left-color:yellow; } .messagebox.query { border-left-color:#ffb734; } .messagebox.move { border-left-color:#9932cc; } /* image namespace */ .messagebox + .messagebox { border-top-width:2px; margin-top:0.5em; } .messagebox { border-color:#1e90ff; border-bottom-width:5px; border-left-width:2px;} .messagebox.notice { border-color:#1e90ff; } .messagebox.warning { border-color:#b22222; } .messagebox.serious { border-color:#b22222; } .messagebox.content { border-color:#f28500; } .messagebox.query { border-color:#ffb734; } .messagebox.free { border-color:#79CC55; } .messagebox.nonfree { border-color:#EF9132; } .messagebox.pd { border-color:#7E80A3; } .messagebox.move { border-color:#9932cc; } /* End of Common CSS skin </nowiki>*/