Jump to content

Template:Disambiguation/styles.css

From mediawiki.org
.disambiguation {
    clear: both;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
}

.disambiguation-image {
	padding: 2px 0 2px 0.9em;
	text-align: center;
	/* min-width, otherwise the image shrinks lots in minerva and timeless.
	 * flex-basis can also be used */
	min-width: calc(0.9em + 30px); /* left padding + image size */
}

.disambiguation-text {
	padding: 0.25em 0.9em;
	font-style: italic;
}