Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
mNo edit summary
mNo edit summary
Line 223: Line 223:
background-color: #CC6666;
background-color: #CC6666;
}
}


/* http://en.wikipedia.org/wiki/MediaWiki:Common.css - June 6th, 2009 */
/* http://en.wikipedia.org/wiki/MediaWiki:Common.css - June 6th, 2009 */
Line 349: Line 344:
}
}


/* help came from http://www.w3schools.com/css/pr_border-bottom.asp, http://www.w3schools.com/html/html_tables.asp, http://www.somacon.com/p141.php, http://www.quackit.com/html/tags/html_div_tag.cfm*/
/* documentation colors inpried by kuler user greenredVendormate */
div.documentation
{
border:1px solid black;
border-color: rgb(161, 49, 0);
background-color: rgb(139, 169, 69);
text-align:center;
}
table.documentation th
{
background-color: rgb(255, 121, 30);
}
table.documentation td
{
text-align:left;
}
table.center
{
margin-left: auto;
margin-right: auto;
}
table.project_table th a, span.project a
{
color:#FFD100;
font-family : Courier;
}
.project_table a:hover, .Project a:hover
{
color:#FFD100;
}
table.sidebar
{
align:right;
width:25%;
}
.default-border-radius
{
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.default-border-top
{
-moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
}
.default-border-bottom
{
-moz-border-radius-bottomleft: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
}
/*
.portlet
{
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
}
*/
/*InterProject: gotten from http://en.wiktionary.org/wiki/MediaWiki:Common.css on 10/16/2010 */ 
.interProject
{
    display:none;
    clear: both;
    border-top: 2px dotted #AAAAAA;
    margin-top: 2em;
}
/* Grabbed from WikiBound on 2/1/2011 */
.roundy { border-radius: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; -khtml-border-radius: 20px; -icab-border-radius: 20px; -o-border-radius: 20px; }
.roundytl { border-top-left-radius: 20px; -moz-border-radius-topleft: 20px; -webkit-border-top-left-radius: 20px; -khtml-border-top-left-radius: 20px; -icab-border-top-left-radius: 20px; -o-border-top-left-radius: 20px; }
.roundytr { border-top-right-radius: 20px; -moz-border-radius-topright: 20px; -webkit-border-top-right-radius: 20px; -khtml-border-top-right-radius: 20px; -icab-border-top-right-radius: 20px; -o-border-top-right-radius: 20px; }
.roundybl { border-bottom-left-radius: 20px; -moz-border-radius-bottomleft: 20px; -webkit-border-bottom-left-radius: 20px; -khtml-border-bottom-left-radius: 20px; -icab-border-bottom-left-radius: 20px; -o-border-bottom-left-radius: 20px; }
.roundybr { border-bottom-right-radius: 20px; -moz-border-radius-bottomright: 20px; -webkit-border-bottom-right-radius: 20px; -khtml-border-bottom-right-radius: 20px; -icab-border-bottom-right-radius: 20px; -o-border-bottom-right-radius: 20px; }
.roundybottom { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; -moz-border-radius-bottomleft: 20px; -moz-border-radius-bottomright: 20px; -webkit-border-bottom-left-radius: 20px; -webkit-border-bottom-right-radius: 20px; -khtml-border-bottom-left-radius: 20px; -khtml-border-bottom-right-radius: 20px; -icab-border-bottom-left-radius: 20px; -icab-border-bottom-right-radius: 20px; -o-border-bottom-left-radius: 20px; -o-border-bottom-right-radius: 20px; }
.roundytop { border-top-left-radius: 20px; border-top-right-radius: 20px; -moz-border-radius-topleft: 20px; -moz-border-radius-topright: 20px; -webkit-border-top-left-radius: 20px; -webkit-border-top-right-radius: 20px; -khtml-border-top-left-radius: 20px; -khtml-border-top-right-radius: 20px; -icab-border-top-left-radius: 20px; -icab-border-top-right-radius: 20px; -o-border-top-left-radius: 20px; -o-border-top-right-radius: 20px; }
.roundyleft { border-top-left-radius: 20px; border-bottom-left-radius: 20px; -moz-border-radius-topleft: 20px; -moz-border-radius-bottomleft: 20px; -webkit-border-top-left-radius: 20px; -webkit-border-bottom-left-radius: 20px; -khtml-border-top-left-radius: 20px; -khtml-border-bottom-left-radius: 20px; -icab-border-top-left-radius: 20px; -icab-border-bottom-left-radius: 20px; -o-border-top-left-radius: 20px; -o-border-bottom-left-radius: 20px; }
.roundyright { border-bottom-right-radius: 20px; border-top-right-radius: 20px; -moz-border-radius-bottomright: 20px; -moz-border-radius-topright: 20px; -webkit-border-bottom-right-radius: 20px; -webkit-border-top-right-radius: 20px; -khtml-border-bottom-right-radius: 20px; -khtml-border-top-right-radius: 20px; -icab-border-bottom-right-radius: 20px; -icab-border-top-right-radius: 20px; -o-border-bottom-right-radius: 20px; -o-border-top-right-radius: 20px; }
table.fetable td
{
  background:#D4C285;
}
table.column
{
height:100%;
}
.mpgamelist a:link {color: #278514}
.mpgamelist a:visited {color: #278514}
.mpgamelist a:hover {color: #31a71a; text-decoration:none}


.bgimage {
  background-image: url('images/1/16/Falchion_transparent.png');
  background-position: center center;
  background-repeat: no-repeat;
}


.tab {
.tab {

Revision as of 20:11, 20 February 2015

/* CSS placed here will be applied to all skins */

<pre><nowiki> 
/* taken from http://www.grifkuba.org/main/wiki/index.php?title=MediaWiki:Common.css on Friday, February 26th, 2010 */

 /***** BACKGROUND COLORS FOR NAMESPACES *****/

 /* Colour of NS Manual + Manual_talk (light bluish violet) */

 
 .ns-100 #content, .ns-100 #p-cactions li, .ns-100 #p-cactions li a { background: #f3f3ff; }
 .ns-100 div.thumb { border-color: #f3f3ff; } 
 
 .ns-101 #content, .ns-101 #p-cactions li, .ns-101 #p-cactions li a { background: #f3f3ff; }
 .ns-101 div.thumb { border-color: #f3f3ff; }

 .ns-100 #content 
{
   border-style:solid;
   border-color:#ff0000 #0000ff;
}
 
 /***** BACKGROUND AND BORDER COLORS FOR CONTENT*****/
 
 /* Border colors */
 
 .borderc1 { border-color: #e9e9e9; border-width:thin; }/* light grey */
 
 .borderc2 { border-color: #aaaaaa; border-width:thin; }/* grey (as toc) */
 
 .borderc3 { border-color: #777777; border-width:thin; }/* dark grey */
 
 .borderc4 { border-color: #000000; border-width:thin; }/* black */
 
 .borderc5 { border-color: #c00000; border-width:thin; }/* red */
 
 .borderc6 { border-color: #025e9d; border-width:thin; }/* blue */
 
 .borderc7 { border-color: #008040; border-width:thin; }/* green */
 
 .borderc8 { border-color: #ffcc00; border-width:thin; }/* yellow */
 
 /* Background colors */
 
 .backgroundc1 { background-color: #ffffff; }/* white */
 
 .backgroundc2 { background-color: #f9f9f9; }/* light grey (as toc)*/
 
 .backgroundc3 { background-color: #eeeeee; }/* light grey (headers) */ 
 
 .backgroundc4 { background-color: #e0e0e0; }/* more grey */
 
 .backgroundc5 { background-color: #d2d2d2; }/* more grey */
 
 .backgroundc6 { background-color: #b7b7b7; }/* more grey */
 
 .backgroundc7 { background-color: #a3a3a3; }/* darker grey */
 
 /***** SOME OTHER SMALL THINGS *****/
 
 /* Give a bit of space to the TOC */
 
 #toc { margin: 1em 0; }
 
 /* Marking redirects in Special:Allpages*/
 
 .allpagesredirect { font-style: italic; }
 
 .watchlistredir { font-style: italic; }
 
 /* Bug 1583 Printing of thumbnails */
 
 div.tright { clear: right; }
 
 /* SideBoxes ([[:de:Wikipedia:TownBox|TB]]) */
 
 div.sideBox {
 	position: relative;
 	float: right;
 	background: white;
 	margin-left: 1em;
 	border: 1px solid gray;
 	padding: 0.3em;
 	width: 200px;
 	overflow: hidden;
 	clear: right;
 }
 div.sideBox dl {
 	padding: 0;
 	margin: 0 0 0.3em 0;
 	font-size: 96%;
 }
 div.sideBox dl dt {
 	background: none;
 	margin: 0.4em 0 0 0;
 }
 div.sideBox dl dd {
 	margin: 0.1em 0 0 1.1em;
 	background-color: #f3f3f3;
 }
 
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
.majorwarning {
background: yellow; 
padding: 0.3em; 
text-align: center; 
font-size: 125%; 
border: 2px solid red;
}
 
/** GENERAL PURPOSE PRETTY TABLES */
table.datatable {
	background-color: transparent;
        font-size: 14px;
}
table.datatable th, table.datatable td {
	padding: 4px;
        font-family: monospace;
        width:25%
}
table.datatable th {
	text-align: left;
	background-color: #999999;
}
table.datatable tr {
	background-color: #CCCCCC;
}
table.datatable tr:hover {
	background-color: #FFFFCC;
}
 
table.datatable td
{
  text-align:right;
}

table {color:#000 !important;}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #fff;
/*border: 1px #aaa solid;*/
border-collapse: collapse;
empty-cells:show;


}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
/*border: 1px #aaa solid;*/
padding: 0.2em 0.4em;
}
 
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
background: #232855;
text-align: center;
}
 
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: center;
}
 
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
 
/*** More whitespace on search page ***/
.page-Special_Search #search {
padding: 1em 0 2em 0;
}
 
.page-Special_Search #powersearch {
border: 1px solid #CCCCCC;
padding: 0.5em 0.5em;
}
 
.page-Special_Search #powersearch-namespaces {
padding-left: 1em;
margin: 0.7em 0;
}
 
.page-Special_Search #powersearch-namespaces label {
white-space: nowrap;
min-width: 8.4em;
display: block;
float: left;
}
 
/* Clear search button, but not check-boxes: */
.page-Special_Search br {
clear: left;
}
 
/**
 * Cute little "tip" boxes
 */
div.tip {
padding: 4px;
margin-top: 4px;
margin-bottom: 4px;
min-height: 30px; /* IE users will hate this... */
}
div.tip-info {
border: 1px solid #CC9933;
background-color: #CCCC99;
}
div.tip-gotcha {
border: 1px solid #CC0000;
background-color: #CC6666;
}

/* http://en.wikipedia.org/wiki/MediaWiki:Common.css - June 6th, 2009 */

/* Default skin for navigation boxes */
table.navbox {/* Navbox container style */
border: 1px solid #aaa;
width: 100%; 
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox {/* Single pixel border between adjacent navboxes */
margin-top: -1px;/* (doesn't work for IE6, but that's okay) */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
text-align: center;/* Title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
.navbox-group {/* Group style */
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}
.navbox, .navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
border-color: #fdfdfd; /* Must match background color */
}
.navbox-title,
table.navbox th {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
 
.collapseButton {/* 'show'/'hide' buttons created dynamically */
float: right;/* by the CollapsibleTables javascript in*/
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here*/
text-align: right; /* so they can be customised.*/
width: auto;
}
.navbox .collapseButton {/* In navboxes, the show/hide button balances */
width: 6em;/* the vde links from [[Template:Tnavbar]], */
}/* so they need to be the same width. */
 
/*
.subportal
{
border-style:medium dotted #ff00ff;
border-bottom:thick dotted #ffff00;
}

.c1
{
 border-style:medium dotted #00ff00;
border-bottom:thick dotted #ff0000;
}

.c2
{

}
*/

table.subportal {
	border-width: 2px 2px 2px 2px;
	border-spacing: 2px 2px 2px 2px;
	border-style: solid solid solid solid;
	border-color: green green green green;
	border-collapse: separate;
	background-color: rgb(255, 255, 240);
}


tr.subportalheading th, tr.subportalheading td {
	border-width: 2px 2px 2px 2px;
	padding: 0.2em 1em 0em 1em !important;
	border-color: blue blue blue blue;
	background-color: rgb(250, 240, 230);
	width:15%;
}

tr.subportalheading th {
	border-style: solid solid solid solid;
	-moz-border-radius: 3px 3px 3px 3px;
}
tr.subportalheading td{
	border-style: dashed dashed dashed dashed;
	text-align: center;
	-moz-border-radius: 0px 0px 0px 0px;
}

td.subportalcell
{
	border-width: 0px 0px 0px 0px;
	border-style: dashed dashed dashed dashed;
	border-color: blue blue blue blue;
	background-color: rgb(250, 240, 230);
        padding: 0px 4px 4px 4px;
}



.tab {
border-radius: 7px 7px 0 0;
-moz-border-radius: 7px 7px 0 0;
-webkit-border-radius: 7px 7px 0 0;
-khtml-border-radius: 7px 7px 0 0;
-icab-border-radius: 7px 7px 0 0;
-o-border-radius: 7px 7px 0 0;
text-align:center;
padding: 3px 5px;
margin: 0px;
border: 2px solid #B0B0B0;
background-color: #FFFFFF;
white-space: nowrap;
cursor:pointer;
}

span.tab:hover, div.tab:hover, td.tab:hover {
background-color:#222222;
}

.tabselected {
background-color:#222 !important;
border-bottom: 2px solid #222;
color: #d9d9d9;
}

.tabcontainer p {
margin:0;
}

/* Revision differences */
.diff-deletedline, .diff-addedline {color:black;}

pre {
background-color: #333;
color: #d9d9d9;
}


/* Special:AllMessages */
.TablePager td {background-color: transparent;}
.TablePager th {background-color: #555;}
.TablePager tr:hover td {background-color: #333;}

.am_default, .am_actual {color:black;}

/* For positioning icons at top-right, used in Templates
   "Spoken Article" and "Featured Article" */
div.topicon {
    position: absolute;
    top: -2em;
    margin-right: -100px;
    display: block !important;
}
 
/* FR topicon position */
div.flaggedrevs_short {
    position: absolute;
    top: -3em;
    right: 0px;
    z-index: 1;
    margin-left: 0;
    /* Because this is not yet a topicon, we emulate it's behavior,
       this ensure compatibility with edit lead section gadget. */
    margin-right: -10px;
}

div#mw-panel { width: 12em; }
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { left: 12em; }

</nowiki></pre>