Difference between revisions of "MediaWiki:Common.css"
From EncyclopAtys
CeNobiteElf (talk | contribs) |
CeNobiteElf (talk | contribs) |
||
Line 1: | Line 1: | ||
β | /* CSS placed here will be applied to all skins * | + | /***** CSS placed here will be applied to all skins on the entire site. *****/ |
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | /* | + | /* Mark redirects in Special:Allpages and Special:Watchlist */ |
β | . | + | .allpagesredirect { |
β | { | + | font-style: italic; |
+ | } | ||
+ | .allpagesredirect:after { | ||
+ | color: #808080; content: " (redirect)" | ||
+ | } | ||
+ | .watchlistredir { | ||
+ | font-style: italic; | ||
+ | } | ||
β | /* | + | /* Giving headers and TOC a little extra space */ |
β | + | h2 { | |
β | + | margin-top: 20px; | |
β | . | + | } |
β | { | + | .toc { |
β | + | margin-top: 20px; | |
β | + | } | |
+ | /* Infobox template style */ | ||
+ | .infobox { | ||
+ | border: 1px solid #aaaaaa; | ||
+ | background-color: #f9f9f9; | ||
+ | color: black; | ||
+ | margin-bottom: 0.5em; | ||
+ | margin-left: 1em; | ||
+ | padding: 0.2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | } | ||
+ | .infobox td, | ||
+ | .infobox th { | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | .infobox caption { | ||
+ | font-size: larger; | ||
+ | margin-left: inherit; | ||
+ | } | ||
+ | .infobox.bordered { | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | .infobox.bordered td, | ||
+ | .infobox.bordered th { | ||
+ | border: 1px solid #aaaaaa; | ||
+ | } | ||
+ | .infobox.bordered .borderless td, | ||
+ | .infobox.bordered .borderless th { | ||
+ | border: 0; | ||
+ | } | ||
β | /* | + | /* Forum formatting (by -Algorithm & -Splaka) */ |
β | + | .forumheader { | |
β | + | border: 1px solid #aaa; | |
β | + | margin-top: 1em; | |
β | + | padding: 12px; | |
β | + | } | |
β | + | .forumlist td.forum_edited a { | |
β | + | color: black; | |
β | + | text-decoration: none; | |
β | + | } | |
β | + | .forumlist td.forum_title a { | |
β | + | padding-left: 20px; | |
β | + | } | |
β | + | .forumlist td.forum_title a.forum_new { | |
β | + | font-weight: bold; | |
β | + | background: url(/images/4/4e/Forum_new.gif) center left no-repeat; | |
β | + | padding-left: 20px; | |
β | + | } | |
+ | .forumlist td.forum_title a.forum_new:visited { | ||
+ | font-weight: normal; | ||
+ | background: none; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | .forumlist th.forum_title { | ||
+ | padding-left: 20px; | ||
+ | } | ||
β | + | /* Recent changes byte indicators */ | |
β | + | .mw-plusminus-pos { | |
β | + | color: #006500; | |
β | + | } | |
β | + | .mw-plusminus-neg { | |
β | + | color: #8B0000; | |
β | { | + | } |
β | |||
β | |||
β | |||
β | |||
β | /* | + | /* Image frame fix */ |
β | . | + | div.tright, div.tleft { |
β | + | border: 1px solid silver; | |
β | + | } | |
β | |||
+ | div.thumbinner { | ||
+ | background: inherit; | ||
+ | border: none; | ||
+ | color: inherit; | ||
+ | } | ||
+ | #article div.thumb { | ||
+ | color:inherit; | ||
+ | } | ||
+ | /* === Babel === */ | ||
β | + | div.babelbox { | |
β | + | float: right; | |
β | + | margin-left: 1em; | |
β | + | margin-bottom: 0.5em; | |
β | + | width: 246px; | |
β | + | border: 1px solid #99B3FF; | |
β | { | + | padding: 2px 0 2px 0; |
+ | } | ||
+ | .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 { | ||
+ | margin: 2px 4px 2px 4px; /* t, l, b, r */ | ||
+ | width:238px; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 { | ||
+ | text-align:center; | ||
+ | font-size:14pt; | ||
+ | width:45px; | ||
+ | height:45px; | ||
+ | } | ||
+ | td.lang-descriptionN, td.lang-description0, td.lang-description1, | ||
+ | td.lang-description2, td.lang-description3 { | ||
+ | font-size:8pt; | ||
+ | padding:4pt; | ||
+ | line-height:1.25em; | ||
+ | } | ||
β | + | .lang-block0 { | |
β | + | border:1px solid #FFB3B3; | |
β | + | } | |
β | + | td.lang-code0 { | |
β | + | background-color: #FFB3B3; | |
+ | color: black; | ||
+ | } | ||
+ | td.lang-description0 { | ||
+ | background-color: #FFE0E8; | ||
+ | color: black; | ||
+ | } | ||
β | + | .lang-block1, .lang-block2, .lang-block3 { | |
β | + | border:1px solid #99B3FF; | |
β | + | } | |
β | + | td.lang-code1, td.lang-code2, td.lang-code3 { | |
β | + | background-color: #99B3FF; | |
+ | color: black; | ||
+ | } | ||
+ | td.lang-description1, td.lang-description2, td.lang-description3 { | ||
+ | background-color: #E0E8FF; | ||
+ | color: black; | ||
+ | } | ||
β | + | .lang-blockN { | |
β | + | border:1px solid #6EF7A7; | |
β | + | } | |
β | + | td.lang-codeN { | |
β | { | + | background-color: #6EF7A7; |
β | + | color: black; | |
β | + | } | |
β | + | td.lang-descriptionN { | |
β | + | background-color: #C5FCDC; | |
β | + | color: black; | |
β | + | } | |
β | |||
β | |||
β | |||
β | |||
β | |||
β | { | ||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β |
Revision as of 12:24, 14 November 2009
/***** CSS placed here will be applied to all skins on the entire site. *****/
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
/* Giving headers and TOC a little extra space */
h2 {
margin-top: 20px;
}
.toc {
margin-top: 20px;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
border: 1px solid #aaa;
margin-top: 1em;
padding: 12px;
}
.forumlist td.forum_edited a {
color: black;
text-decoration: none;
}
.forumlist td.forum_title a {
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
font-weight: bold;
background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
font-weight: normal;
background: none;
padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* Recent changes byte indicators */
.mw-plusminus-pos {
color: #006500;
}
.mw-plusminus-neg {
color: #8B0000;
}
/* Image frame fix */
div.tright, div.tleft {
border: 1px solid silver;
}
div.thumbinner {
background: inherit;
border: none;
color: inherit;
}
#article div.thumb {
color:inherit;
}
/* === Babel === */
div.babelbox {
float: right;
margin-left: 1em;
margin-bottom: 0.5em;
width: 246px;
border: 1px solid #99B3FF;
padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
margin: 2px 4px 2px 4px; /* t, l, b, r */
width:238px;
border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
text-align:center;
font-size:14pt;
width:45px;
height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
font-size:8pt;
padding:4pt;
line-height:1.25em;
}
.lang-block0 {
border:1px solid #FFB3B3;
}
td.lang-code0 {
background-color: #FFB3B3;
color: black;
}
td.lang-description0 {
background-color: #FFE0E8;
color: black;
}
.lang-block1, .lang-block2, .lang-block3 {
border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
background-color: #99B3FF;
color: black;
}
td.lang-description1, td.lang-description2, td.lang-description3 {
background-color: #E0E8FF;
color: black;
}
.lang-blockN {
border:1px solid #6EF7A7;
}
td.lang-codeN {
background-color: #6EF7A7;
color: black;
}
td.lang-descriptionN {
background-color: #C5FCDC;
color: black;
}