Jump to content

Module:Portal/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by TheDJ (talk | contribs) at 09:56, 13 January 2020 (Stylesheet for portal template). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
.portal {
	border: solid #aaa 1px;
	padding: 0;
}
.portal .tleft {
	margin: 0.5em 1em 0.5em 0
}
.portal .tright {
	margin: 0.5em 0 0.5em 1em
}
.portal > ul {
	display: table;
	box-sizing: border-box;
	padding: 0.1em;
	max-width: 175px;
	background: #f9f9f9;
	font-size: 85%;
	line-height: 110%;
	font-style: italic;
	font-weight: bold;
}
.portal > ul > li {
	display: table-row;
}
.portal > ul > li > span:first-child {
	display: table-cell;
	padding: 0.2em;
	vertical-align: middle;
	text-align: center;
}
.portal > ul > li > span:last-child {
	display: table-cell;
	padding: 0.2em 0.2em 0.2em 0.3em;
	vertical-align: middle;
}