MediaWiki:Fandomdesktop.css

/* CSS placed here will affect users of the Fandomdesktop skin */ /* For elements which only display in the mobile view */ .mobileonly { display: none; }

/* The following section is necessary for most of the Notice templates */ /* for "edit this page" tab and "discussion" tab etc */ .pagetab { border-style: solid solid none; border-width: thin; border-color: var(--theme-border-color); padding: 0.25em 1em 0; font-size: 95%; }

.ambox { background-color: var(--theme-page-text-mix-color-95); border-bottom-color: var(--theme-link-dynamic-color-2); border-right-color: var(--theme-link-dynamic-color-2); border-top-color: var(--theme-link-dynamic-color-2); border-collapse: collapse; display: flex; font-size: 95%; margin: 0 auto 2px auto; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { align-self: center; padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; }

/* Quote template */ .quote-outer { align-items: center; border: var(--theme-border-color) solid 2px; border-radius: 10px 10px 10px 10px; padding: 0.2em 0.5em 1em 0.2em; display: flex; margin: auto; max-width: max-content; }

.quote { display: grid; grid-template: "a b c" auto "d e e" auto / 50px auto 50px; margin: 0 auto; }

.quotes { color: var(--theme-link-color); font-size: 40pt; font-family: serif; font-weight: bold; padding: 0px 10px; }

.item-a, .item-c { color: var(--theme-link-color); }

/* Many wikis will have their own version of this code */ /* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: rgba(var(--theme-body-background-color--rgb), 0); border: 1px solid var(--theme-border-color); color: var(--theme-page-text-color); float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: var(--theme-page-text-mix-color-95); border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: var(--theme-page-text-mix-color-95); font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { padding: 0em; }

/* copyright images tweak */ .theme-fandomdesktop-dark .copyright-icon { background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png"); background-size: 100%; height: 32px; width: 32px; }

.theme-fandomdesktop-light .copyright-icon { background: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat; background-size: 100%; height: 32px; width: 32px; }

.theme-fandomdesktop-dark .feature { background: rgba(var(--theme-accent-dynamic-color-1--rgb), 0.01); border: 1px solid rgba(var(--theme-accent-dynamic-color-1--rgb), 0.05); border-radius: 5px; padding: 10px; }

.theme-fandomdesktop-light .feature { background: rgba(var(--theme-page-dynamic-color-1--rgb), 0.05); border: 1px solid rgba(var(--theme-page-dynamic-color-1--rgb), 0.2); border-radius: 5px; padding: 10px; }

/* Navbox template style */ table.navbox { border: 1px solid var(--theme-border-color); clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: rgba(var(--theme-body-background-color--rgb), 0.1); /* alternative rgba(var(--theme-body-dynamic-color-1--rgb), 0.2) */ }

.navbox-list { border-color: rgba(var(--theme-body-background-color--rgb), 0.1); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(var(--theme-body-background-color--rgb), 0.2); /* alternative rgba(var(--theme-body-dynamic-color-1--rgb), 0.2) */ color: var(--theme-body-text-color); }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(var(--theme-body-background-color--rgb), 0.2); color: var(--theme-body-text-color); }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(var(--theme-body-background-color--rgb), 0.1); /* alternative rgba(var(--theme-page-dynamic-color-1--rgb), 0.05) */ color: var(--theme-body-text-color); }

/* Even row striping */ .navbox-even { background: rgba(var(--theme-page-dynamic-color-1--rgb), 0.1); /* alternative rgba(var(--theme-page-dynamic-color-1--rgb), 0.05) */ color: var(--theme-body-text-color); }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */

/* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { border: 0; border-bottom: 1px solid var(--theme-border-color); }

.fpbox { background: rgba(var(--theme-body-background-color--rgb), 0.05); /* alternative rgba(var(--theme-page-dynamic-color-1--rgb), 0.05) */ border: 1px solid var(--theme-border-color); box-shadow: 0 2px 5px var(--theme-border-color); }

.fplink:not(.fplink-plain) { background: rgba(var(--theme-body-background-color--rgb),0.3); /* alternative rgba(var(--theme-page-dynamic-color-1--rgb), 0.3) */ border: 1px solid var(--theme-border-color); }

.fplink-fullwidth .fplink:not(.fplink-plain) { background: rgba(var(--theme-body-background-color--rgb), 0.4); /* alternative rgba(var(--theme-page-dynamic-color-1--rgb), 0.4) */ }

.linkslabel { border-bottom: 2px solid var(--theme-border-color); }

/* gallery overlay */

ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper { background: rgba(var(--theme-body-background-color--rgb), 0.4); }