Template:Statement+/styles.css

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
.statementplus {
	width: 80%;
	color: var(--color-base);
}
.statementplus > table {
	width: 100%;
	border: 1px solid var(--background-color-disabled,#c8ccd1);
	border-collapse: collapse;
	border-spacing: 0;
	background-color: var(--background-color-base,white);
}
.statementplus-showtables > table {
	border: 2px solid var(--color-emphasized,black);
}
.statementplus-property {
	vertical-align: top;
	padding-top: .8em;
	background-color: var(--background-color-neutral,#eaecf0);
	width: 20%;
}
.statementplus[dir="ltr"] .statementplus-property {
	/* @noflip */
	padding-left: 1em;
}
.statementplus[dir="rtl"] .statementplus-property {
	/* @noflip */
	padding-right: 1em;
}

.statementplus-doc {
	vertical-align: top;
	padding: .8em 1em 0;
}

.statementplus-addtoolbar {
	background-color: var(--background-color-neutral,#eaecf0);
}
.statementplus-addtoolbar-tool {
	width: 20%;
	vertical-align: top;
	padding: .3em 0 .2em;
	color: var(--background-color-disabled,silver);
}
.statementplus[dir="ltr"] .statementplus-addtoolbar-tool {
	/* @noflip */
	padding-left: 1em;
}
.statementplus[dir="rtl"] .statementplus-addtoolbar-tool {
	/* @noflip */
	padding-right: 1em;
}
.statementplus-addtoolbar-tool::before {
	display: inline;
	content: " + ";
}



/* [[Template:Statement+/Value]] */
.statementplus-value {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	border-top: 1px solid var(--background-color-neutral,#eaecf0);
}
.statementplus-value:first-child {
	border-top: none;
}
.statementplus-showtables .statementplus-value {
	border: 2px solid var(--color-progressive,blue);
}

.statementplus-rank {
	vertical-align: top;
	width: 2em;
	padding-top: .45em;
}
.statementplus-value[dir="ltr"] .statementplus-rank {
	/* @noflip */
	padding-left: 2px;
}
.statementplus-value[dir="rtl"] .statementplus-rank {
	/* @noflip */
	padding-right: 2px;
}

.statementplus-mainsnak {
	vertical-align: top;
	padding-top: .7em;
}

.statementplus-editlink {
	vertical-align: top;
	padding-top: .7em;
	width: 25%;
	color: var(--background-color-disabled,silver);
}
.statementplus-value[dir="ltr"] .statementplus-editlink {
	/* @noflip */
	padding-left: .75em;
}
.statementplus-value[dir="rtl"] .statementplus-editlink {
	/* @noflip */
	padding-right: .75em;
}
.statementplus-editlink > span {
	/* Backlink: [[File:Arbcom ru editing.svg]] */
	background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/14px-Arbcom_ru_editing.svg.png) no-repeat;
}
.statementplus-value[dir="ltr"] .statementplus-editlink > span {
	/* @noflip */
	padding-left: 20px;
	/* @noflip */
	background-position: left;
}
.statementplus-value[dir="rtl"] .statementplus-editlink > span {
	/* @noflip */
	padding-right: 20px;
	/* @noflip */
	background-position: right;
}

.statementplus-references-toggle {
	color: var(--color-progressive--active,#0c45ab);
}
.statementplus-references-toggle::before {
	display: inline;
	content: "  \25BC  "
}
.statementplus-value[dir="ltr"] .mw-collapsed > .statementplus-references-toggle::before {
	/* @noflip */
	content: "  \25BA  ";
}
.statementplus-value[dir="rtl"] .mw-collapsed > .statementplus-references-toggle::before {
	/* @noflip */
	content: "  \25C0  ";
}

.statementplus-reference {
	margin-top: .5em;
	background-color: var(--background-color-neutral-subtle,#f7f8f9);
}
.statementplus-reference:first-child {
	margin-top: 0;
}

.statementplus-addreference {
	box-sizing: border-box;
	width: 25%;
	padding: .4em 0 1.2em;
	color: var(--background-color-disabled,silver);
}
.statementplus-value[dir="ltr"] .statementplus-addreference {
	/* @noflip */
	float: right;
	/* @noflip */
	padding-left: 1.2em;
}
.statementplus-value[dir="rtl"] .statementplus-addreference {
	/* @noflip */
	float: left;
	/* @noflip */
	padding-right: 1.2em;
}
.statementplus-addreference::before {
	display: inline;
	content: " + ";
	font-weight: bold;
}



/* [[Template:Statement+/Block]] */
.statementplus-block {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}
.statementplus-showtables .statementplus-block {
	border: 2px solid orange;
}
.statementplus-block > tbody > tr > td {
	vertical-align: top;
}
.statementplus-block[dir="ltr"] > tbody > tr > td {
	/* @noflip */
	padding-left: .5em;
}
.statementplus-block[dir="rtl"] > tbody > tr > td {
	/* @noflip */
	padding-right: .5em;
}
.statementplus-block > tbody > tr > td:first-child {
	width: 12em;
}