MediaWiki:StandardElements.css

/*==================================================*/ /*                  MainPage                       */ /*==================================================*/ .mainpagebox { background-color: var(--mainpagebox__content-background-color-light); border: 1px solid #BCBCBC; border-radius: 5px; margin-bottom: 1em; padding: 0.4em; }

.mainpagebox__header { background: var(--mainpagebox__header-background-color-light); color: var(--mainpagebox__header-color-light); font-size: 1.2em; font-weight: bold; padding: 0.2em 0.4em; text-align: center; }

.mainpagebox__content { margin-top: 0.4em; text-align: left; overflow: auto; }

.mainpagebox.series > .mainpagebox__content { border-radius: 5px; border: 1px solid #BCBCBC; margin: 0.4em 1px 1px 1px; } .mainpagebox.series > .mainpagebox__content > div { display: flex; }

.mainpagebox > .mainpagebox__content .mainpagebox__default-background { background-color: var(--mainpagebox__content-media-background-color-light); }

.mainpagebox.series > .mainpagebox__content > *:not(:last-child) { border-bottom: 1px solid #BCBCBC; }

.mainpagebox.series > .mainpagebox__content .mainpagebox__content-image { width: 55%; align-self: center; }

.mainpagebox.affiliates > .mainpagebox__content { text-align: center; }

.mainpagebox.affiliates > .mainpagebox__content > a { margin: 0 10px; }

.mainpagebox.latestvolume > .mainpagebox__content { margin-top: 0; text-align: center; }

.mainpagebox.latestvolume .tabber { background-color: #DEDEDE; }

.mainpagebox.latestvolume > .mainpagebox__content > .tabber { background-color: white; }

.mainpagebox.latestvolume > .mainpagebox__content .wds-tabs { flex-flow: row wrap; }

.mainpagebox.latestvolume > .mainpagebox__content .wds-tabs a { font-size: 13px; }

.mainpagebox.latestvolume .mainpagebox__content-image { padding-bottom: 0.4em; }

.mainpagebox.latestvolume .mainpagebox__content-text { border-top: 1px solid #BCBCBC; padding: 0 3em; }

.mainpagebox.latestvolume .mainpagebox__content-text a { font-weight: bold; }

.skin-oasis .mainpagebox.latestvolume .mainpagebox__content-title { font-size: 120%; }

.mainpagebox.latestvolume .mainpagebox__content-description { font-size: 90%; }

/* FandomDesktop */

@media only screen and (min-width: 1500px) { .skin-fandomdesktop .mainpagebox h4 { font-size: 20px; } }

.theme-fandomdesktop-light .mainpagebox__header { background-color: var(--mainpagebox__header-background-color-light); color: var(--mainpagebox__header-color-light); }

.theme-fandomdesktop-dark .mainpagebox__header { background-color: var(--mainpagebox__header-background-color-dark); color: var(--mainpagebox__header-color-dark); }

.theme-fandomdesktop-dark .mainpagebox { background-color: var(--mainpagebox__content-background-color-dark); }

.skin-fandomdesktop .mainpagebox > .mainpagebox__content h4 { margin: .5em 0 .2em; }

.skin-fandomdesktop .mainpagebox.latestvolume .wds-tabs__tab { flex-grow: 1; }

.skin-fandomdesktop .mainpagebox.latestvolume .mw-empty-elt { display: none; }

.theme-fandomdesktop-dark .mainpagebox.latestvolume .tabber { background-color: transparent; }

/*==================================================*/ /*                  CharMugs                       */ /*==================================================*/ .charmug { background-color: #E53E00; border-radius: 8px; padding: 3px; position: relative; color: #FFFFFF; font-size: x-small; font-weight: bold; }

.charmug div { height: 90px; border-radius: inherit; overflow: hidden; }

.charmug span { background-color: inherit; position: absolute; right: 0px; bottom: 0px; padding: 0 5px; border-radius: 8px 0px; }

.charmug span a { color: inherit; }

/*==================================================*/ /*                 Navboxes                        */ /*==================================================*/

/** * * @Title          NavboxBuilder.css * @Description   Fork of Dev stylesheet for separation from default .navbox stylization * @Author        Ursuul  * @Using code by Nanaki  * @Origin        https://dev.fandom.com/wiki/MediaWiki:Global_Lua_Modules/NavboxBuilder.css * */

.navbox.ag-nav { overflow: hidden; /*   line-height: 120%; */ margin: 0.5em 0; clear: both; }

/* Structure */ .navbox.ag-nav .navbox-table-wrapper { overflow: hidden; margin: -3px; /* spacing */ /*   margin-top: 0; */ }

.navbox.ag-nav .navbox-section-wrapper:first-child, .navbox.ag-nav .navbox-table-wrapper:first-child { margin-top: -3px; /* spacing */ }

.navbox.ag-nav .navbox-table { width: 100%; padding: 0; border: none; border-collapse: separate; /*   border-spacing: 3px;  spacing  */ margin: 0; }

.navbox.ag-nav .navbox-table td { padding: 0; margin: 0; }

.navbox.ag-nav .navbox-section { overflow: hidden; /*   margin: 3px 0; spacing */ }

.navbox.ag-nav .navbox-section:first-child { margin-top: 0; }

.navbox.ag-nav .navbox-section:last-child { margin-bottom: 0; }

/* Title and section headers */ .navbox.ag-nav .navbox-title { position: relative; font-weight: bold; font-size: 110%; text-align: center; /*   padding: 0.2em 2em; */ }

.navbox.ag-nav .navbox-header { position: relative; font-weight: bold; text-align: center; /*   padding: 0.2em 2em; */ }

.navbox.ag-nav .navbox-template-links { position: absolute; top: 0; left: 0.6em; width: 5em; font-weight: normal; font-size: 80%; /*   line-height: 190%; */ text-align: left; padding: 0; }

.navbox.ag-nav .navbox-section > .mw-collapsible-toggle, .navbox.ag-nav > .mw-collapsible-toggle { float: none; text-align: center; cursor: pointer; }

.navbox.ag-nav .navbox-section > .mw-collapsible-toggle:after, .navbox.ag-nav > .mw-collapsible-toggle:after { content: ''; display: inline-block; position: absolute; top: 50%; right: 0.6em; width: 4px; height: 4px; border-width: 2px 2px 0 0; border-style: solid; border-color: #000000; border-color: currentColor; margin-top: -2px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); transform: rotate(-45deg); }

.navbox.ag-nav .navbox-section > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:after, .navbox.ag-nav > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:after { margin-top: -4px; -webkit-transform: rotate(135deg); -moz-transform: rotate(135deg); transform: rotate(135deg); }

/* Fields */ .navbox.ag-nav .navbox-above, .navbox.ag-nav .navbox-below { text-align: center; padding: 0; }

.navbox.ag-nav .navbox-list { vertical-align: top; text-align: left; padding: 0; }

.navbox.ag-nav .navbox-subgroup, .navbox.ag-nav .navbox-group { /*   vertical-align: top; */ text-align: center; padding: 0; }

.navbox.ag-nav .navbox-image { vertical-align: top; width: 1px; }

/* .navbox.ag-nav .navbox-table .navbox-padding { padding: 0.2em 0.3em 0.2em 0.5em; }

/* Table layout */ .navbox.ag-nav .navbox-table-layout { margin: -3px; /* spacing */ margin-top: 0; }

.navbox.ag-nav .navbox-table-layout .navbox-subgroup, .navbox.ag-nav .navbox-table-layout .navbox-group { /*   vertical-align: top; */ width: 1px; /*   text-align: right; */ white-space: nowrap; }

.navbox.ag-nav .navbox-nogroup { text-align: center; }

/* Horizontal layout */ .navbox.ag-nav .navbox-horizontal-layout { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-right: -3px; /* spacing */ }

.navbox.ag-nav .navbox-col { flex: 1 0 auto; display: flex; flex-direction: column; box-sizing: border-box; margin-top: 3px; /* spacing */ }

.navbox.ag-nav .navbox-col .navbox-group { text-align: center; margin-bottom: 3px; /* spacing */ margin-right: 3px; /* spacing */ }

.navbox.ag-nav .navbox-col .navbox-list { flex: 1 0 auto; text-align: center; margin-right: 3px; /* spacing */ }

/* Disable scrollable table when width exceeds article space */ .navbox.ag-nav .navbox-table-wrapper > .table-is-wide, .navbox.ag-nav .navbox-table-layout > .table-is-wide { margin: 0 !important; }

.navbox.ag-nav .navbox-table-wrapper > .table-is-wide:before, .navbox.ag-nav .navbox-table-layout > .table-is-wide:before { display: none !important; }

.navbox.ag-nav .navbox-table-wrapper > .table-wrapper > .table-scrollable, .navbox.ag-nav .navbox-table-layout > .table-wrapper > .table-scrollable { overflow: visible !important; }

/* Temp fix for inline elements inside links skipping the link for click action */ .navbox.ag-nav .navbox-header.mw-collapsible-toggle a > *, .navbox.ag-nav .navbox-title.mw-collapsible-toggle a > * { pointer-events: none; }

.navbox.ag-nav .navbox-title.mw-collapsible-toggle .navbox-template-links a { display: inline-block; }

/** * * @Title         Navbox.css * @Description   Custom NavboxBuilder styles for Angelo's Wikis * @Author        Ursuul  * @Designed for  https://dev.fandom.com/wiki/Global_Lua_Modules/NavboxBuilder * */

/* Navbox container */

.navbox.ag-nav { padding: 3px 3px 0; border: 1px solid #AAAAAA; background-color: #fdfdfd; }

.navbox.ag-nav.mw-collapsed { padding-bottom: 3px; }

.navbox.ag-nav .navbox-section { margin: 2px -2px; }

/* Titles */ .navbox.ag-nav .navbox-title { padding: 0.3em; line-height: 120%; color: #FFFFFF; background-color: #E53E00; }

.navbox.ag-nav .navbox-title a { color: inherit; }

.navbox.ag-nav .navbox-header { padding: 0.3em 0; line-height: 120%; font-size: 120%; background-color: #E53E00; color: #FFFFFF !important; /* in-line style override */ }

.navbox.ag-nav .navbox-title.mw-collapsible-toggle { float: none; }

.navbox.ag-nav .navbox-template-links { line-height: 210%; }

.navbox.ag-nav .navbox-header .navbox-template-links a, .navbox.ag-nav .navbox-title .navbox-template-links a { color: inherit; }

/* Body */ .navbox.ag-nav .navbox-table-wrapper { margin: 0; }

.navbox.ag-nav .navbox-table { border-spacing: 2px; font-size: 93%; }

/* Groups */ .navbox.ag-nav .navbox-group, .navbox.ag-nav .navbox-subgroup { vertical-align: middle; padding-left: 1em !important; padding-right: 1em !important; background-color: #E53E00; color: #FFFFFF; }

.navbox.ag-nav .navbox-table-layout .navbox-group, .navbox.ag-nav .navbox-table-layout .navbox-subgroup { vertical-align: middle; text-align: center; }

.navbox.ag-nav .navbox-group a { color: inherit; }

.navbox.ag-nav .navbox-table .navbox-padding { padding: 0.1em 0.4em; }

/* Lists */ .navbox.ag-nav .navbox-list { vertical-align: middle; }

.navbox.ag-nav .navbox-even { background: #f7f7f7; } .navbox.ag-nav .navbox-odd { background: transparent; }

/*==================================================*/ /*               Table - Members                   */ /*==================================================*/

table.members-table, table.members-table td, table.members-table th { border: 1px #aaa outset; }

table.members-table { width: 100%; border-radius: 2ex; text-align:center; border-spacing: 0px; border-collapse: separate; overflow: hidden; }

table.members-table td { background-color: transparent; padding: 0; }

table.members-table th { background-color: #E53E00; color: white; }