MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 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;
-moz-border-radius: 1em;
border-collapse:collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border:1px #AAA solid;
padding:0.2em;
-moz-border-radius: 1em;
}
table.wikitable th,
table.prettytable th {
background:#F2F2F2;
text-align:center;
-moz-border-radius: 1em;
}
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;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: left;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
div.thumb img.thumbimage {
background-color: #fff;
}
/* Minimum thumb width */
.thumbinner {
min-width: 100px;
}
/* for banner templates, for example Grants header & Cultural partnerships */
.mp-topbanner {
width:100%;
-moz-border-radius:1em;
-webkit-border-radius:1em;
border-radius:1em;
background:#fcfcfc;
border:1px solid #ccc;
font-size:95%;
text-align: center;
}
.mp-topbanner td {
font-size:95%;
text-align: center;
}
/* for Header1, Header2 & Header3 templates. */
.mp-h2 {
margin:0;
background:#cef2e0;
color:#000;
-moz-border-radius:1em;
-webkit-border-radius:1em;
border-radius:1em;
font-size:120%;
font-weight:bold;
border:1px solid #afa3bf;
text-align:center;
padding:0.2em 0.4em;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}