Template:SchemaDiagram.css

/* reset */ .mw-tpl-schemadiagram-caption, .mw-tpl-schemadiagram, .mw-tpl-schemadiagram-table { font-family: sans-serif; line-height: 1.6; font-size: 12px; } .mw-tpl-schemadiagram-caption a, .mw-tpl-schemadiagram a { text-decoration: none; } .mw-tpl-schemadiagram-caption a:hover, .mw-tpl-schemadiagram-caption a:focus, .mw-tpl-schemadiagram a:hover, .mw-tpl-schemadiagram a:focus { text-decoration: underline; }

.mw-tpl-schemadiagram-caption { display: inline-block; margin: 0 1em 1em 0; padding: 0.5em; border: 1px solid #d9d9d9; background: #fefded; font-family: sans-serif; /* reset */ line-height: 1.6; /* reset */ font-size: 12px; /* reset */ } .mw-tpl-schemadiagram-caption a.external, .mw-tpl-schemadiagram a.external { /* plainlinks, even on action=render */ background: none; padding: 0; }

.mw-tpl-schemadiagram { display: flex; flex-flow: row wrap; justify-content: flex-start; }

/* For action=render  body:not(.mediawiki) .mw-tpl-schemadiagram { width: 170em; } body:not(.mediawiki) .mw-tpl-schemadiagram-fullscreen { display: none; } body:not(.mediawiki) .mw-tpl-schemadiagram-credit a, body:not(.mediawiki) .mw-tpl-schemadiagram-credit a.external { color: inherit; }

.mw-tpl-schemadiagram-group { border: 1px solid #d9d9d9; margin: 0 1em 1em 0; }

.mw-tpl-schemadiagram-group h2 { display: table; margin: 0; padding: 0.2em 0.5em; min-width: 7em; border: 0; background: #d9d9d9; border-radius: 0 0 1em 0; font-size: inherit; font-family: inherit; color: #000; font-weight: normal; }

/* A stacked column of tables */ .mw-tpl-schemadiagram-group tr { vertical-align: baseline; }

.mw-tpl-schemadiagram-table { margin: 1em; border: 1px solid #b3b3b3; border-radius: 0.5em; background: #fff; overflow: hidden; }

.mw-tpl-schemadiagram-table h3 { margin: 0; padding: 0 4px 0 20px; background: #98bfda url(//upload.wikimedia.org/wikipedia/commons/thumb/9/9f/OOjs_UI_icon_table-progressive.svg/32px-OOjs_UI_icon_table-progressive.svg.png) no-repeat 2px 50%; background-size: 16px; color: #111; font-size: inherit; line-height: 2; font-family: inherit; }

.mw-tpl-schemadiagram-table h3 a { color: inherit; }

.mw-tpl-schemadiagram-table ul { margin: 0.2em 0.5em 0.2em 0.2em; padding: 0; /* reset */ list-style: none; }

.mw-tpl-schemadiagram-field { display: inline-block; vertical-align: middle; box-sizing: border-box; width: 16px; height: 16px; cursor: help; }

.mw-tpl-schemadiagram-field--primary { background: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0d/OOjs_UI_icon_key-progressive.svg/32px-OOjs_UI_icon_key-progressive.svg.png) no-repeat 0 50%; background-size: 16px; border: 0; transform: rotate(-45deg); }

.mw-tpl-schemadiagram-field--notnull { background: #8dfdfe; border: 1px solid #b3b3b3; transform: rotate(-45deg) scale(0.6); }

.mw-tpl-schemadiagram-field--regular { border: 1px solid #8dfdfe; transform: rotate(-45deg) scale(0.6); }

.mw-tpl-schemadiagram-credit { flex-basis: 100%;

border-top: 1px solid #d9d9d9; padding: 1em; text-align: right; font-size: 10px; }