Template:Banner holder/styles.css

From Stiles Wiki
Jump to navigation Jump to search
/* {{pp|small=y}} */
.banner-shell {
	border-collapse: separate;
	border-spacing: 4px;
}

.banner-shell-header {
	text-align: center;
	font-weight: bold;
}

.banner-shell-inner {
	padding: 2px 4px;
	background: #fffaef;
	border: 1px dotted gray;
}

/* For tmboxes inside banner-shell */
.banner-shell .tmbox {
	margin: 2px 0;
	/* TODO: Still needed? Probably at least for .mbox-small */
	width: 100%;/* For Safari and Opera */
}

/* "small" tmboxes should not be small when also "nested", so reset styles that
 * are set in tmbox.css.
 */
.banner-shell .tmbox.mbox-small { 
	line-height: 1.5em;
	font-size: 100%;
}

/* hide things that should only display outside shells */
.banner-shell-inner .banner-shell-outside {
	display: none;
}