MediaWiki:Common.css

From Pikipedia, the Pikmin wiki
Revision as of 15:31, December 12, 2012 by Porplemontage (talk | contribs)
Jump to navigation Jump to search

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

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

body.page-Main_Page #catlinks {
    display: none !important;
}

/* navigation boxes */

table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 5px;
    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;
    }
}

/* infoboxes */
.infobox {
   border: 1px solid #aaa;
   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 #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}

@media print {
    .infobox.sisterproject {
        display: none;
    }
}

/* bordered infobox with merged rows */

.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border: 0;
   border-top: 1px solid #aaa;
   border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaa;
}

/* boldify edit tab */

#ca-edit a { font-weight: bold !important; }

/* italicise redirects in Allpages, Watchlist and Recent Changes */

.allpagesredirect { font-style: italic; }
.watchlistredir { font-style: italic; }

/* forum */

.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; 
}

/* switchable */

.switchabletabs li {
    list-style: none;
    display: inline;
    margin-right: .5em;
    padding: .1em .5em;
    border: 1px solid #aaa;
    background: #f2f2f2;
}

/* hideable */

.hideable [alt="hide"] {margin: 0 .3em;}

/* Edit box */
.wikiEditor-ui textarea#wpTextbox1 {
	line-height: 1.4em;
}
#wpSummary, #wpSummaryLabel {
	margin: 0.2em 0 0.4em 0 !important;
}
input#wpSummary {
	width: 85%;
}