Difference between revisions of "MediaWiki:Common.css"

From Crystal Path
Jump to navigationJump to search
(Created page with '**** CSS placed here will be applied to all skins on the entire site. ****: See also: MediaWiki:Monobook.css: <pre>: /* Mark redirects in Special:Allpages and S…')
 
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
.infobox {
 
.infobox {
 
   border: 1px solid #aaaaaa;
 
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
+
   /*background-color: #f9f9f9;*/ original grey
 +
  background-color: transparent;
 
   color: black;
 
   color: black;
 
   margin-bottom: 0.5em;
 
   margin-bottom: 0.5em;
 
   margin-left: 1em;
 
   margin-left: 1em;
 
   padding: 0.2em;
 
   padding: 0.2em;
  float: right;
 
 
   clear: right;
 
   clear: right;
 
}
 
}

Latest revision as of 14:48, 29 January 2010

/***** CSS placed here will be applied to all skins on the entire site. *****/
/* See also: [[MediaWiki:Monobook.css]] */
/* <pre> */

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

/* Infobox template style */
.infobox {
   border: 1px solid #aaaaaa;
   /*background-color: #f9f9f9;*/ original grey
   background-color: transparent;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   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;
}

/* Custom Gallery */
table.gallery {
	margin: 2px auto 2px auto;
	padding: 2px;
}
table.gallery tr {
	vertical-align: top;
}
table.gallery td {
	vertical-align: top;
	border: none;
	margin: 2px;
}
div.gallerybox {
	margin: 2px;
	width:  150px;
	border: none;
}
div.gallerybox div.thumb {
	text-align: center;
	margin: 2px;
}
div.gallerytext {
	font-size: smaller;
	text-align: center;
	padding: 2px 4px;
	border: none;
}

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

/* Recent changes byte indicators */
.mw-plusminus-pos { color: #006500; }
.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 */
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;
    }
}

/* custom setting for gallery */

div.gallerytext {
	font-size: smaller;
	text-align: center;
	padding: 2px 4px;
	background-color: inherit;
	border: 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: 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;
}

/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
   instance, will limit to showing ==headings== and ===headings=== but no further (as long as
   there are no =headings= on the page, which there shouldn't be according to the MoS). */
.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;}

/* Per page stuff (example) */
body.page-User_Diablocon div#diablocon_card { background: #000000 url("http://card.mygamercard.net/lastgame/diablocon.png") 0 0 no-repeat; }

.noLinkColors a, 
#bodyContent .noLinkColors a.external,
#bodyContent .noLinkColors a.extiw {
    color: inherit;
}

body.page-Choco_Mog .subpages { display: none; }