MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.: .kkrieger_projekt{ float:left; margin:10px; width:200px; display:block; padding:2px; backgr…“ |
Nicole (Diskussion | Beiträge) infobox |
||
| Zeile 9: | Zeile 9: | ||
border: 2px solid #DFDFDF; | border: 2px solid #DFDFDF; | ||
} | } | ||
/* infobox section start */ | |||
.infobox { | |||
background-color: white; | |||
border: 1px solid #666666; | |||
border-radius: 2px; | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
padding: 0; | |||
width: 100%; | |||
max-width:320px; | |||
font-family: sans-serif; | |||
} | |||
.infobox > div { | |||
background-color: #737373; | |||
color: white; | |||
padding: .4em .7em; | |||
} | |||
.infobox > div:first-child { | |||
text-align: center; | |||
padding: .642857em 1em .3em 1em; | |||
font-size: 180%; | |||
font-weight: bold; | |||
overflow: auto; | |||
} | |||
.infobox img { | |||
text-align: center; | |||
height: 160px; | |||
width: 100%; | |||
margin: auto; | |||
object-fit: contain; | |||
padding: .5em 0 0 0; | |||
} | |||
.infobox table { | |||
border-collapse: collapse; | |||
margin: .5em; | |||
color: #000; | |||
} | |||
.infobox table tr { | |||
border-top:1px solid silver; | |||
} | |||
.infobox table tr:first-child { | |||
border-top: 0; | |||
} | |||
.infobox table th { | |||
text-align: left; | |||
vertical-align: top; | |||
padding:0.5em 0.2em; | |||
} | |||
.infobox table td { | |||
vertical-align: top; | |||
text-align: left; | |||
padding:0.5em 0.2em; | |||
} | |||
.infobox-green { | |||
background-color: white; | |||
} | |||
.infobox-green > div { | |||
background-color: #00cc00; | |||
} | |||
.infobox-green * { | |||
border-color: #00b300; | |||
} | |||
.infobox-black { | |||
background-color: white; | |||
} | |||
.infobox-black > div { | |||
background-color: #262626; | |||
} | |||
.infobox-black * { | |||
border-color: #1a1a1a; | |||
} | |||
.infobox-red { | |||
background-color: white; | |||
} | |||
.infobox-red > div { | |||
background-color: #cc0000; | |||
} | |||
.infobox-red * { | |||
border-color: #b30000; | |||
} | |||
.infobox-cyan { | |||
background-color: white; | |||
} | |||
.infobox-cyan > div { | |||
background-color: #00cccc; | |||
} | |||
.infobox-cyan * { | |||
border-color: #00b3b3; | |||
} | |||
.infobox .float { | |||
float: right; | |||
} | |||
/* infobox section end */ | |||
Aktuelle Version vom 12. April 2026, 19:57 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.kkrieger_projekt{
float:left;
margin:10px;
width:200px;
display:block;
padding:2px;
background-color: #F8F8FF;
border: 2px solid #DFDFDF;
}
/* infobox section start */
.infobox {
background-color: white;
border: 1px solid #666666;
border-radius: 2px;
float: right;
clear: right;
margin: 0 0 1em 1em;
padding: 0;
width: 100%;
max-width:320px;
font-family: sans-serif;
}
.infobox > div {
background-color: #737373;
color: white;
padding: .4em .7em;
}
.infobox > div:first-child {
text-align: center;
padding: .642857em 1em .3em 1em;
font-size: 180%;
font-weight: bold;
overflow: auto;
}
.infobox img {
text-align: center;
height: 160px;
width: 100%;
margin: auto;
object-fit: contain;
padding: .5em 0 0 0;
}
.infobox table {
border-collapse: collapse;
margin: .5em;
color: #000;
}
.infobox table tr {
border-top:1px solid silver;
}
.infobox table tr:first-child {
border-top: 0;
}
.infobox table th {
text-align: left;
vertical-align: top;
padding:0.5em 0.2em;
}
.infobox table td {
vertical-align: top;
text-align: left;
padding:0.5em 0.2em;
}
.infobox-green {
background-color: white;
}
.infobox-green > div {
background-color: #00cc00;
}
.infobox-green * {
border-color: #00b300;
}
.infobox-black {
background-color: white;
}
.infobox-black > div {
background-color: #262626;
}
.infobox-black * {
border-color: #1a1a1a;
}
.infobox-red {
background-color: white;
}
.infobox-red > div {
background-color: #cc0000;
}
.infobox-red * {
border-color: #b30000;
}
.infobox-cyan {
background-color: white;
}
.infobox-cyan > div {
background-color: #00cccc;
}
.infobox-cyan * {
border-color: #00b3b3;
}
.infobox .float {
float: right;
}
/* infobox section end */