Difference between revisions of "MediaWiki:Common.css"

From DoomWiki.org

(removed a lot of wikia cruft)
(removed some more wikia cruft)
Line 5: Line 5:
  
 
<pre><nowiki>*/
 
<pre><nowiki>*/
 
/* Hide the little logo and make the background of the main logo transparent */
 
.logoContainer { background-color: transparent!important; }
 
.wikiaLogo {display:none!important}
 
  
 
/* Help headers */
 
/* Help headers */
Line 200: Line 196:
 
.percent-fill {  
 
.percent-fill {  
 
   height:24px;  
 
   height:24px;  
  background: #ffffff url(http://images.wikia.com/central/images/3/31/Gradient24.png) 0 0 repeat;
 
 
}
 
}
 
.percent-empty {  
 
.percent-empty {  

Revision as of 04:01, 3 October 2011

/* 
See also: [[MediaWiki:Monobook.css]]

Tools: [http://www.doomwiki.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000 reload cache] | [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.doomwiki.com%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss%26smaxage%3D18000&usermedium=all check w3c validation]

<pre><nowiki>*/

/* Help headers */
 

    .basic {
         color:#006600; 
     }

    .moderate {
         color:#333399; 
     }

    .expert {
          color:#663399; 
     }

    .helpheader {
	padding-left: 5px;
	margin-top: .5em;
	margin-bottom: .17em;
        width: 100%;
        background-repeat: repeat-y;
        clear: right;
        display: table;
     }
    .helpheader h2 {
        margin: 0px !important;
        display: inline;
        float: left;
        font-size: 140%;
        font-weight: bold;
        line-height: 150%;
        margin: 15px 0px 3px 0px;
        padding:0.4em;
        text-align:left;
        vertical-align:middle;
        border-style: none;
     }
    .helpheader h2 ~ h2 {
        display: inline;
        float: left;
     }
    .silver_taskstar h2 {
        padding-left: 25px;
        padding-right: 15px;
     }
    .silver_taskstar h2 ~ h2 {
        background: transparent !important;
        padding-left: 0px;
     }
    .helpheader h2 ~ h2:before {
        content: '/';
        margin-right: 10px;
     }
    .helpheader .editsection {
        background: white;
        margin-top: -25px;
        position: absolute;
        right: 5px;
     }

/* 
=== Babel === 
*/

div.babelbox {
   float: right;
   margin-left: 1em;
   margin-bottom: 0.5em;
   width: 246px;
   border: 1px solid #99B3FF;
   padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
   margin: 2px 4px 2px 4px; /* t, l, b, r */
   width:238px;
   border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
   text-align:center;
   font-size:14pt;
   width:45px;
   height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em
}

.lang-block0 {
   border:1px solid #FFB3B3;
}
td.lang-code0 {
  background-color: #FFB3B3;
  color: black;
}
td.lang-description0 {
  background-color: #FFE0E8;
  color: black;
}

.lang-block1,  .lang-block2, .lang-block3  {
   border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
  background-color: #99B3FF;
  color: black;
}
td.lang-description1,  td.lang-description2, td.lang-description3 {
  background-color: #E0E8FF;
  color: black;
}

.lang-blockN {
   border:1px solid #6EF7A7;
}
td.lang-codeN {
  background-color: #6EF7A7;
  color: black;
}
td.lang-descriptionN {
  background-color: #C5FCDC;
  color: black;
}

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

/* === underline classes === */

.underlinelink a{ text-decoration: underline ! important; }
.nounderlinelink a{ text-decoration: none ! important; }

/* font class for 'click here' */

.clickhere a, .clickhere a:visited { 
   color: #3366BB !important
}
.clickhere a:hover, .clickhere a:active { 
  color: #268CFE !important
}

/* === class for task boxes === */
.task {
  border: 1px solid #585490; 
  background: #f8faff; 
  padding:.5em; }

/* === class for main page link tables === */
#bodyContent .buttonlink a { 
  padding-left: 14px !important;
}
#bodyContent .buttonstar a {
  padding-left: 14px !important;
}

/* === misc === */
li #credits { white-space: normal; }
.headbare h1, .headbare h2 { border-bottom: none; }
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }

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

/* === for Percent template === */
.percent-fill { 
  height:24px; 
}
.percent-empty { 
  height: 24px; 
  background: transparent; 
}

/* === Dynamic navigation === */

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

/* == For experimental Adoption 2.0 template == */
.adoption20 {
        position: absolute;
        top: 5px;
        right: 12px;
        height: 22px;
        padding: 2px 5px;
        border: 1px solid #F00;
        background-color: #FFFFDB;
}
.adoption20 .translate {
        position: absolute;
        right: 5px;
        font-size: 90%;
        border: 1px solid #BBBB66;
        background-color: #FFFFD7;
        float:left;
        padding: 1px .5em;
}

/* More Hubs styling -Dantman */
.morehubs {
	background: #FFFFFF;
	position: absolute;
	margin: 0px;
	padding: 0px;
	text-align: left;
	vertical-align: middle;
}
.morehubs map,
.morehubs div,
.morehubs p {
	text-align: left;
	vertical-align: middle;
	margin: 0px;
	padding: 0px;
}
.morehubs p {
	position: relative;
	left: -15px;
	top: 3px;
}

/* remove talk link from forum namespace (monobooks/newskins/quartzskins) -Splarka */
body.ns-110 #ca-talk, body.ns-110 #this_talk { display: none; }

/* TabView extension */
.yui-content {
background-color: #EDF5FF;
/*border: solid 1px;*/
padding: 0.25em 0.5em;
}

.yui-nav {
border-color:#EDF5FF;
border-style:solid;
border-width:0pt 0pt 5px;
margin: 0px !important;
}


.yui-skin-sam .yui-navset .yui-nav, .yui-skin-sam .yui-navset .yui-navset-top .yui-nav {
border-color:#EDF5FF;
border-style:solid;
border-width:0pt 0pt 5px;
}

.yui-navset .yui-nav .selected {
background-color: #EDF5FF;
}

.yui-navset .yui-nav li {
padding-left: 10px;
padding-right: 10px;
}

/*</pre>
=== Infobox classes copied from en.wikipedia ===
<pre> */
/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 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;
    }
}
 
/* styles for 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;
}

/* Messagebox templates */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
}
.messagebox.merge {
   border: 1px solid #c0b8cc;
   background-color: #f0e5ff;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}