MediaWiki:Tables.css

/** * Styles for wiki tables. */

/* Navboxes */

.navbox { background-color: var(--custom-background-color); border-radius: 4px; margin: 0.5em 0; width: 100%; }

.navbox th { padding: 0.375rem; text-align: center; }

.navbox.mw-collapsed th:first-child { border-radius: 4px 0 0 4px; }

.navbox.mw-collapsed th:last-child { border-radius: 0 4px 4px 0; }

.navbox tr:first-child th:first-child { border-top-left-radius: 4px; }

.navbox tr:first-child th:last-child { border-top-right-radius: 4px; }

.navbox tr:not(:first-child) th { border-top: 1px solid var(--custom-background-color); }

.navbox td { border-top: 1px solid var(--custom-background-color); font-size: 0.875em; }

.navbox tr:last-child td:first-child { border-bottom-left-radius: 4px; }

.navbox .mw-collapsible-toggle a { color: inherit; }

.navbox .padded-col { padding: 0.25em 0.5em; }

/* Volume tables */

table.volume { background-color: var(--custom-background-color); border: 2px solid #666; color: inherit; margin: 1em auto; width: 100%; } table.volume th { background-color: #666; padding: 3px; } table.volume td { border: 1px outset #606166; text-align: center; padding: 3px; }

/* Main page panels */

.panel { background-color: var(--custom-background-color); border-radius: 4px; margin: 0.5rem 0 1rem; padding-bottom: 0.375rem; }

.panel > * { padding-right: 0.375rem; padding-left: 0.375rem; }

.panel h3 { background: #00334d linear-gradient(to right,#00334d,#069,#00334d); border-radius: 4px 4px 0 0; color: #fff !important; font-size: 1rem !important; font-weight: 700; line-height: 1.375; margin: 0 0 0.5rem; padding-top: 0.375rem; padding-bottom: 0.3125rem; text-align: center; }

.panel ul.tabbernav li { padding-top: 0; } .panel tr th { text-align: center; font-weight: bold; } .panel td { border: 0; line-height: 130%; font-size: small; }

/* Picture of the day */

.potd { margin: 0 auto; }

.potd th { font-weight: 700; text-align: center; }

.potd td { font-style: italic; text-align: center; }

.potd td.img { display: block; /* force new line after img */ margin: 0; padding-right: 0; padding-left: 0; text-align: center; }

.potd img { border: none; }

/* Generic table */

table.generic { background-color: var(--custom-background-color); border: 2px solid #666; color: inherit; margin: 1em auto; width: 100%; }

table.generic th { background-color: #666; padding: 3px; } table.generic td { border: 1px outset #606166; text-align: center; padding: 3px; }