MediaWiki:Fandomdesktop.css

/* Background styling */
 * root {

--banner-width: 350px; --banner-height: 900px; --banner-offset: 118px; } body.skin-fandomdesktop .main-container { background-repeat: no-repeat; background-size: auto auto, auto auto, 100% calc(var(--banner-height) + var(--banner-offset)); background-position: top var(--banner-offset) left calc(7.5% - var(--banner-width) * 0.925), top var(--banner-offset) right calc(7.5% - var(--banner-width) * 0.925), top center; } @media (max-width:1279px) { body.skin-fandomdesktop .main-container { background-position: top var(--banner-offset) left calc(2.5% - var(--banner-width) * 0.975 + 59px), top var(--banner-offset) right calc(2.5% - var(--banner-width) * 0.975 + 59px), top center; /* 59px is how much the page expands by at this screen size */ } } @media (min-width:1537px) { body.skin-fandomdesktop .main-container { background-position: top var(--banner-offset) left calc(50% - var(--banner-width) / 2 - 618px), top var(--banner-offset) right calc(50% - var(--banner-width) / 2 - 618px), top center; /* 618px is half the page width at this screen size */ } } body.theme-fandomdesktop-light .main-container { background-color: #15c6d0; background-image: url('https://static.wikia.nocookie.net/onverse/images/a/ab/Background_Light_Left.jpg/revision/latest?cb=20210610133834&format=original'), url('https://static.wikia.nocookie.net/onverse/images/e/e5/Background_Light_Right.jpg/revision/latest?cb=20210610133838&format=original'), linear-gradient(#2866b7 var(--banner-offset), #266cb8 calc(var(--banner-offset) + var(--banner-height) * .1), #218ac1 calc(var(--banner-offset) + var(--banner-height) * .4), #19a3c7 calc(var(--banner-offset) + var(--banner-height) * .6), #17bece calc(var(--banner-offset) + var(--banner-height) * .85), #15c6d0); } body.theme-fandomdesktop-dark .main-container { background-color: #00002b; background-image: url('https://static.wikia.nocookie.net/onverse/images/9/97/Background_Dark_Left.jpg/revision/latest?cb=20210610133537&format=original'), url('https://static.wikia.nocookie.net/onverse/images/1/1e/Background_Dark_Right.jpg/revision/latest?cb=20210610133611&format=original'), linear-gradient(#295ac3 var(--banner-offset), #154b87 calc(var(--banner-offset) + var(--banner-height) * .4), #104579 calc(var(--banner-offset) + var(--banner-height) * .5), #08345c calc(var(--banner-offset) + var(--banner-height) * .69), #010d37 calc(var(--banner-offset) + var(--banner-height) * .94), #00002c); }

/* Header styling */ .community-header-wrapper { height: 88px; } .fandom-community-header a { color: white; } .fandom-community-header { color: white; } .wds-button.wds-is-secondary, .wds-button.wds-is-secondary:disabled { color: white; } .fandom-community-header a:active, .fandom-community-header a:focus, .fandom-community-header a:hover { color: #b3b3b3; } .wds-button.wds-is-secondary.wds-is-active, .wds-button.wds-is-secondary:active, .wds-button.wds-is-secondary:focus, .wds-button.wds-is-secondary:hover { color: #b3b3b3; }

/* Gallery styling */ .theme-fandomdesktop-dark .mw-gallery-slideshow { background-color:#444; border-radius:5px; } ul.gallery.mw-gallery-slideshow { margin:2em 0; } ul.gallery.mw-gallery-slideshow[style*='float:right'], ul.gallery.mw-gallery-slideshow[style*='float: right'] { margin:2em 0 2em 1em; } ul.gallery.mw-gallery-slideshow[style*='float:left'], ul.gallery.mw-gallery-slideshow[style*='float: left'] { margin:2em 1em 2em 0; } ul.gallery.mw-gallery-slideshow[style*='float:right'] .mw-gallery-slideshow-buttons .oo-ui-buttonElement, ul.gallery.mw-gallery-slideshow[style*='float: right'] .mw-gallery-slideshow-buttons .oo-ui-buttonElement, ul.gallery.mw-gallery-slideshow[style*='float:left'] .mw-gallery-slideshow-buttons .oo-ui-buttonElement, ul.gallery.mw-gallery-slideshow[style*='float: left'] .mw-gallery-slideshow-buttons .oo-ui-buttonElement { margin:0 1em; }