MediaWiki:Fandomdesktop.css

/* Fix oversized bottom margins */ .page-content p+p { margin-top: 12px; } .page-content p, .page-content section { line-height: 1.75; margin: 0 0 12px; } .page-content dl { margin: 12px 0; } .page-content ul, .page-content ol { margin-bottom: 12px; } .page-content li > ul, .page-content li > ol { margin-bottom: 5px; }

/* Slightly wider infoboxes */ .portable-infobox { width:280px; } .portable-infobox .pi-data-label { flex-basis: 100px; } .portable-infobox .pi-data-value { padding-left: 0px; } .pi-image img { max-height:300px; width:auto; vertical-align:middle; } /* .pi-image-thumbnail { max-height:300px; width:auto; vertical-align:middle; } /* Fix header image display */ .fandom-community-header__background.cover { background-position: top center; }

/* More colorblind-friendly redlinks in Light mode */ .theme-fandomdesktop-light a.new { color:#dc3220; }

/* Denote external links in Light mode */ .theme-fandomdesktop-light a.external.text::after { content: ""; background-image:url("https://static.wikia.nocookie.net/ppc/images/f/fb/Exit-light.png"); background-size: 100% 100%; display: inline-block; height: 13px; width: 13px; position: relative; top: -2px; } /* Denote external links in Dark mode */ .theme-fandomdesktop-dark a.external.text::after { content: ""; background-image:url("https://static.wikia.nocookie.net/ppc/images/e/e1/Exit-dark.png"); background-size: 100% 100%; display: inline-block; height: 13px; width: 13px; position: relative; top: -2px; } /* Stop tables from floating */ .page-content table { float: none; }

/* Custom navigation box in Dark mode */ .theme-fandomdesktop-dark div.navbox { color: inherit; border: 1px solid #a0a0a0; background: #192329; } /* Custom navigation box in Light mode */ .theme-fandomdesktop-light div.navbox { color: inherit; border: 1px solid #c9c9c9; background: #efefef; }

/* Custom disambig box in Dark mode */ .theme-fandomdesktop-dark div.disambig { color: inherit; border: 1px solid #a0a0a0; background: #192329; } /* Custom disambig box in Light mode */ .theme-fandomdesktop-light div.disambig { color: inherit; border: 1px solid #663300; background: #ffffcc; }

/* Custom warning box in Dark mode */ .theme-fandomdesktop-dark div.warning { color: inherit; border: 2px solid #a0a0a0; background: #660000; } /* Custom warning box in Light mode */ .theme-fandomdesktop-light div.warning { color: inherit; border: 2px solid #000000; background: #FFEEEE; }

/* Custom alert box in Dark mode */ .theme-fandomdesktop-dark div.alert { color: inherit; border: 2px solid #a0a0a0; background: #663300; } /* Custom alert box in Light mode */ .theme-fandomdesktop-light div.alert { color: inherit; border: 2px solid #000000; background: #ffffcc; }

/* Custom notice box in Dark mode */ .theme-fandomdesktop-dark div.notice { color: inherit; border: 2px solid #a0a0a0; background: #192329; } /* Custom notice box in Light mode */ .theme-fandomdesktop-light div.notice { color: inherit; border: 2px solid #000000; background: #EFEFEF; }