MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus EnzyklopAtys
K |
|||
Zeile 153: | Zeile 153: | ||
.infobox { | .infobox { | ||
border: 1px solid #aaaaaa; | border: 1px solid #aaaaaa; | ||
− | background-color: # | + | background-color: #CCCCCC; |
color: black; | color: black; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; |
Version vom 19. Januar 2010, 22:32 Uhr
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
/*
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;
}