Template:Aligned box/styles.css

/* The outer container and its variants. */

.wst-alignedbox-container { display: flex; }

.wst-alignedbox-center {justify-content: center;} .wst-alignedbox-right {justify-content: flex-end;} .wst-alignedbox-left  {justify-content: flex-start;}

/* The actual aligned box. */ .wst-alignedbox { /* width: fit-content; */ /* Must be done inline due to T271958 */ }

.wst-alignedbox-center-text {text-align: center;} .wst-alignedbox-right-text {text-align: right;} .wst-alignedbox-left-text  {text-align: left;}

/* Tagging for errors. */ .wst-alignedbox-error { border: 1px dashed red; } .wst-alignedbox-error::after { font-weight: bold; color: red; content: "Custom class names must begin with two underscore characters: __classname."; }