FANDOM


Shortcut:
CN:CSS
This page contains CSS modifications for the current default Wikia/Oasis skin and for the site in general. If you would like to modify the site for yourself, look through the descriptions (inside /* */) in the code below and copy any sections of code you want to use to the page here. This will apply the changes to all pages you visit, but only for yourself, so keep that in mind. Please note that some changes may not work in Internet Explorer, and that this page may be updated often. Most of the code should work on other Wikia sites as well. NOTE: much of this code can be outdated and either do nothing or work badly due to changes in the editor, page headers, etc. Feel free to ask if you have any questions.

If you encounter any problems, need help, have suggestions, or otherwise want to talk about this page, please leave a message on the talk page or at User talk:Bobogoobo.


Note: After saving, you have to bypass your browser's cache to see the changes.

  • Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
  • Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
  • Opera: clear the cache through Tools→Preferences.
  • Konqueror and Safari: just click the Reload button.
  • Chrome: press Ctrl+F5 or Shift+F5.
/* Mark redirects in Special:Allpages, Special:Watchlist, and in categories. */
.redirect-in-category, .allpagesredirect, .watchlistredir {font-style: italic;}

/* Infobox template style */
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9 !important;
   color: black !important;
   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;
}

/* Recent changes byte indicators */
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }

/* Table styles */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
table.toccolours {border:1px solid #ddd !important;}
 
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;
}
 
table.prettytable code,
table.wikitable code {
  background-color: transparent;
}

/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}

table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}

table.navbox tr:not(:first-child) th {
    background-color: #ddf;
}

@media print {
    .navbox {
        display: none;
    }
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */

div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 100%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        background-color: #ccccff;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}

/* Support for Template:Reflist */
.references-small { font-size: 90%; }

/* Main Page formatting */
body.page-Main_Page nav.WikiaArticleCategories { display: none !important; }

/* Support for Template:IPA and Template:Unicode.
   The second declarations reset the styles for all browsers except
   IE6, which chokes on the empty comment tags.
*/

.IPA {
    font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt,
                 "DejaVu Sans", Code2000, "TITUS Cyberbit Basic",
                 "Arial Unicode MS", "Lucida Sans Unicode",
                 "Chrysanthi Unicode";
    font-family /**/: inherit;
}
.Unicode {
    font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic",
                 "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit",
                 "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt,
                 "Lucida Grande", "Free Sans", "Arial Unicode MS",
                 "Microsoft Sans Serif", "Lucida Sans Unicode";
    font-family /**/: inherit;
}

/* Put a checkered background behind images, only visible if they have transparency */
.gallerybox .thumb img,
#file img {
    background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* But not on articles, user pages, talk pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-1 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img, 
.nochecker .gallerybox .thumb img {
    background: transparent;
}

/* Support for Template:PageTabs */
.pagetabs {white-space:nowrap;}

/* Used on Alliance forums and IRC list Multi-Colored heading */
.spectrum {background: black url("http://images3.wikia.nocookie.net/cybernations/images/9/9a/Linear_visible_spectrum.png") repeat;}

/* Prevent video embedding - copyright policy */
embed {display:none;}
object {display:none;}

/* Prevent polls - not secure for voting purposes */
.ajax-poll {display:none;}

/* userboxes */
.userbox
{
    float: left;
    border-width: 1px;
    border-style: solid;
    margin: 1px;
    width: 238px;
    padding: 0px;
}

.ubx-icon
{
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
}

.ubx-main
{
    font-size: 8pt;
    padding: 4pt;
    line-height: 1.25em;
}

/* Trying to kill the policy-violating "add images" crap */
#wmuLinkDiv {display:none !important}
#wmu-imagebutton {display:none !important}
#wmu_imagebutton {display:none !important}
#vet_imagebutton {display:none !important}
#vet-imagebutton {display:none !important}
#mw-editbutton-wmu {display:none !important}
#wmuLink {display:none !important}
#bodyContent a[title="Add a video"] {display:none !important}

/* Link icons */
#WikiaArticle a.external[href ^="http://www.cybernations.net"],
#WikiaArticle a.external[href ^="http://cybernations.net"],
#WikiaArticle a.external[href ^="http://tournament.cybernations.net"],
#WikiaArticle a.external[href ^="http://forums.cybernations.net"],
.link-cn{background:url("http://images.wikia.com/cybernations/images/3/35/CNexternal.png") center right no-repeat;padding-right:13px}

/* IRC links */
#WikiaArticle a.external[href ^="irc://"],
.link-irc {
	background: url(http://images.wikia.com/cybernations/images/6/6c/Talk-icon.png) center right no-repeat;
	padding: 0 13px 0 0;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
     border: 1px solid #aaa;
     background-color: #f9f9f9; 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;
}

/* CSS for TOC limit template */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul { display: none; }

/* Article text formatting */
div#WikiaArticle {line-height:20px; color:black;}

/* Fix plainlinks */
span.plainlinks a.external {background-image:none !important; padding:0px !important; color:#3366BB !important;}

/* Remove image uploader information */
.picture-attribution {display:none !important;}

/* Bold headings */
h3, h4, h5, h6 span.mw-headline {font-weight:bold;} span.editsection {font-weight:normal !important;}
h2 span.mw-headline {font-size:110%;}

/* Remove followed pages display on user pages */
.FollowedPagesModule {display:none;}

/* Adjustments to page headers */
div.commentslikes a {display:none !important;}
ul.commentslikes li.comments span.commentsbubble {display:none;}
ul.commentslikes li.comments a {text-align:right;font-size:24px; padding-bottom:10px;}
ul.commentslikes li.likes {display:none;}
#WikiHeader .buttons {display:none;}

/* Remove share link on toolbar */
li#ca-share_feature {display:none;}

/* Remove global navigation dropdowns */
header.WikiaHeader ul.GlobalNavigation {display:none;}

/* Remove Main Page header page count */
div.mainpage-tally {display:none;}

/* Link styles, only in actual content */
div#WikiaArticle a {color:#002bb8;}
div#WikiaArticle a.external, a.extiw {color:#3366BB !important;}
div#WikiaArticle a[href ^="http://en.wikipedia.org"] {color:#3366BB;}
div#WikiaArticle a[href ^="http://en.wikipedia.org"]:visited {color:#3366bb !important;}
div#WikiaArticle a.new {color:#ba0000 !important;}
div#WikiaArticle a.new:visited {color:#ff3030 !important;}
div#WikiaArticle a:visited {color:#5a3696;}
div#WikiaArticle a:active {color:#faa700 !important;}
div#WikiaArticle span.plainlinks a.external:visited {color:#3366bb !important;}
div#WikiaArticle a.external:visited {color:#3366bb !important;}
[data-type="5"] a {color:#FFF !important;}

/* Change background to Monaco gray */
body {background-color:#F5F5F5;}

/* Fix heading overlap in footer (when ads are blocked) */
footer.WikiaFooter section {display:none;}
footer.CorporateFooter {display:none;}

/* Extend page width */
.WikiaMainContent {float:none; width:1010px !important;}
.WikiaPagesOnWikiModule, .WikiaActivityModule, .LatestPhotosModule {display:none;}
header.WikiaPageHeader details {width:100%;}
.editor .WikiaMainContent {width:auto !important;}

/* Make page header one line for all pages */
header.WikiaPageHeader h2 {display:inline; font-weight:bold; padding-left:10px;}

/* Improve preview warning contrast */
div.WikiaConfirmation, div.previewnote p {background-color:#CD0000 !important; color:#FFFFFF !important;}
div.WikiaConfirmation a {color:#FFFFFF !important;}

/* Make edit summary preview stand out */
div.mw-summary-preview {font-weight:bold; padding-top: 10px; padding-bottom:15px;}
div.mw-summary-preview span.comment {font-weight:normal !important; font-style:italic;}

/* Bold edit marking letters in watchlist */
body.page-Special_Contributions span.newpage, span.minor {font-weight:bold;}

/* Highlight "updated since my last visit" */
span.updatedmarker {background-color:#00FF00;}

/* Fix ToC */
#toc {font-size:95%;}
div#toctitle h2 {font-weight:bold; font-size:95%;}

/* Fix hr */
hr {height:1px; color:#aaa; background-color:#aaa; border:0; margin: .2em 0;}

/* Change bullets to old style */
div#WikiaArticle ul {list-style-image:url(http://images1.wikia.nocookie.net/__cb29229/common/skins/monobook/bullet.gif);}
/* But not in the ToC */
.toc ul {list-style-type:none !important; list-style-image:none !important;}

/* Change error messages to old style */
.error {color:red; font-size:larger;}

/* Fix image caption size */
div.thumbinner, div.thumbcaption {font-size:94%;}

/* Fix image border property */
.thumbborder {border:1px solid #ddd;}

/* Hide category galleries and 'related pages' */
div.category-gallery, nav.RelatedPagesModule {display:none;}

/* Hide article suggestions box, which seems to ignore Preferences settings */
[data-type="4"] {display:none;}

/* Give stuff in code tags a light gray background */
code {background-color:#DDD;}

/* Full width preview */
#wikiPreview {width:100%;}

/* Fix small tag */
small {font-size:smaller;}

/* Links to current page always black */
.selflink {color:#000 !important;}

/* Wikia is not a social network...remove and reposition user masthead stuff */
div.masthead-avatar {display:none !important;}
div.masthead-info hgroup,ul.links,ul.details,ul.wikis {display:none !important;}
div.masthead-info {box-shadow:none !important; background:none !important;}
div.masthead-info-lower .tally {position:absolute; right:-440px; bottom:-160px; background:#FFF !important;}
div.masthead-info-lower:before {border:none !important;}
.tabs-container .tabs .selected {cursor:pointer !important;}
section#UserProfileMasthead {height:40px !important;}

/* Make nonexistent categories redlinks like they should be */
a.newcategory {color:#BA0000 !important;}
a.newcategory:visited {color:#FF3030 !important;}

/* Fixes for new (worse) editor */
textarea#wpTextbox1 {font-family:Monaco,"Courier New",monospace; font-size:13.5px; color:#000 !important; background-color:#FFF; line-height:normal !important;}
span.wordmark img {width:240px !important; height:34px !important; margin-top:6px;}
header#EditPageHeader h1 a {color:#006EE6;}
div#EditPageEditorWrapper {background:#F0F0F0;}
/* only use the below styling if you don't use the sidebar */
textarea#wpSummary {width:610px !important; margin-left:-342px !important; margin-top:2px !important; color:#000 !important;}

/* More modules to remove */
.GamingCalendarModule {display:none;}

/* Make deletion reason textbox bigger (only affects Admins) */
.mw-input input#wpReason {width:800px;}

/* Reduce blank space above level-2 headings */
div#WikiaArticle h2 {margin-top:1em !important;}

/* Move the search bar somewhere better */
#WikiaSearch {position:absolute; top:0px; right:0px; z-index:999999999;}

/* Remove "Advertisement" notification (use if ads are hidden) */
.SelfServeUrl {display:none;}

/* Fix colors in wikitables, gray text makes everything feel faded. */
.wikitable {color:black !important;}

/* This code was copied from [[CN:CSS]]. */
Community content is available under CC-BY-SA unless otherwise noted.