MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(CSS for thumbnails on blog (linked to this CSS)) |
(+ zemanta-img) |
||
Line 125: | Line 125: | ||
} | } | ||
.wp-caption { | .wp-caption .zemanta-img { | ||
border: 1px solid #ddd; | border: 1px solid #ddd; | ||
text-align: center; | text-align: center; |
Revision as of 23:34, 16 August 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; }
body.page-Main_Page #ca-delete { display: none !important; }
.alignright
{
float: right;
}
.alignleft
{
float: left;
}
.wp-caption .zemanta-img {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
font-size: 90%;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption-dd {
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}