Templat:Border2/styles.css

/* base styles */
.wst-border2 {
	box-sizing:border-box;
	display:table;
	border:1px solid;
	margin:0.25em auto;
	padding:0.5em;
}
.wst-border2.wst-border2-left {
	margin-left:0;
}
/*.wst-border2.wst-border2-center {
}*/
.wst-border2.wst-border2-right {
	position:relative;
	margin-right:0;
}
/*.wst-border2.wst-border2-compact {
}*/
.wst-border2.wst-border2-fullwidth {
	width:100%;
}

/* Unset the default p margins next to the border.
   The border can then set these as needed. */
.wst-border2 > p:first-child {
	margin-top:0;
}
.wst-border2 > p:last-child {
	margin-bottom:0;
}

/* ensure uniform spacing for nested borders */
.wst-border2 .wst-border2 {
	margin:0 auto;
}

/* frame */
.wst-frame {
	border:2px solid #99B;
	padding:0.25em 1em;
	width:100%;
}

/* centered box */
.wst-centered-box {
	text-align:center;
}

/* ruled box */
.wst-ruled-box {
	border-left:none;
	border-right:none;
	padding:0;
}