MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus EnzyklopAtys
Lasabo (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „→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...“) |
Lasabo (Diskussion | Beiträge) |
||
Zeile 55: | Zeile 55: | ||
/* window without title - just borders */ | /* window without title - just borders */ | ||
.ryzom-ui-tl { | .ryzom-ui-tl { | ||
− | background-image: url(ryzom-ui/skin_tl.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_tl.gif); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: left top; | background-position: left top; | ||
Zeile 61: | Zeile 61: | ||
} | } | ||
.ryzom-ui-tr { | .ryzom-ui-tr { | ||
− | background-image: url(ryzom-ui/skin_tr.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_tr.gif); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: right top; | background-position: right top; | ||
Zeile 67: | Zeile 67: | ||
} | } | ||
.ryzom-ui-t { | .ryzom-ui-t { | ||
− | background-image: url(ryzom-ui/skin_t.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_t.gif); |
background-repeat: repeat-x; | background-repeat: repeat-x; | ||
background-position: left top; | background-position: left top; | ||
Zeile 77: | Zeile 77: | ||
margin: 0px 0px; | margin: 0px 0px; | ||
line-height: 32px; | line-height: 32px; | ||
− | background-image: url(ryzom-ui/skin_header_l.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_header_l.gif); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: left top; | background-position: left top; | ||
Zeile 83: | Zeile 83: | ||
} | } | ||
.ryzom-ui-header .ryzom-ui-tr { | .ryzom-ui-header .ryzom-ui-tr { | ||
− | background-image: url(ryzom-ui/skin_header_r.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_header_r.gif); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: right top; | background-position: right top; | ||
Zeile 89: | Zeile 89: | ||
} | } | ||
.ryzom-ui-header .ryzom-ui-t { | .ryzom-ui-header .ryzom-ui-t { | ||
− | background-image: url(ryzom-ui/skin_header_m.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_header_m.gif); |
background-repeat: repeat-x; | background-repeat: repeat-x; | ||
background-position: left top; | background-position: left top; | ||
Zeile 100: | Zeile 100: | ||
/* window body */ | /* window body */ | ||
.ryzom-ui-l { | .ryzom-ui-l { | ||
− | background-image: url(ryzom-ui/skin_l.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_l.gif); |
background-position: left top; | background-position: left top; | ||
background-repeat: repeat-y; | background-repeat: repeat-y; | ||
Zeile 106: | Zeile 106: | ||
} | } | ||
.ryzom-ui-r { | .ryzom-ui-r { | ||
− | background-image: url(ryzom-ui/skin_r.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_r.gif); |
background-position: right top; | background-position: right top; | ||
background-repeat: repeat-y; | background-repeat: repeat-y; | ||
Zeile 114: | Zeile 114: | ||
margin: 0 8px; | margin: 0 8px; | ||
padding: 8px; | padding: 8px; | ||
− | background-image: url(ryzom-ui/skin_blank.png); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_blank.png); |
background-repeat: repeat; | background-repeat: repeat; | ||
} | } | ||
.ryzom-ui-body { | .ryzom-ui-body { | ||
− | background-image: url(ryzom-ui/skin_blank_inner.png); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_blank_inner.png); |
background-repeat: repeat; | background-repeat: repeat; | ||
/* leave 5px room after bottom border */ | /* leave 5px room after bottom border */ | ||
Zeile 130: | Zeile 130: | ||
/* window bottom border */ | /* window bottom border */ | ||
.ryzom-ui-bl { | .ryzom-ui-bl { | ||
− | background-image: url(ryzom-ui/skin_bl.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_bl.gif); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: left top; | background-position: left top; | ||
Zeile 136: | Zeile 136: | ||
} | } | ||
.ryzom-ui-br { | .ryzom-ui-br { | ||
− | background-image: url(ryzom-ui/skin_br.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_br.gif); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: right top; | background-position: right top; | ||
Zeile 142: | Zeile 142: | ||
} | } | ||
.ryzom-ui-b { | .ryzom-ui-b { | ||
− | background-image: url(ryzom-ui/skin_b.gif); | + | background-image: url(http://kamigawas.de/ryzom/wiki/skins/monobook/ryzom-ui/skin_b.gif); |
background-repeat: repeat-x; | background-repeat: repeat-x; | ||
background-position: left top; | background-position: left top; |
Version vom 22. Juni 2009, 12:15 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%;
}
.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;
}