MediaWiki: Common.css
From 3DGE Wiki
Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/*
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;
}
/**
** Permits the use of div tags to suppress auto-numbering in TOC
**/
#hideTOCnumbers .tocnumber { display: none; }
/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target {
background-color: #DEF;
}
/* fileinfo table cell style */
.fileinfo-paramfield {
background: none repeat scroll 0% 0% #CCF;
text-align: right;
padding-right: 0.4em;
width: 15%;
font-weight: bold;
}
/* Navbar sub-component classes */
.wikitable.dw-navbox td {
padding-left: 5px;
padding-right: 5px;
}
.dw-navdiv {
font-variant: small-caps;
font-weight: normal;
position: absolute;
top: 0px;
left: 0px;
}
.dw-navul li {
display: inline;
}
/* Generic class to apply nowrap to anchor descendents of an element */
.dw-nowraplinks a {
white-space: nowrap;
}
/* Manc's shadow table styles */
.shadowtable {
margin: 20px auto;
width: 85%;
box-shadow: 0px 3px 8px #999999;
border: 1px solid #999999;
border-collapse:Collapse;
cursor: default;
}
.shadowtable th {
background-color: #555555;
color: #F0F0F0;
font-weight: bold;
border: 1px solid #404040;
padding: 6px;
font-size: 16px;
}
.shadowtable tr:hover {
background-color: #EEEEEE;
}
.shadowtable td {
padding: 8px;
border:1px solid #999999;
}
.shadowtable tr td:first-child { /* Label */
width: 20%;
font-weight: bold;
}
/* Style for table cells with decent padding */
.wikitable.dw-squarecells td {
padding: 0.5em 1.0em;
}
/* Front page column styles (moved here from in-article) */
#frontpage-column-left {
float: left;
margin: 0;
padding: 0;
margin-right: 1%;
width: 74%;
}
#frontpage-column-right {
float: right;
width: 24%;
font-size: 85%;
}