Template:Spec-paragraph/styles.css

/**
 * Styles for specifications that follow the W3C style guide
 * per .
 * the original style definitions can be found at
 * .

/* boxes *******************************************/ .specp { padding: 0.1em 0.5em; border-width: 0 0 0 6pt; border-style: solid; page-break-inside: avoid; margin: 0.4em 0; }

div.specp.norm, div.specp.instruction { border-color: white; background-color:inherit; }

div.specp.note, div.specp.info { border-color: #52e052; background-color:#e9fbe9; }

div.specp.note::before { content: "Note: "; font-weight: normal; text-decoration: underline; display: inline-block; margin-right: 1ex; }

div.specp.example { border-color: #e0cb52; background-color:#fcfaee; }

div.specp.example::before { content: "Example: "; font-weight: normal; text-decoration: underline; display: block; }

div.specp.example .handle { top: -1.5em; position: relative; }

div.specp.advisement, div.specp.warning { border-color: orange; background-color:#fec; }

div.specp.def, div.specp.definition { border-color: #8ccbf2; background-color:#def; }

/* discussions *******************************************/

div.specp.discussion { border-left-color: #eee; border-right-color: grey; border-width: 0 6pt; background-color:#eee; margin-top: -0.5em; padding: .5em 1.5em; font-size: 86%; }

div.specp.under-discussion { border-right-color: grey; border-right-width: 6pt; }

/* handles *******************************************/ .specp .handle { padding: 0 0.5em; margin: 0 0 0.5em 0.5em; display: block; float: right; border: 1px solid grey; border-radius: 3px; background-color: #eee; font-weight: normal; font-size: 86%; }

.specp .handle::before { content: "#"; font-weight: normal; }

/* status marker *******************************************/

div.specp.wip { border-right-color: purple; border-right-width: 6pt; }

div.specp.wip::before { content: "[WIP] "; font-weight: bold; }

div.specp.fixme { border-right-color: red; border-right-width: 6pt; }

div.specp.fixme::before { content: "[FIXME] "; font-weight: bold; }

div.specp.todo { border-right-color: purple; border-right-width: 6pt; }

div.specp.todo::before { content: "[TODO] "; font-weight: bold; }