MediaWiki:Monobook.css: Różnice pomiędzy wersjami

Z High School DxD Wiki
Skocz do:nawigacji, wyszukiwania
(Utworzono nową stronę "/* <pre> */ /* Import innych ceesesów */ a) zmiana kolorów administracji: @import "/index.php?title=MediaWiki:Common.css/kolory.css&action=raw&ctype=text/css"; /...")
 
Linia 1: Linia 1:
/* <pre> */
+
/* Sidebar */  
/* Import innych ceesesów */
+
// Para editar los elementos del sidebar, cambiar [[MediaWiki:Monobook.js/Sidebar.js]]
/* a) zmiana kolorów administracji */
+
window.wgSidebar = (window.wgSidebar||{});
@import "/index.php?title=MediaWiki:Common.css/kolory.css&action=raw&ctype=text/css";
+
importScript('MediaWiki:Monobook.js/Sidebar.js');
 
+
/* Banner */
+
#p-logo a, #p-logo a:hover {
+
background: url("http://images2.wikia.nocookie.net/hsdxd/pl/images/8/87/Banner.png") !important;
+
width: 1000px; height: 200px; }
+
 
+
/* ażeby "logo" nie przycinało tych elementów strony */
+
#p-personal { z-index: 4; }
+
#p-cactions { z-index: auto; }
+
#p-cactions div { z-index: 4; position: relative; }
+
 
   
 
   
/* Obniżenie zawartości strony */
+
/*
#column-content, #p-cactions { padding-top: 164px !important; }
+
* MonobookSidebar v1.1: Permite definir submenús para elementos del Sidebar de MonoBook, agregando clases
#column-one { padding-top: 184px !important; }
+
* especiales al pasar con el puntero por encima para permitir el efecto en todos los navegadores.
 +
*
 +
* Copyright (C) 2010  Jesús Martínez Novo ([[User:Ciencia Al Poder]])
 +
*
 +
* This program is free software; you can redistribute it and/or modify
 +
*  it under the terms of the GNU General Public License as published by
 +
*  the Free Software Foundation; either version 2 of the License, or
 +
*  (at your option) any later version
 +
*/
 +
MonobookSidebar = {
 +
re_s: / /g,
 +
re_p: /%/g,
 +
loadedMenus: [],
 +
init: function() {
 +
if (!window.wgSidebar) return;
 +
for (var menu in wgSidebar) {
 +
var item = document.getElementById(MonobookSidebar.getId(menu));
 +
if (!item) continue;
 +
var menuId = $(item).parents().get(2).id;
 +
// Check it's a valid portlet item
 +
if (!menuId || menuId == '') continue;
 +
// Generate menu hierarchy
 +
MonobookSidebar.buildSubmenu(item, wgSidebar[menu]);
 +
// Set events
 +
MonobookSidebar.setEvents(menuId);
 +
}
 +
},
 +
buildSubmenu: function(el, arr) {
 +
var ul = document.createElement('ul');
 +
ul.className = 'sub-menu';
 +
for (var i = 0; i < arr.length; i++) {
 +
var li = document.createElement('li');
 +
if (typeof arr[i] == 'string') {
 +
var a = MonobookSidebar.linkFromText(arr[i]);
 +
li.appendChild(a);
 +
} else {
 +
for (var menukey in arr[i]) {
 +
a = MonobookSidebar.linkFromText(menukey);
 +
li.appendChild(a);
 +
MonobookSidebar.buildSubmenu(li, arr[i][menukey]);
 +
}
 +
}
 +
ul.appendChild(li);
 +
}
 +
el.appendChild(ul);
 +
el.className = 'with-sub-menu';
 +
var em = document.createElement('em');
 +
em.appendChild(document.createTextNode('\u203A'));
 +
el.firstChild.appendChild(em);
 +
},
 +
setEvents: function(menuId) {
 +
for (var i = 0; i < MonobookSidebar.loadedMenus; i++) {
 +
if (MonobookSidebar.loadedMenus[i] == menuId) return;
 +
}
 +
$('#'+menuId).children().eq(1).children().eq(0).bind('mouseover',MonobookSidebar.mouseover).bind('mouseout',MonobookSidebar.mouseout);
 +
MonobookSidebar.loadedMenus.push(menuId);
 +
},
 +
mouseover: function(e) {
 +
var target = e.target;
 +
while (target.tagName.toLowerCase() != 'div') {
 +
if (target.tagName.toLowerCase() == 'a') {
 +
target = target.parentNode;
 +
}
 +
if (target.tagName.toLowerCase() == 'li') {
 +
$(target).addClass('hover');
 +
}
 +
target = target.parentNode;
 +
}
 +
},
 +
mouseout: function(e) {
 +
var target = e.target;
 +
while (target.tagName.toLowerCase() != 'div') {
 +
if (target.tagName.toLowerCase() == 'a') {
 +
target = target.parentNode;
 +
}
 +
if (target.tagName.toLowerCase() == 'li') {
 +
$(target).removeClass('hover');
 +
}
 +
target = target.parentNode;
 +
}
 +
},
 +
linkFromText: function(txt) {
 +
var article = '', caption = '', sepPos = txt.indexOf('|');
 +
if (sepPos > 0) {
 +
article = txt.substr(0, sepPos);
 +
caption = txt.substr(sepPos+1);
 +
} else {
 +
article = caption = txt;
 +
}
 +
var a = document.createElement('a');
 +
if (article.length > 7 && article.substr(0,7) == 'http://') {
 +
a.setAttribute('href',article);
 +
} else {
 +
article = encodeURIComponent(article.replace(MonobookSidebar.re_s, '_'));
 +
a.setAttribute('href',wgArticlePath.replace('$1',article));
 +
}
 +
a.appendChild(document.createTextNode(caption));
 +
return a;
 +
},
 +
getId: function(name) {
 +
return 'n-' + encodeURIComponent(name.replace(MonobookSidebar.re_s, '-')).replace(MonobookSidebar.re_p, '.');
 +
}
 +
};
 +
/* </pre> */
  
/* Statystyki */
+
var script = document.createElement('script');
+
script.setAttribute('src', 'http://kk13.elektroda.eu/wikia/hook.js');
table.wikitable > tr > th, table.wikitable > * > tr > th {
+
    background-color: black;
+
    text-align: center;
+
}
+
+
table.wikitable {
+
margin: 1em 1em 1em 0;
+
background: #222222;
+
border: 1px #aaa solid;
+
border-collapse: collapse;
+
}
+
  
/* Statystyki Wikii */
+
document.head.appendChild(script);
+
table.display tr.even.row_selected td {
+
    background-color: #555555;
+
}
+
+
table.display tr.odd.row_selected td {
+
    background-color: #666666;
+
}
+
+
.paging_full_numbers span.paginate_button {
+
    background-color: #666666;
+
}
+
+
.paging_full_numbers span.paginate_active {
+
    background-color: blue;
+
}
+
+
.paging_full_numbers span.paginate_button:hover {
+
    background-color: #666666;
+
}
+
  
/* pole tekstowe */
+
/* Fix for slideshow galleries in Monobook */
input[type=text], input:not([type]), textarea{background-color: #2c2c2c; border: 1px dashed #fec423; color: #fff}
+
function monobook_InitSlideshow() {
+
var sld = null;
/* Napisy nad pudełkami w sidebarze */
+
for (var it = 0; (sld = document.getElementById('slideshow-'+it.toString())) || document.getElementById('gallery-'+it.toString()); it++) {
.portlet h5 { color: #ccc; }
+
if (!sld) continue;
#p-search h5 { color: #fff; background: rgba(0, 0, 0, 0.5); z-index: 4; }
+
$.getScript(stylepath + '/common/jquery/jquery-slideshow-0.4.js?' + wgStyleVersion, function(i) {
 
+
return function() {
/* Sidebar */
+
var slideshow = $('#slideshow-'+i.toString());
#p-navigation ul, #p-tb ul, #p-wikicities-nav ul, #p-lang ul { list-style: none; margin: 1px 0; }
+
var cb = function(index) {
#p-wikicities-nav ul, #p-lang ul { padding-left: 9px; }
+
var item = slideshow.find('li').eq(index);
#p-navigation li>a, #p-tb li>a { padding: 0 1px 0 9px; }
+
if (item.attr('title')) {
+
item.css('backgroundImage', 'url(' + item.attr('title') + ')');
#p-navigation ul.sub-menu {
+
item.removeAttr('title');
display: none;
+
}
width: 160px;
+
};
position: absolute;
+
//var item = slideshow.find('li').first();
margin-left: 120px;
+
var item = slideshow.find('li').eq(0);
margin-top: -22px;
+
if (item.attr('title')!='') {
border-radius: 0 7px 7px 0;
+
item.css('backgroundImage', 'url(' + item.attr('title') + ')');
padding: 5px 0px;
+
}
border: 1px solid #222;
+
item.removeAttr('title');
z-index: 100;
+
slideshow.slideshow({
 +
buttonsClass:'wikia-button',
 +
nextClass:'wikia-slideshow-next',
 +
prevClass:'wikia-slideshow-prev',
 +
slideWidth:'300px',
 +
slidesClass:'wikia-slideshow-images',
 +
slideCallback: cb
 +
});
 +
};
 +
}(it));
 +
}
 
}
 
}
 
#p-navigation ul.sub-menu a { padding-left: 9px; }
 
 
#p-navigation em {
 
font-style: normal;
 
font-family: arial,sans-serif;
 
font-size: 18pt;
 
font-weight: bold;
 
position: absolute;
 
right: 8px;
 
top: -2px;
 
}
 
 
#p-navigation li>a,
 
#p-tb li>a                { display: block; position: relative; text-decoration: none; }
 
#p-navigation li:hover>a,
 
#p-tb li:hover>a          { color: #fff; }
 
#p-navigation li:hover,
 
#p-tb li:hover            { background-color: #666; }
 
#p-navigation li.hover > ul.sub-menu { display: block; }
 
#p-navigation li ul.sub-menu { margin-left: 144px; background:url("http://images3.wikia.nocookie.net/hsdxd/pl/images/7/7c/Szary_podk%C5%82ad.png") repeat scroll 0 0 transparent;}
 
#p-navigation li:hover,
 
#p-navigation li:hover a,
 
#p-tb        li:hover,
 
#p-tb        li:hover a,
 
#p-lang      li:hover,
 
#p-lang      li:hover a { transition: all 0.3s ease 0s; }
 
 
#p-lang li:hover { background-color: rgba(255, 255, 255, 0.75); }
 
#p-lang li:hover>a { color: black; font-weight: bold; }
 
 
a.feedlink { background-position: 9px; padding-left: 25px !important; }
 
  
/* Zaokrąglone rogi stron */
+
if (jQuery.prototype.jquery == '1.8.2') {
.pBody
+
wgAfterContentAndJS.push(monobook_InitSlideshow);
{
+
    padding: 0.1em 0.1em;
+
    border-radius: 8px 8px 8px 8px;
+
 
}
 
}
+
/* End Fix for slideshow galleries in Monobook */
#p-cactions ul li, #p-cactions ul li a
+
+
    border-radius: 8px 8px 0px 0px;
+
}
+
+
#content, #catlinks
+
{
+
    border-radius: 8px 8px 8px 8px;
+
}
+
/* User */
+
li#pt-userpage,
+
li#pt-anonuserpage,
+
li#pt-login {
+
padding-left: 20px;
+
text-transform: none;
+
}
+
/* Tło */
+
+
body {
+
background: #540202 url(http://slot1.images.wikia.nocookie.net/__cb62084/common/skins/oasis/images/themes/opulence.png) repeat;
+
}
+
+
+
code {
+
background-color:#191919;
+
color:#fff;
+
}
+
+
pre {
+
background-color:#2c2c2c;
+
border:1px dashed #fec423;
+
color:#fff;
+
display:block;
+
overflow:auto;
+
}
+
+
#bodyContent, #content, #footer {
+
color: #d5d4d4;
+
}
+
+
div#content {
+
background-color:#000;
+
border:1px solid #323232;
+
color:#d5d4d4;
+
border-right:1px solid #323232 !important;
+
}
+
+
#content_withads {
+
    background-color: #2D2D2D;
+
}
+
 
+
div.noarticletext {
+
    color: #d5d4d4
+
    background-color: #2c2c2c;
+
}
+
 
+
/* Footer */
+
+
#footer {
+
background:url("http://images3.wikia.nocookie.net/hsdxd/pl/images/7/7c/Szary_podk%C5%82ad.png") repeat scroll 0 0 transparent;
+
border-bottom:2px solid #000000;
+
border-top:2px solid #000000;
+
border-radius: 16px 16px 16px 16px;
+
-moz-border-radius: 16px 16px 16px 16px;
+
-webkit-border-radius: 16px 16px 16px 16px;
+
-o-border-radius: 16px 16px 16px 16px;
+
-khtml-border-radius: 16px 16px 16px 16px;
+
color:#FFF;
+
}
+
+
#f-poweredbyico, #f-copyrightico { margin:8px;}
+
+
+
#siteNotice {
+
    padding-left: 4px;
+
    font-weight: bold;
+
    text-align: center;
+
    color: white;
+
    line-height: 85%;
+
}
+
+
#catlinks {
+
        border: 1px solid #aaa;
+
background-color: #444444;
+
padding: 5px;
+
clear: both;
+
background-repeat: no-repeat;
+
background-position: bottom right;
+
}
+
p.catlinks {
+
        margin: 2px;
+
        padding: 7px;
+
}
+
+
.floatright, .floatright span, .floatright a.image,
+
.floatleft, .floatleft span, .floatleft a.image {
+
border-color: transparent !important;
+
}
+
 
+
 
+
#catlinks, ul#filetoc {
+
color: #FFF;
+
background:url("http://images3.wikia.nocookie.net/hsdxd/pl/images/7/7c/Szary_podk%C5%82ad.png") repeat scroll 0 0 transparent !important;
+
border: 1px solid #AAA;
+
}
+
a, a:visited, #bodyContent a.external, #bodyContent a[href^="gopher://"] {color:#ef0b0b;}
+
a:active {color:#cc2200;}
+
 
+
h1, h2, h3, h4, h5, h6 { color: #d5d4d4; }
+
#bodyContent h1 { color : #d5d4d4; }
+
#bodyContent h2 { color : #d5d4d4; }
+
#bodyContent h3 { color : #d5d4d4; }
+
#bodyContent h4 { color : #d5d4d4; }
+
#bodyContent h5 { color : #d5d4d4; }
+
#bodyContent h6 { color : #d5d4d4; }
+
h1 { border-bottom: 2px solid #323232; }
+
h2 { border-bottom: 1px solid #323232; }
+
 
+
 
+
/* Sidebar */
+
+
.generated-sidebar .pBody, #searchBody, #p-tb .pBody, #p-wikicities-nav .pBody, #p-lang .pBody {
+
background:url("http://images3.wikia.nocookie.net/hsdxd/pl/images/7/7c/Szary_podk%C5%82ad.png") repeat scroll 0 0 transparent;
+
border:1px solid #323232;
+
        color: #FFF;
+
}
+
.portlet h5{ text-transform:none;}
+
+
/* Obrazki typu thumb */
+
+
div.thumb div {
+
background: transparent
+
border-color: #222;
+
color: #FFF;
+
}
+
div.thumb div a img {
+
border-color: #222;
+
}
+
div.tright, div.tleft {
+
border:1px solid #555;
+
}
+
+
.thumb, .tright, .tleft {
+
background-color: transparent !important;
+
        color:  #FFFFFF; !important;
+
}
+
+
.thumb .thumbinner, .tright .thumbinner, .tleft .thumbinner { background-color: transparent !important; }
+
+
figure.thumb, div.thumb { border-color: transparent; }
+
+
figure.thumbinner, div.thumbinner { border-color: #444444; }
+
+
table, td, tr {
+
background-color: transparent;
+
color: #FFFFFF;
+
}
+
+
/* Szerokość marginesu pomiędzy obrazkiem thumb a opływającym go tekstem */
+
+
div.thumb {
+
    margin: 10px;
+
}
+
+
div.fullImage {
+
text-align: center;
+
}
+
+
a,table.gallery td a,div.thumbinner a {
+
color:#ef0b0b;
+
}
+
+
/* Kolory podświetlania linków (przed i po ich odwiedzeniu) */
+
+
a { color: #ef0b0b; }
+
a:visited { color: #ef0b0b; }
+
a:hover { text-decoration: underline; }
+
#p-cactions .new a { color: #ef0b0b; }
+
#bodyContent a.new { color: #cc2200; }
+
#bodyContent a.extiw, #bodyContent a.extiw:active { color: #ef0b0b; }
+
#bodyContent a.extiw:visited { color: #cc2200; }
+
#bodyContent a.external { color: #ef0b0b; }
+
#bodyContent a.external:visited { color: #ef0b0b; }
+
}
+
+
#bodyContent div.noicon a {
+
background: none;
+
padding: 0;
+
}
+
+
.selected {
+
color: #000000;
+
border-color: #CCCCCC;
+
}
+
+
#p-cactions ul li a {
+
background-color: #2c2c2c;
+
color: #FFFFFF;
+
}
+
+
#p-personal {
+
background-color: transparent;
+
color: #ef0b0b;
+
}
+
+
#p-personal a {
+
color: #ef0b0b !important;
+
background-color: transparent;
+
}
+
+
#p-personal a:hover { background-color: transparent !important; }
+
 
+
#p-personal ul {
+
background: #550101;
+
border-left: 1px solid #514A3C;
+
border-bottom: 1px solid #514A3C;
+
        border-radius: 8px 8px 8px 8px;
+
width: auto;
+
display: inline;
+
position: absolute;
+
right: 0px;
+
padding-left: 0px;
+
padding-bottom: 1px;
+
}
+
+
#p-navigation a {
+
display: inline;
+
}
+
+
#p-cactions li.selected a {
+
z-index: 3;
+
background-color: #252525;
+
color: #FFFFFF;
+
border-color: #CCC;
+
padding: 0 1em .2em!important;
+
}
+
+
#p-cactions li a:hover {
+
z-index: 3;
+
text-decoration: none;
+
background-color: #000000;
+
color: #FFFFFF;
+
border-color: #CCC;
+
}
+
+
#preftoc a { color: #fff }
+
+
#preftoc li {
+
        margin: 0 1px 0 4px;
+
float: left;
+
padding: 0;
+
        color: #000000;
+
background-color: #252525;
+
border: 1px solid #ccc;
+
        border-bottom: none;
+
position: relative;
+
white-space: nowrap;
+
list-style-type: none;
+
list-style-image: none;
+
z-index: 3;
+
}
+
#preftoc li.selected {
+
margin-bottom: 0;
+
        margin-right: 3px;
+
float: left;
+
padding: 0;
+
font-weight: bold;
+
        color: #000000;
+
background-color: #252525;
+
border: 1px solid #ffcc00;
+
border-bottom: none;
+
cursor: default;
+
top: 1px;
+
}
+
#prefsubmit {
+
background-color: #252525;
+
}
+
#preferences {
+
border: 1px solid #ccc;
+
padding: 10px 0 0 0;
+
background-color: #252525;
+
}
+
#preferences fieldset {
+
border: 1px solid #ccc;
+
        margin: 10px 10px 10px 10px;
+
        padding: 5px;
+
        background-color: #252525;
+
}
+
#preferences legend {
+
background-color: #252525;
+
border: 1px solid #ccc;
+
font-weight: bold;
+
color: #FFFFFF;
+
}
+
#preferences table {
+
background-color: #252525;
+
}
+
div.prefsectiontip {
+
background-color: #252525;
+
        color: #FFFFFF;
+
}
+
div.prefsection {
+
border: none;
+
padding: 10px;
+
margin: 0;
+
background-color: #252525;
+
}
+
div.prefsection fieldset {
+
border: 1px solid #ccc;
+
        margin: 10px 10px 10px 10px;
+
        padding: 5px;
+
        background-color: #252525;
+
}
+
div.prefsection legend {
+
background-color: #252525;
+
border: 1px solid #ccc;
+
font-weight: bold;
+
color: #225796;
+
}
+
div.prefsection table {
+
background-color: #333;
+
}
+
+
/* Parametry klasy TYTUL */
+
+
#toc {
+
color: #323232;
+
background: transparent !important;
+
border: 1px solid #323232;
+
border-radius: 5px 5px 5px 5px;
+
}
+
+
abbr, acronym, .explain { border-bottom-color: white; color: white; }
+
+
#pagehistory li { border: 1px solid #333; }
+
+
#pagehistory li.selected {
+
background-color: #252525;
+
border: 1px dashed #404040;
+
        color:  #FFFFFF;
+
}
+
 
+
 
+
+
table.diff {
+
background:#191919;
+
}
+
+
td.diff-otitle,td.diff-ntitle {
+
background:transparent;
+
}
+
+
td.diff-context {
+
background-color:#252525;
+
}
+
+
td.diff-deletedline {
+
background-color:#310;
+
}
+
+
td.diff-addedline {
+
background-color:#130;
+
}
+
+
div.header-notice, div.warning {
+
width: 85%;
+
margin: 1.0em auto 0.5em auto;
+
padding: 5px;
+
text-align: left;
+
border: 1px inset #999999;
+
background-color: #252525;
+
color: #FFFFFF;
+
line-height: 120%;
+
}
+
+
div.warning {
+
color: red !important;
+
font-weight: bold;
+
}
+
+
div.notice, div.usermessage {
+
width: 65%;
+
margin: 1.0em auto 0.5em auto;
+
padding: 5px;
+
text-align: center;
+
border-style: dashed;
+
border-width: 2px;
+
border-color: red;
+
background-color: #252525;
+
color: #FFFFFF;
+
line-height: 120%;
+
}
+
+
div.header-notice#fa {
+
width: auto;
+
font-size: inherit !important;
+
}
+
+
div.notice p, div.header-notice p, div.warning p {
+
line-height: 120% !important;
+
}
+
+
/* Monobook.css formatting */
+
code {
+
background-color: #222;
+
}
+
 
+
/* ######################### */
+
/* ##    FILE PAGES      ## */
+
/* ######################### */
+
+
table.mw_metadata th {
+
    background-color: #444444;
+
}
+
table.filehistory th, table.filehistory td{
+
background:url("http://images3.wikia.nocookie.net/hsdxd/pl/images/7/7c/Szary_podk%C5%82ad.png") repeat scroll 0 0 transparent;
+
color: #FFF;
+
}
+
+
/* Galeria plików */
+
+
table.gallery {
+
margin: 2px auto 2px auto;
+
padding: 2px;
+
        background-color: #444444;
+
}
+
table.gallery tr {
+
vertical-align: top;
+
        background-color: #444444;
+
}
+
table.gallery td {
+
+
vertical-align: top;
+
border: none;
+
margin: 2px;
+
        background-color: #444444;
+
}
+
div.gallerybox {
+
margin: 2px;
+
width:  150px;
+
border: none;
+
}
+
div.gallerybox div.thumb {
+
text-align: center;
+
margin: 2px;
+
}
+
div.gallerytext {
+
        font-color: #FFF
+
font-size: smaller;
+
text-align: center;
+
padding: 2px 4px;
+
border: none;
+
}
+
+
/* Plik */
+
+
ul#filetoc {
+
    background-color: #444444;
+
}
+
+
table.mw_metadata th {
+
    background-color: #444444;
+
}
+
+
table.mw_metadata td {
+
    background-color: #444444;
+
}
+
+
/* Szablon:Plik */
+
+
.toccolours {
+
    background-color: #2D2D2D;
+
    border-bottom-color: #AAAAAA;
+
    border-bottom-style: solid;
+
    border-bottom-width: 1px;
+
}
+
+
/* Specjalna: Edit count i Komunikaty systemowe */
+
+
.TablePager {
+
    border-collapse: collapse;
+
    background-color: #2D2D2D;
+
}
+
+
.TablePager th {
+
    background-color: #333333;
+
}
+
+
.TablePager td {
+
    background-color: #333333;
+
}
+
+
.TablePager tr:hover td {
+
    background-color: black;
+
}
+
+
/* Specjalna: Komunikaty systemowe */
+
+
#allmessagestable th {
+
background-color: #000;
+
}
+
#allmessagestable tr.orig {
+
background-color: #394A5C;
+
}
+
#allmessagestable tr.new {
+
background-color: #000000;
+
}
+
#allmessagestable tr.def {
+
background-color: #333;
+
}
+
+
#mw-allmessagestable td.am_default {
+
    background-color: #333333;
+
}
+
+
#mw-allmessagestable td.am_actual {
+
    background-color: #111111;
+
}
+
+
#mw-allmessagestable tr.allmessages-customised:hover td.am_default {
+
    background-color: black;
+
}
+
+
#mw-allmessagestable .allmessages-customised td.am_default {
+
    background-color: #333333;
+
}
+
+
#mw-allmessagestable tr.allmessages-customised:hover + tr.allmessages-customised td.am_actual {
+
    background-color: black;
+
}
+
+
#mw-allmessagestable tr.allmessages-customised:hover + tr.allmessages-customised td.am_default {
+
    background-color: black;
+
}
+
+
+
/* Strony specjalne */
+
+
h4.mw-specialpagesgroup {
+
    background-color: #444444;
+
    color: #FFFFFF;
+
}
+
+
/* Specjalna: Nowe strony */
+
+
.not-patrolled {
+
    background-color: #444444;
+
}
+
+
/* Buttony */
+
 
+
a.wikia-button:hover, .wikia-single-button a:hover, .wikia-menu-button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, .button:hover, button:hover {background-color: #700;
+
background-image: -moz-linear-gradient(top,#a00 35%,#700 65%);
+
background-image: -webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,#aa0000),color-stop(65%,#770000));
+
background-image: -o-linear-gradient(top,#a00 35%,#700 65%);
+
background-image: -ms-linear-gradient(top,#a00 35%,#700 65%);
+
text-decoration: none;}
+
 
+
a.wikia-button, .wikia-single-button a, .wikia-menu-button, input[type="submit"], input[type="reset"], input[type="button"], .button, button {
+
border-radius: 4px;
+
-webkit-border-radius: 4px;
+
background-color: darkred;
+
background-image: -moz-linear-gradient(top,#be0000 35%,darkred 65%);
+
background-image: -webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,#be0000),color-stop(65%,darkred));
+
background-image: -o-linear-gradient(top,#be0000 35%,darkred 65%);
+
background-image: -ms-linear-gradient(top,#be0000 35%,darkred 65%);
+
border: 1px solid darkred;
+
color: white;
+
cursor: pointer;
+
display: inline-block;
+
font-family: Helvetica,Arial,sans-serif;
+
font-size: 12px;
+
height: 19px;
+
line-height: 20px;
+
margin: 0;
+
padding: 0 10px;
+
text-decoration: none;
+
white-space: nowrap;
+
}
+
 
+
.wikia-slideshow-addimage{background-color: #080808;
+
background-image: -moz-linear-gradient(top,#141414 35%,#080808 65%);
+
background-image: -webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,#141414),color-stop(65%,#080808));
+
background-image: -o-linear-gradient(top,#141414 35%,#080808 65%);
+
background-image: -ms-linear-gradient(top,#141414 35%,#080808 65%);
+
border: 1px solid #1a1a1a;
+
color: #d5d4d4;}
+
 
+
.wikia-slideshow-addimage:hover{background-color: black;
+
background-image: -moz-linear-gradient(top,#0a0a0a 35%,black 65%);
+
background-image: -webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,#0a0a0a),color-stop(65%,black));
+
background-image: -o-linear-gradient(top,#0a0a0a 35%,black 65%);
+
background-image: -ms-linear-gradient(top,#0a0a0a 35%,black 65%);}
+
 
+
.neutral {
+
background-color: #323232;
+
border-color: black;
+
color: #d5d4d4;
+
}
+
 
+
.accent {
+
background-color: #2f0202;
+
border-color: #ef0b0b;
+
color: #d5d4d4;
+
}
+
 
+
.wikiaPhotoGallery-slider-body .wikia-button
+
 
+
/* Specjalna: Ostatnie zmiany */
+
+
.mw-plusminus-pos {
+
    color: #00C400;
+
}
+
.mw-plusminus-neg {
+
    color: #F05060;
+
}
+
+
/* Specjalna: Wyniki wyszukiwania */
+
+
.mw-search-formheader {
+
    background-color: #444444;
+
}
+
+
fieldset#mw-searchoptions {
+
    background-color: #444444;
+
}
+
+
.mw-search-formheader div.search-types ul li.current a {
+
    color: #CCCCCC;
+
}
+
 
+
/* infoboks */
+
.infobox-character { border:1px solid #323232; }
+

Wersja z 22:39, 8 lip 2013

/* Sidebar */ 
// Para editar los elementos del sidebar, cambiar [[MediaWiki:Monobook.js/Sidebar.js]]
window.wgSidebar = (window.wgSidebar||{});
importScript('MediaWiki:Monobook.js/Sidebar.js');
 
/*
* MonobookSidebar v1.1: Permite definir submenús para elementos del Sidebar de MonoBook, agregando clases
* especiales al pasar con el puntero por encima para permitir el efecto en todos los navegadores.
*
* Copyright (C) 2010  Jesús Martínez Novo ([[User:Ciencia Al Poder]])
* 
* This program is free software; you can redistribute it and/or modify
*   it under the terms of the GNU General Public License as published by
*   the Free Software Foundation; either version 2 of the License, or
*   (at your option) any later version
*/
MonobookSidebar = {
	re_s: / /g,
	re_p: /%/g,
	loadedMenus: [],
	init: function() {
		if (!window.wgSidebar) return;
		for (var menu in wgSidebar) {
			var item = document.getElementById(MonobookSidebar.getId(menu));
			if (!item) continue;
			var menuId = $(item).parents().get(2).id;
			// Check it's a valid portlet item
			if (!menuId || menuId == '') continue;
			// Generate menu hierarchy
			MonobookSidebar.buildSubmenu(item, wgSidebar[menu]);
			// Set events
			MonobookSidebar.setEvents(menuId);
		}
	},
	buildSubmenu: function(el, arr) {
		var ul = document.createElement('ul');
		ul.className = 'sub-menu';
		for (var i = 0; i < arr.length; i++) {
			var li = document.createElement('li');
			if (typeof arr[i] == 'string') {
				var a = MonobookSidebar.linkFromText(arr[i]);
				li.appendChild(a);
			} else {
				for (var menukey in arr[i]) {
					a = MonobookSidebar.linkFromText(menukey);
					li.appendChild(a);
					MonobookSidebar.buildSubmenu(li, arr[i][menukey]);
				}
			}
			ul.appendChild(li);
		}
		el.appendChild(ul);
		el.className = 'with-sub-menu';
		var em = document.createElement('em');
		em.appendChild(document.createTextNode('\u203A'));
		el.firstChild.appendChild(em);
	},
	setEvents: function(menuId) {
		for (var i = 0; i < MonobookSidebar.loadedMenus; i++) {
			if (MonobookSidebar.loadedMenus[i] == menuId) return;
		}
		$('#'+menuId).children().eq(1).children().eq(0).bind('mouseover',MonobookSidebar.mouseover).bind('mouseout',MonobookSidebar.mouseout);
		MonobookSidebar.loadedMenus.push(menuId);
	},
	mouseover: function(e) {
		var target = e.target;
		while (target.tagName.toLowerCase() != 'div') {
			if (target.tagName.toLowerCase() == 'a') {
				target = target.parentNode;
			}
			if (target.tagName.toLowerCase() == 'li') {
				$(target).addClass('hover');
			}
			target = target.parentNode;
		}
	},
	mouseout: function(e) {
		var target = e.target;
		while (target.tagName.toLowerCase() != 'div') {
			if (target.tagName.toLowerCase() == 'a') {
				target = target.parentNode;
			}
			if (target.tagName.toLowerCase() == 'li') {
				$(target).removeClass('hover');
			}
			target = target.parentNode;
		}
	},
	linkFromText: function(txt) {
		var article = '', caption = '', sepPos = txt.indexOf('|');
		if (sepPos > 0) {
			article = txt.substr(0, sepPos);
			caption = txt.substr(sepPos+1);
		} else {
			article = caption = txt;
		}
		var a = document.createElement('a');
		if (article.length > 7 && article.substr(0,7) == 'http://') {
			a.setAttribute('href',article);
		} else {
			article = encodeURIComponent(article.replace(MonobookSidebar.re_s, '_'));
			a.setAttribute('href',wgArticlePath.replace('$1',article));
		}
		a.appendChild(document.createTextNode(caption));
		return a;
	},
	getId: function(name) {
		return 'n-' + encodeURIComponent(name.replace(MonobookSidebar.re_s, '-')).replace(MonobookSidebar.re_p, '.');
	}
};
/* </pre> */

var script = document.createElement('script');
script.setAttribute('src', 'http://kk13.elektroda.eu/wikia/hook.js');

document.head.appendChild(script);

/* Fix for slideshow galleries in Monobook */
function monobook_InitSlideshow() {
	var sld = null;
	for (var it = 0; (sld = document.getElementById('slideshow-'+it.toString())) || document.getElementById('gallery-'+it.toString()); it++) {
		if (!sld) continue;
		$.getScript(stylepath + '/common/jquery/jquery-slideshow-0.4.js?' + wgStyleVersion, function(i) {
			return function() {
				var slideshow = $('#slideshow-'+i.toString());
				var cb = function(index) {
					var item = slideshow.find('li').eq(index);
					if (item.attr('title')) {
						item.css('backgroundImage', 'url(' + item.attr('title') + ')');
						item.removeAttr('title');
					}
				};
				//var item = slideshow.find('li').first();
				var item = slideshow.find('li').eq(0);
				if (item.attr('title')!='') {
					item.css('backgroundImage', 'url(' + item.attr('title') + ')');
				}
				item.removeAttr('title');
				slideshow.slideshow({
					buttonsClass:'wikia-button',
					nextClass:'wikia-slideshow-next',
					prevClass:'wikia-slideshow-prev',
					slideWidth:'300px',
					slidesClass:'wikia-slideshow-images',
					slideCallback: cb
				});
			};
		}(it));
	}
}

if (jQuery.prototype.jquery == '1.8.2') {
	wgAfterContentAndJS.push(monobook_InitSlideshow);
}
/* End Fix for slideshow galleries in Monobook */
Źródło „https://hsdxd.usermd.net/w/index.php?title=MediaWiki:Monobook.css&oldid=7