MediaWiki talk:Common.js

Archiving OblivioWiki
/***** CSS placed here will be applied to all skins on the entire site. *****/

/* rounded corners - Mozilla/Firefox only */ .pBody { padding: 0.1em 0.1em; -moz-border-radius-topright: 0.5em; -moz-border-radius-bottomright: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; }

-moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; }
 * 1) p-cactions ul li, #p-cactions ul li a {

-moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em; -moz-border-radius-bottomleft: 0.5em; -moz-border-radius-bottomright: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; -webkit-border-radius-bottomright:0.5em; -webkit-border-radius-bottomleft:0.5em; }
 * 1) content, #catlinks, .toc, h4.mw-specialpagesgroup {

/* Display text below main article header, located at MediaWiki:tagline */ display: inline; font-size: 92%; font-weight: bold; font-style: italic; color: #01459A; }
 * 1) siteSub {

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .watchlistredir { font-style: italic; }

/* Special pages headings */ h4.mw-specialpagesgroup { padding: 0 .5em 0 .5em; border: gray solid 1px; }

/* Giving headers and TOC a little extra space */ h2 { margin-top: 20px; } .toc { margin-top: 20px; }

/* Overflow */ pre, h1, h2, h3, h4, h5, h6 { overflow:auto; }

/* 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; }

/* User message */ .usermessage, .usermessage plainlinks { -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em; -moz-border-radius-bottomleft: 0.5em; -moz-border-radius-bottomright: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; -webkit-border-radius-bottomright:0.5em; -webkit-border-radius-bottomleft:0.5em; }

/* 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.thumb { margin: 2px; margin-left: 6px; }

div.thumbinner { background: inherit; border: none; }  color:inherit; }
 * 1) article div.thumb {

/* wikitable/prettytable class for skinning normal tables */

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; font-weight: bold; }

/* === 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; }

/* TabView extension */

/*set the base backcolor of the 'off' tabs */ .yui-navset .yui-nav li { -moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; background-color: #D4DEE8; padding-left: 10px; padding-right: 10px; }

/* Put a checker background at the image description page only visible if the image has transparent background */ background: url("http://images3.wikia.nocookie.net/tesfanon/images/5/5d/Checker-16x16.png") repeat; }
 * 1) file img {

/*set the background color of the content and the 'on' tab the same*/ .yui-content, .yui-navset .yui-nav li.selected { background-color: #E7F2FF; }

/** style the 'on' tab **/ .yui-navset .yui-nav .selected { -moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; font-weight: bold; border-style: solid; border-width: 2px 0 0 0; border-top-color: #E7F2FF; }

/* Hover inactive tabs */ .yui-nav li:hover { -moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; font-weight: bold; border-style: solid; border-width: 2px 0 0 0; border-top-color: #A3B3FF; background-color: #A3B3FF; }

/* keep the side padding, but enforce no gap between content area and tabs */ .yui-content { -moz-border-radius-topright: 0.5em; -moz-border-radius-bottomleft: 0.5em; -moz-border-radius-bottomright: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-bottomright:0.5em; -webkit-border-radius-bottomleft:0.5em; margin-top: 0; padding-top: 0.25em; padding-left: 0.5em; padding-right: 0.5em; }

/* Tabs */ .activetab { -moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; font-weight: bold; border-style: solid; border-width: 2px 0 0 0; background-color: #E7F2FF; border-top-color: #E7F2FF; padding-left: 10px; padding-right: 10px; } .inactivetab { -moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; background-color: #D4DEE8; padding-left: 10px; padding-right: 10px; } .inactivetab:hover { -moz-border-radius-topright: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-radius-topright:0.5em; -webkit-border-radius-topleft:0.5em; font-weight: bold; border-style: solid; border-width: 2px 0 0 0; border-top-color: #A3B3FF; background-color: #A3B3FF; }