MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(add "-moz-border-radius: 1em;" to mbox-inside, standard-talk) |
(+ a few more...) |
||
Line 6: | Line 6: | ||
.messagebox { | .messagebox { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
-moz-border-radius: 1em; | |||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
width: 80%; | width: 80%; | ||
margin: 0 auto 1em auto; | margin: 0 auto 1em auto; | ||
padding: .2em; | padding: .2em; | ||
Line 14: | Line 14: | ||
.messagebox.merge { | .messagebox.merge { | ||
border: 1px solid #c0b8cc; | border: 1px solid #c0b8cc; | ||
-moz-border-radius: 1em; | |||
background-color: #f0e5ff; | background-color: #f0e5ff; | ||
text-align: center; | text-align: center; | ||
Line 19: | Line 20: | ||
.messagebox.cleanup { | .messagebox.cleanup { | ||
border: 1px solid #9f9fff; | border: 1px solid #9f9fff; | ||
-moz-border-radius: 1em; | |||
background-color: #efefff; | background-color: #efefff; | ||
text-align: center; | text-align: center; | ||
Line 24: | Line 26: | ||
.messagebox.standard-talk { | .messagebox.standard-talk { | ||
border: 1px solid #c0c090; | border: 1px solid #c0c090; | ||
-moz-border-radius: 1em; | |||
background-color: #f8eaba; | background-color: #f8eaba; | ||
margin: 4px auto; | margin: 4px auto; | ||
Line 30: | Line 33: | ||
.messagebox.nested-talk { | .messagebox.nested-talk { | ||
border: 1px solid #c0c090; | border: 1px solid #c0c090; | ||
-moz-border-radius: 1em; | |||
background-color: #f8eaba; | background-color: #f8eaba; | ||
width: 100%; | width: 100%; | ||
margin: 2px 0; | margin: 2px 0; |
Revision as of 21:30, 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;
-moz-border-radius: 1em;
background-color: #f9f9f9;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
-moz-border-radius: 1em;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
-moz-border-radius: 1em;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
-moz-border-radius: 1em;
background-color: #f8eaba;
margin: 4px auto;
}
.mbox-inside .standard-talk,
.messagebox.nested-talk {
border: 1px solid #c0c090;
-moz-border-radius: 1em;
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; }