MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(hide the main page title) |
(add "-moz-border-radius: 1em;" to messagebox) |
||
Line 8: | Line 8: | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
width: 80%; | width: 80%; | ||
-moz-border-radius: 1em; | |||
margin: 0 auto 1em auto; | margin: 0 auto 1em auto; | ||
padding: .2em; | padding: .2em; |
Revision as of 21:22, 12 June 2009
/* CSS placed here will be applied to all skins */
#f-copyrightico { display: none; };
/* Messagebox templates - CSS from http://en.wikipedia.org/w/index.php?oldid=266620825 */
.messagebox {
border: 1px solid #aaa;
background-color: #f9f9f9;
width: 80%;
-moz-border-radius: 1em;
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;
margin: 4px auto;
}
.mbox-inside .standard-talk,
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 0;
padding: 2px;
}
.messagebox.small {
width: 238px;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #F8EABA;
}
/*****
** Table formatting - from http://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.css&oldid=1350114
*****/
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;
}
/*****
** Sidebox formatting
*****/
table.sidebox,
table.sidebox {
margin:0.5em 0.5em 0.5em 1em;
background:#F9F9F9;
border:1px #AAA solid;
border-collapse:collapse;
float:right;
}
table.sidebox th, table.sidebox td,
table.sidebox th, table.sidebox td {
border:1px #AAA solid;
padding:0.2em;
}
table.sidebox th,
table.sidebox th {
background:#cfefcf;
text-align:center;
}
body.page-Main_Page h1.firstHeading { display:none; }