This page is protected against editing.

Template:Wikidata Infobox/styles.css

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
/* @noflip */
#wdinfobox[dir="ltr"] {
	float: right; /* override .infobox style: this rule is flipped (changed to “left”) on rtl pages, while MediaWiki:Common.css isn’t */
	clear: right; /* override .infobox style: this rule is flipped (changed to “left”) on rtl pages, while MediaWiki:Common.css isn’t */
	margin-right: 0;
	margin-left: 1em;
}
/* @noflip */
#wdinfobox[dir="rtl"] {
	float: left; /* override .infobox style: this rule is flipped (changed to “left”) on rtl pages, while MediaWiki:Common.css isn’t */
	clear: left; /* override .infobox style: this rule is flipped (changed to “left”) on rtl pages, while MediaWiki:Common.css isn’t */
	margin-left: 0;
	margin-right: 1em;
}
#wdinfobox {
	width: 258px;
	box-sizing: border-box;
	font-size: 95%;
	padding: 0;
}

#wdinfobox .image img {
	max-width: 250px;
	max-height: 250px;
	width: auto;
}
#wdinfoboxcaption {
	background: #FFF;
}
/* @noflip */
#wdinfobox[dir="ltr"] #wdinfoboxcaption {
	margin-left: 0;
}
/* @noflip */
#wdinfobox[dir="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: #CFE3FF;
	padding-left: .4em;
	padding-right: .4em;
	font-weight: bold;
}
.taxontree-rcell, .wikidatainfobox-rcell {
	word-wrap: break-word;
	hyphens: auto;
}

/* @noflip */
#wdinfobox[dir="ltr"] .taxontree-lcell,
#wdinfobox[dir="ltr"] .wikidatainfobox-lcell {
	text-align: right;
	word-wrap: break-word;
	hyphens: auto;
}
/* @noflip */
#wdinfobox[dir="rtl"] .taxontree-lcell,
#wdinfobox[dir="rtl"] .wikidatainfobox-lcell {
	text-align: left;
	word-wrap: break-word;
	hyphens: auto;
}

.taxontree-fullcell {
	text-align: center;
}

.taxontree-hdrcell {
	text-align: center;
	background: #CFE3FF;
	padding-left: .4em;
	padding-right: .4em;
	font-weight: bold;
}

.taxontree-row {
	
}

@media screen and (max-width: 600px) {
  .wdinfo_nomobile {
  	display: none;
  	visibility: hidden;
  	height: 0;
  }
}

.wdinfobox_horizontal {
	clear: both !important;
	display: block;
	box-sizing: border-box !important;
	width: 100% !important;
	column-width: 24em;
}

.wdinfobox_hide {
	display: none;
}

#wdcreator {
	display: none;
}

.wdcreator_show {
	display: block !important;
}

#wdinfo_taxon ul {
	list-style: none;
	list-style-position: inside;
}
/* @noflip */
#wdinfobox[dir="ltr"] #wdinfo_taxon ul {
	padding-left: 0;
	margin-left: 0;
}
/* @noflip */
#wdinfobox[dir="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;
}

/* {{Protected}} */