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 { 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 { /* 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; }

.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(https://upload.wikimedia.org/wikipedia/commons/f/f0/Farm-Fresh_table.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(https://upload.wikimedia.org/wikipedia/commons/f/f4/Farm-Fresh_key_solid.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); }