MediaWiki:Common.css: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
(test)
Line 1: Line 1:
/***** CSS placed here will be applied to all skins on the entire site. *****/
/***** CSS placed here will be applied to all skins on the entire site. *****/
/* See also: [[MediaWiki:Monobook.css]] */
/* <s>See also: [[MediaWiki:Monobook.css]]</s> */
/* Or actually don't see it, because it's not useful. Only Common.css and your */
/* your own custom css files get loaded. */
/* <pre> */
/* <pre> */


body.page-Main_Page h1.firstHeading,
@import "/w2/index.php?title=User:Derik/Common_tmp.css&action=raw&ctype=text/css";
body.page-Main_Page #lastmod,
body.page-Main_Page #siteSub {
display: none;
}
 
/* Reflist font size */
.references-small { font-size: 90%;}


/* Mark redirects in Special:Allpages and Special:Watchlist */
/* Mark redirects in Special:Allpages and Special:Watchlist */
Line 16: Line 11:
.watchlistredir { font-style: italic; }
.watchlistredir { font-style: italic; }


/* replace the book in the background with something else */
/* Giving headers and TOC a little extra space */
/*body { background: #F0F8FF; }*/
h2 {margin-top: 20px;}
 
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content {
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}
 
/* same following the css3 draft specs, any browsers supporting this? */
#p-cactions ul li, #p-cactions ul li a { 
  border-radius-topleft: 1em;
  border-radius-topright: 1em;
}
#content {
  border-radius-topleft: 1em;
  border-radius-bottomleft: 1em;
}
div.pBody {
  border-radius-topright: 1em;
  border-radius-bottomright: 1em;
}


.toc {margin-top: 20px;}


/* Infobox template style */
/* Infobox template style */
Line 104: Line 72:
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }
.mw-plusminus-neg { color: #8B0000; }
/* </pre> */


/* Forum formatting -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/Wiki.png)
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; }


/* default skin for navigation boxes */
/* wikitable/prettytable class for skinning normal tables */
table.navbox {
/* everything below is imported from Monobook.css, blame Derik if it blows up */
    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 {
table.wikitable,
    background-color: #ccf;
table.prettytable {
    padding-left: 1em;
  margin: 1em 1em 1em 0;
    padding-right: 1em;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
}


table.navbox tr:not(:first-child) th {
table.wikitable th, table.wikitable td,
    background-color: #ddf;
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}
}


@media print {
table.wikitable th,
    .navbox {
table.prettytable th {
        display: none;
  background: #f2f2f2;
    }
  text-align: center;
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
table.wikitable caption,
 
table.prettytable caption {
div.Boxmerge,
  margin-left: inherit;
div.NavFrame {
  margin-right: inherit;
        margin: 0px;
  font-weight: bold;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
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;
}
}


/*Copied from http://www.barelyfitz.com/projects/tabber/example.css used under mit license
/* TELETRAN-1 SPECIFIC BITS */
see http://www.barelyfitz.com/projects/tabber/
*/
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */


/*--------------------------------------------------
.tt1_nowrap {
  REQUIRED to hide the non-active tab content.
white-space: nowrap;
  But do not hide them in the print stylesheet!
  --------------------------------------------------*/
.tabberlive .tabbertabhide {
display:none;
}
}


/*--------------------------------------------------
.tt1_storylink {
   .tabber = before the tabber interface is set up
  font-size: 10px;
   .tabberlive = after the tabber interface is set up
  background-color: #ececec;
   --------------------------------------------------*/
  border-width: 0 1px 0 1px;
.tabber {
  border-style: solid;
   padding: 0 5px 0 5px;
   border-color: #cccccc;
   white-space: nowrap;
}
}
.tabberlive {
margin-top:1em;
}
/*--------------------------------------------------
  ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab
  --------------------------------------------------*/
ul.tabbernav
{
margin:0;
padding: 3px 0;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
ul.tabbernav li
{
list-style: none;
margin: 0;
display: inline;
}
ul.tabbernav li a
{
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #ccc;
border-bottom: none;
background: #f2f7ff;
text-decoration: none;
}
ul.tabbernav li a:link { color: #448; }
ul.tabbernav li a:visited { color: #667; }
ul.tabbernav li a:hover
{
color: #000;
background: #fff9f2;
border-color: #CCC;
}
ul.tabbernav li.tabberactive a
{
background-color: #fff;
border-bottom: 1px solid #fff;
}
ul.tabbernav li.tabberactive a:hover
{
color: #000;
background: white;
border-bottom: 1px solid white;
}
/*--------------------------------------------------
  .tabbertab = the tab content
  Add style only after the tabber interface is set up (.tabberlive)
  --------------------------------------------------*/
.tabberlive .tabbertab {
padding:5px;
border:1px solid #CCC;
border-top:0;
border-left:none;
border-right:none;
border-bottom:none;
/* If you don't want the tab size changing whenever a tab is changed
    you can set a fixed height */
/* height:200px; */
/* If you set a fix height set overflow to auto and you will get a
    scrollbar when necessary */
/* overflow:auto; */
}
/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
display:none;
}
.tabberlive .tabbertab h3 {
display:none;
}
/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
height:200px;
overflow:auto;
}
/* </nowiki></pre> */
#title-gameicons { display: none!important; visibility: hidden !important; }
#title-linktabs {
        position:absolute;
        right:0;
        top:5px;
}
/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li  { display: none; }
/* Allow limiting of which header levels are shown in a TOC through {{TOClimit}} */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
/* Remove breadcrumbs for specific articles */
.page-Zero_One .subpages, .page-Zero_One .PageHeader h2 {display: none;}
.page-Oathkeeper_Oblivion.subpages, .page-Oathkeeper_Oblivion .PageHeader h2 {display: none;}
.page-Terra_Xehanort .subpages, .page-Terra_Xehanort .PageHeader h2 {display: none;}

Revision as of 20:06, 22 February 2011

/***** CSS placed here will be applied to all skins on the entire site. *****/
/* <s>See also: [[MediaWiki:Monobook.css]]</s> */
/* Or actually don't see it, because it's not useful. Only Common.css and your */
/* your own custom css files get loaded. */
/* <pre> */

@import "/w2/index.php?title=User:Derik/Common_tmp.css&action=raw&ctype=text/css";

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect { font-style: italic; }
.watchlistredir { font-style: italic; }

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

.toc {margin-top: 20px;}

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

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


/* wikitable/prettytable class for skinning normal tables */
/* everything below is imported from Monobook.css, blame Derik if it blows up */

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

/* TELETRAN-1 SPECIFIC BITS */

.tt1_nowrap {
white-space: nowrap;
}

.tt1_storylink {
  font-size: 10px;
  background-color: #ececec;
  border-width: 0 1px 0 1px;
  border-style: solid;
  padding: 0 5px 0 5px;
  border-color: #cccccc;
  white-space: nowrap;
}