Jump to content

Module:Side box/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 20:44, 27 May 2022 (start with this). 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)
.side-box {
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	font-size: 88%;
	line-height: 1.25em;
	box-sizing: border-box;
}

.side-box-abovebelow {
	padding: 0.25em 0.9em;
}

.side-box-image {
	text-align: center;
}

.side-box-imageright {
	text-align: center;
}

.side-box-text {
	padding: 0.25em 0.9em;
}

@media (min-width: 500px) {
	.side-box-flex {
		display: flex;
	}
}

@media (min-width: 720px) {
	.side-box {
		clear: right;
		float: right;
		margin: 4px 0 4px 1em;
		width: 238px;
	}
}