MediaWiki:Fandomdesktop.css

@import url("/load.php?mode=articles&articles=MediaWiki:Themes.css|MediaWiki:Slider.css&only=styles");

/* variable declarations */
 * root {

--red-dk: #910000; --red-dk-border: #5f0000; }

/* Article body */ .page-content .mw-parser-output { font-size: 13.5px; line-height: 21px; }

/* Toggle Button */ .mw-collapsible-toggle { font-size:90%; color:white; font-weight: normal; text-transform: lowercase; margin-right:5px; }

.mw-collapsible-toggle a { font-weight: normal; color:white; text-decoration:none; text-transform: lowercase; }

.mw-collapsible-toggle a:hover { text-decoration:none; }

/* BG */ body.mediawiki { background: url(https://static.wikia.nocookie.net/bokunoheroacademia/images/6/63/Background_%28Season_5%29.png/revision/latest) no-repeat center center fixed, #fefc00 radial-gradient(circle farthest-corner, #fff, #fff); -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }

/* BG Fixation */

body.mediawiki { background-attachment: fixed !important; }

/*=======*/ /* Tiles */ /*=======*/ .tiles { border-spacing: 0; margin: 0 auto; max-width: 750px; table-layout: fixed; width: 98%; } .tiles td { box-shadow: 0 0 10px #000; outline: 1px solid #000; position: relative; } .tiles td > div { height: 150px; overflow: hidden; } .tiles__description a { align-items: center; background-color: rgba(0, 0, 0, 0.2); bottom: 0; color: #fff !important; display: flex; font-size: 24px; font-weight: bold; justify-content: center; left: 0; height: 100%; max-height: 100%; position: absolute; right: 0; text-align: center; text-decoration: none; text-shadow: 1px 1px 0 #000, 2px 1px 0 #000, 1px 2px 0 #000, 2px 2px 0 #000, 3px 3px 4px #000; text-transform: uppercase; z-index: 1; } .tiles td:hover .tiles__description a { background-color: rgba(0, 0, 0, 0.8); max-height: 35px; transition: background-color 0.5s, max-height 0.5s; }

/* Template:Site Portal css */ .site_portal { box-sizing: content-box; }

.site_portal:hover { animation: spin 0.4s 1; } @keyframes spin { 100% {       transform: rotate(360deg); } }

/* wikitables */ .wikitable.music > * > tr:first-child > th { background-color: var(--red-dk); color: #fff; }

.wikitable.music > * > tr > th { border: .5px solid var(--red-dk-border); background-color: #fff; color: var(--red-dk); }

.wikitable.music > * > tr > td { border: .5px solid var(--red-dk-border); }

/* Safari header patch */ .fandom-community-header__background::before { background-image: none; }

/* Header legibility */ .fandom-community-header .fandom-community-header__community-name, .fandom-community-header .wds-tabs__tab-label.first-level-item { overflow: visible; text-shadow: 2px 1px 2px #000000; }

.fandom-community-header .wds-tabs__tab-label.first-level-item span { overflow: visible; }

/* Table styles patch */ table { border-collapse: separate; border-spacing: 3px; }

/* Font weight patch */ .page-content .mw-parser-output a { font-weight: inherit; }

/* Text spacing as similar as possible to Oasis */ .page-content .mw-parser-output p { line-height: inherit; margin: .4em 0 .5em; }

.page-content .mw-parser-output p + p { margin: 1em 0; }

/* Navbox legibility */ .theme-fandomdesktop-dark .custom-navbox { background-color: #121212 !important; /* override inline style */ }

.theme-fandomdesktop-dark .custom-navbox tr { background-color: var(--theme-page-background-color) !important; /* override inline style */ }

/*==============*/ /* Rail Modules */ /*==============*/

/* (added by w:c:dev:AddRailModule) */ .discord-arm { background-color: #f9f9f9; padding: 5px 20px; text-align: center; }

.theme-fandomdesktop-dark .discord-arm { background-color: #2B3333; }

.discord-arm p { font-size: 13px; line-height: 20px; margin: 15px 0; }

/* (added by w:c:dev:AddRailModule) */ .discussions-arm { background: url(https://images.wikia.nocookie.net/bokunoheroacademia/images/8/89/DiscussionsRailModuleBackground.png) center/cover no-repeat; color: #fff; padding: 5px 20px; text-align: center; }

.discussions-arm p { font-size: 16px; font-weight: bold; margin: 15px 0; }

.discussions-arm p:first-child { text-shadow: #000 1px 2px 2px; }

/* Patch both */ .railModule.rail-module .wds-button { padding: 0; border: 0; }

.railModule.rail-module .wds-button a { display: inline-block; text-decoration: none; color: inherit; padding: 9px 19px; cursor: pointer; }

/* Boilerplate dark mode legibility patch */ .theme-fandomdesktop-dark .boilerplate > table { background-color: rgba(255, 255, 255, 0.05) !important; /* override inline style */ }

/* Gallery subpage backgrounds */ .custom-gallery-body{ width: 98%; background-color: LightYellow; color: #000000; padding: 5px; border: 2px solid #8B0000; clear: both; }