No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
background-size: 160px !important; | background-size: 160px !important; | ||
margin-top: 10px !important; | margin-top: 10px !important; | ||
} | } | ||
Line 188: | Line 92: | ||
padding: 4px !important; | padding: 4px !important; | ||
text-align: center !important; | text-align: center !important; | ||
} | } | ||
Revision as of 00:19, 27 November 2023
/* CSS placed here will be applied to all skins */ /* COLOR OVERRIDES */ :root { --color-primary: #865439 !important; /* --color-primary--hover: #DAA06D !important; */ --color-primary--hover: #C68B59 !important; --color-custom-tertiary: #faf7f2 !important; --color-primary--active: #6b432e !important; --background-color-primary--active: #faf7f2 !important; --color-surface-2: #faf7f2 !important; --border-color-base: #faf7f2 !important; --border-color-base--darker: #C68B59 !important; --pi-width: 400px !important; } .mw-wiki-logo { background-size: 160px !important; margin-top: 10px !important; } .navbox-title { background-color: var(--color-primary) !important; color: white; padding-top: 8px !important; padding-bottom: 8px !important; } .navbox-title a, .navbox-title a:hover { color: white !important; } .navbox { border-radius: var(--border-radius--medium) !important; overflow: hidden; border: none !important; } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background-color: var(--color-custom-tertiary) !important; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background-color: var(--color-custom-tertiary) !important; /* Level 3 color */ } .navbox-even { background-color: var(--color-custom-tertiary) !important; } .mw-parser-output tr + tr > .navbox-abovebelow, .mw-parser-output tr + tr > .navbox-group, .mw-parser-output tr + tr > .navbox-image, .mw-parser-output tr + tr > .navbox-list { border-top: 0px !important; } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: var(--space-xs) var(--space-sm) !important; } .side-box { background-color: var(--color-custom-tertiary) !important; border-radius: var(--border-radius--medium) !important; padding-top: 8px !important; } .navbox + .navbox, /* TODO: remove first line after transclusions have updated */ .navbox + .navbox-styles + .navbox { /*margin-top: -1px; */ /* Single pixel border between adjacent navboxes */ margin-top: 16px !important; } /* Alignment grid CSS from Forgotten Realms wiki: https://forgottenrealms.fandom.com/wiki/MediaWiki:Wikia.css * Used under CC-BY-SA as noted on the source page: https://creativecommons.org/licenses/by-sa/3.0/ */ .alignment-grid { float: left; text-align: center; font-size: 88%; } .alignment-cell { padding: 4px !important; text-align: center !important; } .portable-infobox { border-radius: var(--border-radius--medium); overflow: hidden; } .portable-infobox .image-thumbnail, .portable-infobox .pi-image-thumbnail { width: 100%; } .portable-infobox .pi-title { background-color: var(--color-primary); color: white; width: 100%; font-size: var(--font-size-h2) !important; padding-left: var(--space-md); margin: 0 !important; font-weight: var(--font-weight-semibold); text-align: center; } .portable-infobox .pi-item-spacing { padding-left: var(--space-md) !important; } .portable-infobox p, .portable-infobox .pi-data-value > :not(ul), .portable-infobox .pi-data-value li { margin: var(--space-xxs) 0; } .pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link { flex: 1 1 0px; } .pi-media-collection .pi-tab-link { margin: 0 !important; border-radius: 0 !important; border-width: 0 !important; } .pi-media-collection .pi-tab-link.current { text-decoration-color: var(--color-primary) !important; text-decoration: underline; } .pi-media-collection .pi-tab-link:hover { text-decoration-color: var(--color-primary--hover) !important; text-decoration: underline; } .pi-media-collection .pi-tab-link:active { text-decoration-color: var(--color-primary--active) !important; text-decoration: underline; } .portable-infobox .pi-secondary-font { font-weight: bold; } .portable-infobox .pi-data-label { flex-basis: 120px; } .portable-infobox .pi-data-value ul li { list-style: none; margin-left: -20px; }