MediaWiki:Vector.css

/* Don't display some stuff on the main page */ body.page-Main_Page #lastmod, body.page-Main_Page #siteSub, body.page-Main_Page #contentSub, body.page-Main_Page h1.firstHeading { display: none !important; }

/* Don't display user Badges*/ body.ns-2.page-User_Volatile_Dweevil .article-sidebar {display:none;} body.ns-2.page-User_Volatile_Dweevil #profile-content-inner {margin-right:0;} body.ns-2.page-User_Peanut64 .article-sidebar {display:none;} body.ns-2.page-User_Peanut64 #profile-content-inner {margin-right:0;} body.ns-2.page-User_Sir_Pikmin .article-sidebar {display:none;} body.ns-2.page-User_Sir_Pikmin #profile-content-inner {margin-right:0;} }

/*That crazy box*/ .editsimilar { background: #Green; border: 2px outset #00bb00; -moz-border-radius-topleft: 40px; -moz-border-radius-bottom right: 40px; }

/*OGG player*/ .ogg-player-options { border: 2px outset #00bb00; -moz-border-radius-topleft: 50px; -moz-border-radius-bottom right: 100px; }

/*Watchlist edit message*/ .usermessage { background: #CCFF00; font-weight: bold; margin: 20px 0px 10px 0px; padding: 5px 10px; vertical-align: middle; border: 2px outset #00bb00; -moz-border-radius-bottomright: 15px; -moz-border-radius-topleft: 15px; }

/*Background*/ body { background-image: ; background-repeat: no-repeat; background-position: right; background-attachment: fixed; background-color: #FFF !important; }

background-image: url(http://images4.wikia.nocookie.net/pikmin/images/6/67/BG_contentarea.png); background-position: right; background-attachment: fixed; background-repeat: no-repeat; } table, td { background: none; } div.thumb { border: none; } div.tright { border: none; margin: 5px 0px 5px 10px; } div.tleft { border: none; margin: 5px 15px 5px 0px; }
 * 1) wikia_page {

/*Sidebar*/ .portlet { width: 150px; } .portlet h5 { text-transform: uppercase; color: #4F7942; background: LightGreen; border: 2px outset #00bb00; padding: 1px 0px 3px 10px; font-weight: bold; display: block; -moz-border-radius-topleft: 20px; -moz-border-radius-bottomright: 20px;

} .pBody { background: Green; border: 2px outset #00bb00; padding-left: 0px; margin: 2px 30px 0px 10px; -moz-border-radius-topleft: 2.0em; -moz-border-radius-bottomright: 2.0em; } .portlet ul { list-style-type: none; }

/*Search*/ input.searchButton { margin-top: 2px; margin-bottom: 1px; padding: 0px 0px 0px 0px; cursor: pointer; background: #ccffcc; border: 2px outset #Green; } input.searchButton:hover { background: #ffffff; }   width: 89px; background: #ffffff; }   padding: 0.5em 0.5em 0.5em 0.5em; }
 * 1) searchInput {
 * 1) p-search .pBody {

/*Tabs*/ border: 2px outset #00bb00; border-bottom: 1px solid #ffffff; }   border: none; }   -moz-border-radius-topleft: 10px; -moz-border-radius-bottomright: 10px; }
 * 1) p-cactions li {
 * 1) p-cactions li a {
 * 1) p-cactions li,
 * 2) p-cactions li a {

/*ToC*/ background: #ccffcc; -moz-border-radius-topleft: 60px; -moz-border-radius-bottomright: 40px; border: 2px outset #00bb00; }
 * 1) toc {

/*Hover*/ .usermessage:hover, background: none; }   background: #ffffff; }   background: #ffffff; opacity: 0.85; } .portlet h5:hover { background: none; color: #007700; }
 * toc:hover,
 * 1) catlinks:hover {
 * 1) p-search .pBody:hover {
 * 1) p-tb .pBody:hover,
 * 2) p-wikicities-nav .pBody:hover,
 * 3) p-navigation .pBody:hover,
 * 4) p-cactions li,
 * 5) p-cactions li a,
 * 6) p-cactions li.selected,
 * 7) p-cactions li.selected a {

/*Input boxes*/ input { -moz-border-radius-topleft: 20px; -moz-border-radius-bottomright: 20px; border: 2px inset #00bb00; padding-left: 3px; } select { border: 2px inset #00bb00; } input[type="text"], input[type="password"] { height: 16px; } textarea { border: 2px inset #00bb00; -moz-border-radius-topleft: 40px; -moz-border-radius-bottomright: 40px; padding: 8px 5px 16px 8px; background: none; }   background: #ccffcc; border: 2px outset #00bb00; }
 * 1) wpSave,
 * 2) wpPreview,
 * 3) wpDiff,
 * 4) tUpload {

/*Content area*/ border: 2px outset #00bb00; -moz-border-radius: 20px; }   background: none; }
 * 1) content {
 * 1) footer {

/*Links*/ a, color: #00bb00; }
 * 1) p-personal li a,
 * 2) p-cactions li a,
 * 3) bodyContent a.extiw,
 * 4) bodyContent a.external {

a:visited, color: #008844; } a:hover, color: #00bb00; } a:visited:hover, color: #00bb44; } a.new:link, a.new:visited, color: #bbbb00; }   background-image: url(http://images.wikia.com/pikmin/images/4/44/External.png); }  border: 2px outset #00bb00; background: #ccffcc; -moz-border-radius-topleft: 30px; -moz-border-radius-bottomright: 30px; padding-bottom: 0px; padding-top: 0px; }
 * 1) bodyContent a.extiw:visited,
 * 2) bodyContent a.external:visited {
 * 1) p-personal li a:hover,
 * 2) bodyContent a.extiw:hover,
 * 3) bodyContent a.external:hover {
 * 1) bodyContent a.extiw:visited:hover,
 * 2) bodyContent a.external:visited:hover {
 * 1) p-personal li a.new,
 * 2) p-cactions .new a,
 * 3) p-personal li a.new:visited,
 * 4) p-cactions .new a:visited {
 * 1) bodyContent a.external {
 * 1) catlinks {

/* TabbyBox */ padding: 0px 10px 0px 10px; background-color: #228B22; -moz-border-radius-topleft: 15px; -moz-border-radius-bottomright: 15px; color: #006600; font-size: 150%; }   border: 2px solid #00bb00; background: #ffffff; }   margin: 1px; }   position: relative; left: 50px; }
 * 1) tabbyHead a {
 * 1) tabbyHead a.selected {
 * 1) tabbyHead p {
 * 1) tabbyHead {

.color1 { background-color: #050; }  -moz-border-radius-topleft: 12px; }  -moz-border-radius-bottomright: 13px; }  background-color: #CFC; color: #080; }  background-color: #FFF; color: #0B0; } .menu-item .menu-item:first-child>a { -moz-border-radius-topleft: 12px; } .menu-item .menu-item:last-child>a { -moz-border-radius-bottomright: 12px; }
 * 1) search_box {
 * 1) link_box {
 * 1) navigation a {
 * 1) navigation a:hover, .navigation-hover {

.widget { border: 2px outset #0B0; padding: 0 !important; -moz-border-radius-topleft: 15px; -moz-border-radius-bottomright: 15px; } .widget dt { padding-left: 5px; -moz-border-radius-topleft: 20px; } .widget dd { background-color: #CFC; -moz-border-radius-bottomright: 13px; } .widget dd:hover { background-color: #FFF; } .widget a { color: #080; } .widget dd:hover a { color: #0B0; }

background-image: none; }  color: #FFF; }
 * 1) page_bar, #search_box {
 * 1) page_controls a {

border: 2px outset #0B0; -moz-border-radius: 20px; }  -moz-border-radius-topleft: 15px; -moz-border-radius-topright: 15px; }  -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; }
 * 1) wikia_page {
 * 1) page_bar {
 * 1) page_tabs li {

.headerMenuButton dt, .headerMenuButton dd { background-image: url(http://images.wikia.com/pikmin/images/6/69/Monaco_header_button.png); color: #080; }  background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images.wikia.com/pikmin/images/6/69/Monaco_header_button.png', sizingMethod='crop'); }
 * html .headerMenuButton dt, * html .headerMenuButton dd {

background-image: url(http://images.wikia.com/pikmin/images/2/22/Monaco_search.png); }  background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images.wikia.com/pikmin/images/2/22/Monaco_search.png', sizingMethod='crop'); }
 * 1) search_button {
 * html #search_button {

color: #080; }
 * 1) header_username a {

body { background-image: url('http://images4.wikia.nocookie.net/pikmin/images/6/67/BG_contentarea.png'); right fixed no-repeat; border: 2px outset #0b0; border-radius: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; }

{ background-color: transparent !important; }
 * 1) wikia_header, #background_strip

/* User masthead */ -moz-border-radius-topleft: 15px; -moz-border-radius-topright: 15px; background: #8c8; } ul li {list-style-image: url(http://images4.wikia.nocookie.net/pikmin/images/7/7a/Bullet.png);} background: #005500; color: #FFF; } background: #FFF; color: #005500; } body.masthead-regular #page_bar, body.masthead-special #page_bar, body.masthead-regular #page_bar a, body.masthead-special #page_bar a { background: #FFF; color: #005500; } .dark_text_1 { color: #005500; }
 * 1) user_masthead {
 * 1) user_masthead a {color: #232 !important;}
 * 2) user_masthead+#page_bar {-moz-border-radius: 0; margin-top: 0;}
 * 1) user_masthead ul.nav_links li, #user_masthead ul.nav_links li a {
 * 1) user_masthead ul.nav_links li.selected, #user_masthead ul.nav_links li.selected a {

/* Add a checklist to the Recent Changes */ .rcnsthidden {display: none;}

With a little knowledge, this can be modified to, for example, show all ignored edits in a different colour, or align them to the right, rather than hide them. Examples:

Greyed out: .rcnsthidden {color: #aaa;} .rcnsthidden a {color: #777 !important;}

Smaller font: .rcnsthidden {font-size: 0.8em;}

Right-aligned: .rcnsthidden {text-align: right;}

All three of the above: .rcnsthidden {text-align: right; font-size: 0.8em; color: #aaa;} .rcnsthidden a {color: #777 !important;}

To-do: - make possible with enhanced (grouped) RC - hide h4s that have no visible contents - extra buttons to toggle all/invert toggle - check for existence of indexOf, etc. before doing anything - specific page include/exclude lists (requires ns prefix; remember _s) - instead of display:none, add a class to be able to, e.g. align unwanted items right rather than removing entirely



// Change this to true to make the list below an include list rather than an // exclude list:

include = false;

// Here, default namespaces (or log types) can be set; put them in '' or "" // separated by commas, inside the []. By default, this is the excluded list:

RCNSTList = [];

// Change these if it'll make styling easier - e.g., use ul/li and create a // hover menu:

RCNSTbeforecheckboxes = ' \n'; RCNSTaftercheckboxes = ' '; RCNSTbeforecheckbox = ''; RCNSTaftercheckbox = '\n';

window.onload = function { if (document.body.className.indexOf("page-Special_RecentChanges") == -1) return; choice = document.getElementById("namespace").childNodes; nslist = []; for (i in choice) if (choice[i].tagName == "OPTION" && choice[i].value != "") nslist[choice[i].value] = choice[i].innerHTML; loglist = []; days = document.getElementsByClassName("special"); for (i in days) { if (days[i].tagName != "UL") continue; items = days[i].childNodes; for (j = 0; j < items.length; j++) { if (items[j].tagName != "LI") continue; logname = items[j].getElementsByTagName("a")[0].innerHTML; if (logname != "diff" && logname != "hist" && loglist.indexOf(logname) == -1) loglist.push(logname); }   }    temp = RCNSTList; RCNSTList = []; for (i in nslist) { if (!include && (temp.indexOf(nslist[i]) != -1)) RCNSTList[i] = false; else if (include && (temp.indexOf(nslist[i])) == -1) RCNSTList[i] = false; }   for (i in loglist) { if (!include && (temp.indexOf(loglist[i]) != -1)) RCNSTList[loglist[i]] = false; else if (include && (temp.indexOf(loglist[i])) == -1) RCNSTList[loglist[i]] = false; }   s = RCNSTbeforecheckboxes; for (i in nslist) { if (RCNSTList[i] == false) insert = ''; else insert = 'checked="checked"'; s += RCNSTbeforecheckbox + '' + nslist[i] + ' ' + RCNSTaftercheckbox; }   for (i in loglist) { if (RCNSTList[loglist[i]] == false) insert = ''; else insert = 'checked="checked"'; s += RCNSTbeforecheckbox + '' + loglist[i] + ' ' + RCNSTaftercheckbox; }   s += RCNSTaftercheckboxes; document.getElementsByClassName("rcoptions")[0].innerHTML += s;   RCNST; } function RCNST { for (i in nslist) { if (document.getElementsByName("RCNST" + i)[0].checked) RCNSTList[i] = true; else RCNSTList[i] = false; }   for (i in loglist) { if (document.getElementsByName("RCNSTl" + i)[0].checked) RCNSTList[loglist[i]] = true; else RCNSTList[loglist[i]] = false; }   days = document.getElementsByClassName("special"); for (i in days) { if (days[i].tagName != "UL") continue; items = days[i].childNodes; for (j = 0; j < items.length; j++) { if (items[j].tagName != "LI") continue; page = items[j].getElementsByTagName("a")[0]; if (page.innerHTML == "diff" || page.innerHTML == "hist") { page = page.href; page = page.substring(page.indexOf("?title=") + 7); page = page.substring(0, page.indexOf("&curid=")); page = page.substring(0, page.indexOf(":")).replace("_", " "); page = nslist.indexOf(page); if (page == -1) page = 0; } else page = page.innerHTML; if (RCNSTList[page]) { if (items[j].className.indexOf(" rcnsthidden") != -1) items[j].className = items[j].className.substring(0, items[j].className.indexOf(" rcnsthidden")); } else if (items[j].className.indexOf(" rcnsthidden") == -1) items[j].className += " rcnsthidden"; }   } }