Vorlog:Wikidata Infobox/styles.css
Erscheinungsbild
#wdinfobox {
float: right; /* override .infobox style: this rule is flipped (changed to
“left”) on rtl pages, while MediaWiki:Common.css isn’t */
width: 210px;
font-size: 95%;
table-layout: fixed;
padding: 0;
}
#wdinfobox .image img {
max-height:250px;
width:auto;
}
#wdinfoboxcaption {
background-color:white;
}
/* @noflip */
#wdinfobox.mw-content-ltr #wdinfoboxcaption {
margin-left: 0;
}
/* @noflip */
#wdinfobox.mw-content-rtl #wdinfoboxcaption {
margin-right: 0;
}
#wdinfobox th, #wdinfo_taxon th {
vertical-align: top;
word-wrap: break-word;
hyphens: auto;
}
#wdinfobox td, #wdinfo_taxon td {
word-wrap: break-word;
hyphens: auto;
}
#wdinfobox li:not(:last-child) {
margin-bottom: 3px;
}
#wdinfo_taxon {
font-size: 95%;
table-layout: fixed;
padding: 0;
}
.taxontree-lcell, .wikidatainfobox-lcell {
background-color: #cfe3ff;
padding-left: 0.4em;
padding-right: 0.4em;
font-weight:bold;
}
.taxontree-rcell, .wikidatainfobox-rcell {
word-wrap: break-word;
hyphens: auto;
}
/* @noflip */
#wdinfobox.mw-content-ltr .taxontree-lcell,
#wdinfobox.mw-content-ltr .wikidatainfobox-lcell {
text-align: right;
word-wrap: break-word;
hyphens: auto;
}
/* @noflip */
#wdinfobox.mw-content-rtl .taxontree-lcell,
#wdinfobox.mw-content-rtl .wikidatainfobox-lcell {
text-align: left;
word-wrap: break-word;
hyphens: auto;
}
.taxontree-fullcell {
text-align: center;
}
.taxontree-hdrcell {
text-align: center;
background-color: #cfe3ff;
padding-left: 0.4em;
padding-right: 0.4em;
font-weight:bold;
}
.taxontree-row {
}
@media screen and (max-width: 600px) {
.wdinfo_nomobile {
display: none;
visibility: hidden;
height: 0;
}
}
.wdinfobox_horizontal {
width: 100% !important;
clear: both !important;
display: block;
column-count: 4;
}
.wdinfobox_hide {
display: none;
}
#wdcreator {
display: none;
}
.wdcreator_show {
display: block !important;
}
#wdinfo_taxon ul {
list-style: none;
list-style-position: inside;
}
/* @noflip */
#wdinfobox.mw-content-ltr #wdinfo_taxon ul {
padding-left: 0;
margin-left: 0;
}
/* @noflip */
#wdinfobox.mw-content-rtl #wdinfo_taxon ul {
padding-right: 0;
margin-right: 0;
}
.wikidatainfoboxVN ul li {
list-style: none;
padding: 0;
margin: 0;
}
.wikidatainfoboxVN ul {
margin-left: 0;
}
.wikidatainfoboxVN {
padding: 0;
margin: 0;
}