Template:Constraint/styles.css

.constraint { background: #FFF; border: 2px solid #cddddd; padding: 3px; } .constraint.mandatory { background: #DFF; } /* @noflip */ .constraint.ltr { direction: ltr; } /* @noflip */ .constraint.rtl { direction: rtl; } .constraint-icon { padding: 0 .5em 0 .3em; } .constraint code { white-space: pre-wrap; word-break: break-all; }