Module:Banner shell/styles.css

From Bharatpedia, an open encyclopedia
/* {{pp-template}} */
.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;
    color:inherit;
	border: 1px dotted gray;
}
@media screen {
}
/* 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;
}
@media (min-width: 720px) {
	.bpbs {
		width: 80%;
	}
}
.bpbs .assess {
	width: 60px;
	text-align:center;
	}
.bpbs .banner-shell-header {
	border: none;
	padding: 0.25em 0.9em 0.25em 0;
}
/* This selector needs to have three classes because wpbm.css will come after
 * the shell CSS. Possibly .bpb-header will be the only class in the future in
 * which case we will still need at least two.
 */
.bpbbs .bpb .bpb-header {
	display: table-row;
}
/* hide the header icon when banner expanded */
.bpbs .bpb:not(.mw-collapsed) .bpb-header-icon a {
	display: none;
}