MediaWiki:Common.css
Aus EnzyklopAtys
Version vom 2. März 2010, 20:32 Uhr von CeNobiteElf (Diskussion | Beiträge)
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
background-color: #f9f9f9;
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
border-color: #8888aa;
border-width: 1px;
}
/*
class="ryzom-ui ryzom-ui-header" both as class name, would create window with a title
class="ryzom-ui" will create window without title, just borders
[code]
<div class="ryzom-ui">
<div class="ryzom-ui-tl"><div class="ryzom-ui-tr">
<div class="ryzom-ui-t"><!-- title --></div>
</div></div>
<div class="ryzom-ui-l"><div class="ryzom-ui-r"><div class="ryzom-ui-m">
<div class="ryzom-ui-body"><!-- content --></div>
</div></div></div>
<div class="ryzom-ui-bl"><div class="ryzom-ui-br"><div class="ryzom-ui-b"></div></div></div>
</div><!-- .ryzom-ui -->
[/code]
*/
.ryzom-ui-main {
width: 50%;
hight: 300px;
}
.ryzom-ui {
color: white;
opacity: .95;
}
.ryzom-ui input, .ryzom-ui select {
border-top: 1px solid #030403;
border-right: 1px solid #6e7f57;
border-bottom: 1px solid #889e6c;
border-left: 1px solid #272d1f;
background-color: #37402b;
color: #ddd;
font-size: 12px;
margin: 2px 0 5px 0;
}
.ryzom-ui input[type=text] {
width: 100%;
}
input.ryzom-ui-button, .ryzom-ui-button {
border-bottom: 1px solid #030403;
border-left: 1px solid #6e7f57;
border-top: 1px solid #889e6c;
border-right: 1px solid #272d1f;
background-color: #435120;
}
a.ryzom-ui-button, a.ryzom-ui-button:visited {
color: white;
padding: 0 .5em;
text-decoration: none;
}
a.ryzom-ui-button:hover {
background: #536130;
color: #ddd;
}
/* window without title - just borders */
.ryzom-ui-tl {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_tl.gif);
background-repeat: no-repeat;
background-position: left top;
width: 100%; height: 8px;
}
.ryzom-ui-tr {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_tr.gif);
background-repeat: no-repeat;
background-position: right top;
height: 8px;
}
.ryzom-ui-t {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_t.gif);
background-repeat: repeat-x;
background-position: left top;
height: 8px;
margin: 0 8px;
}
/* window with proper header */
.ryzom-ui-header .ryzom-ui-tl {
margin: 0px 0px;
line-height: 32px;
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_header_l.gif);
background-repeat: no-repeat;
background-position: left top;
height: 32px;
}
.ryzom-ui-header .ryzom-ui-tr {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_header_r.gif);
background-repeat: no-repeat;
background-position: right top;
height: 32px;
}
.ryzom-ui-header .ryzom-ui-t {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_header_m.gif);
background-repeat: repeat-x;
background-position: left top;
margin-left: 12px;
margin-right: 26px;
height: 32px;
text-transform: uppercase;
color: white;
}
/* window body */
.ryzom-ui-l {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_l.gif);
background-position: left top;
background-repeat: repeat-y;
width: 100%;
}
.ryzom-ui-r {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_r.gif);
background-position: right top;
background-repeat: repeat-y;
width: 100%;
}
.ryzom-ui-m {
margin: 0 8px;
padding: 8px;
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_blank.png);
background-repeat: repeat;
}
.ryzom-ui-body {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_blank_inner.png);
background-repeat: repeat;
/* leave 5px room after bottom border */
margin: 0px 0 5px 0;
padding: 10px 10px 5px 10px;
border-top: 1px solid #030403;
border-right: 1px solid #6e7f57;
border-bottom: 1px solid #889e6c;
border-left: 1px solid #272d1f;
}
/* window bottom border */
.ryzom-ui-bl {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_bl.gif);
background-repeat: no-repeat;
background-position: left top;
height: 8px;
}
.ryzom-ui-br {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_br.gif);
background-repeat: no-repeat;
background-position: right top;
height: 8px;
}
.ryzom-ui-b {
background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_b.gif);
background-repeat: repeat-x;
background-position: left top;
height: 8px;
margin: 0 8px;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #CCCCCC;
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;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
position:absolute; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
}
.collapseButton_dark { /* 'show'/'hide' buttons created dynamically by the */
position:absolute; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
color:#FFFFFF;
}
.collapseButton_outer {
float: right;
}
.collapseButton_dark a {
color:#D6D6D6;
}
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
/* Giving headers and TOC a little extra space */
h2 {
margin-top: 20px;
}
.toc {
margin-top: 20px;
}
/* Recent changes byte indicators */
.mw-plusminus-pos {
color: #006500;
}
.mw-plusminus-neg {
color: #8B0000;
}
/* Image frame fix */
div.tright, div.tleft {
border: 1px solid silver;
}
div.thumbinner {
background: inherit;
border: none;
color: inherit;
}
#article div.thumb {
color:inherit;
}
/**
* Stylesheet for Babel extension.
*
* This should be added to your MediaWiki:Common.css page when installing this
* extension and should not be modified. You may modify the CSS code on the
* MediaWiki:Common.css page to adjust colours etc.
*
* @addtogroup Extensions
*/
/* Babel wrapper layout. */
table.mw-babel-wrapper {
width: 238px;
float: right;
clear: right;
margin: 1em;
border-style: solid;
border-width: 1px;
border-color: #99B3FF;
}
/* Babel box layout. */
div.mw-babel-box {
float: left;
clear: left;
margin: 1px;
}
div.mw-babel-box table {
width: 238px;
}
div.mw-babel-box table th {
width: 238px;
width: 45px;
height: 45px;
font-size: 14pt;
font-family: monospace;
}
div.mw-babel-box table td {
font-size: 8pt;
padding: 4pt;
line-height: 1.25em;
}
/* Babel box colours. */
div.mw-babel-box-0 {
border: solid #B7B7B7 1px;
}
div.mw-babel-box-1 {
border: solid #C0C8FF 1px;
}
div.mw-babel-box-2 {
border: solid #77E0E8 1px;
}
div.mw-babel-box-3 {
border: solid #99B3FF 1px;
}
div.mw-babel-box-4 {
border: solid #CCCC00 1px;
}
div.mw-babel-box-5 {
border: solid #F99C99 1px;
}
div.mw-babel-box-N {
border: solid #6EF7A7 1px;
}
div.mw-babel-box-0 table th {
background-color: #B7B7B7;
}
div.mw-babel-box-1 table th {
background-color: #C0C8FF;
}
div.mw-babel-box-2 table th {
background-color: #77E0E8;
}
div.mw-babel-box-3 table th {
background-color: #99B3FF;
}
div.mw-babel-box-4 table th {
background-color: #CCCC00;
}
div.mw-babel-box-5 table th {
background-color: #F99C99;
}
div.mw-babel-box-N table th{
background-color: #6EF7A7;
}
div.mw-babel-box-0 table {
background-color: #E8E8E8;
}
div.mw-babel-box-1 table {
background-color: #F0F8FF;
}
div.mw-babel-box-2 table {
background-color: #D0F8FF;
}
div.mw-babel-box-3 table {
background-color: #E0E8FF;
}
div.mw-babel-box-4 table {
background-color: #FFFF99;
}
div.mw-babel-box-5 table {
background-color: #F9CBC9;
}
div.mw-babel-box-N table {
background-color: #C5FCDC;
}
.babel-box td.babel-footer {
text-align: center;
}