MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
imported>Huston New page: →* CSS placed here will be applied to all skins: →* Trying this to get some Wikipedia-like stuff here: →Messagebox templates: .messagebox { border: 1px solid #aaa; backg... |
imported>Huston mNo edit summary |
||
| (12 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/ | /* CSS placed here will be applied to all skins */ | ||
/* | |||
/ | <pre> | ||
*/ | |||
/* Trying this to get some Wikipedia-like stuff here */ | |||
/* Messagebox templates */ | /* Messagebox templates */ | ||
.messagebox { | .messagebox { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
| Line 41: | Line 41: | ||
background: #F8EABA; | background: #F8EABA; | ||
} | } | ||
/* Get rid of the title on the main page */ | |||
body.page-Main_Page h1.firstHeading { display:none; } | |||
/* wikitable/prettytable class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td { | |||
border: 1px #aaa solid; | |||
padding: 0.2em; | |||
} | |||
table.wikitable th, | |||
table.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
table.wikitable caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | |||
/* | |||
</pre> | |||
*/ | |||
Latest revision as of 17:05, 17 July 2007
/* CSS placed here will be applied to all skins */
/*
<pre>
*/
/* Trying this to get some Wikipedia-like stuff here */
/* Messagebox templates */
.messagebox {
border: 1px solid #aaa;
background-color: #f9f9f9;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 4px 2px 4px;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #F8EABA;
}
/* Get rid of the title on the main page */
body.page-Main_Page h1.firstHeading { display:none; }
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/*
</pre>
*/