MediaWiki:Common.css

/* Imports */ @import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:BalancedComments.css|MediaWiki:Mbox.css|u:dev:MediaWiki:BalancedPageBottom.css|u:dev:MediaWiki:BalancedDiscord.css|u:dev:MediaWiki:BalancedSlider.css|u:dev:MediaWiki:BalancedProfile.css|u:dev:MediaWiki:Module:Documentation.css|MediaWiki:Infobox.css|MediaWiki:Navbox.css|MediaWiki:Tables.css|u:dev:MediaWiki:BalancedScrollbar.css");

/* PMD font */ @font-face { font-family: "PMD"; src: url("https://static.wikia.nocookie.net/pmysteryuniverse/images/c/cb/PMD.woff2/revision/latest") format("woff2"), url("https://static.wikia.nocookie.net/pmysteryuniverse/images/5/54/PMD.woff/revision/latest") format("woff"); }

/* CEE ESS ESS */ .collapser .mw-collapsible-toggle { /* Make the toggle in Template:Collapse float left */ float: left; }

div .mw-collapsible.collapser { /* Prevent Template:Collapse from trailing each other */ overflow: auto; }

th .mw-collapsible-text { /* Ensure the collapse toggles are visible in tables */ color: var(--theme-page-text-color); }

.tick img { /* CursorOption alignment in Template:Tick */ vertical-align: baseline; }

.command { /* Styling for Template:Cmd */ font-family: PMD; font-size: 22px; padding: 0 3px 2px 2px; margin-left: 1px; line-height: 16px; display: inline-block; border-radius: 0; }

.tablemargin { /* Custom class to add a margin on tables */ margin: 5px 0; }

.mw-templatedata-doc-param-alias { color: inherit; }

.page-content dl { margin: 0; }

.page-content dt { margin: 6px 0; }

.page-content dd { margin: 6px 0 6px 24px; }

.page-content p + p { margin-top: 12px; }

.page-content p, .page-content section { margin: 0 0 6px; }

.page-content ol, .page-content ul { margin: 6px 0 10px 36px; }

.page-content table td ul { /* List margin in tables */ margin: 6px 0 10px 25px }

.page-content table td li:not(ul li) { margin-left: 25px; }

.page-content h2 { overflow: auto; }

pre:not(.CodeMirror-line) { /* Pre styling */ border-radius: 4px; white-space: pre-wrap; margin: 10px 0; }

code { /* Code styling */ background-color: var(--theme-page-background-color--secondary); border: 1px solid var(--theme-border-color); color: var(--theme-page-text-color); border-radius: 4px; padding: 1px 4px; }

.WikiaTable, .article-table { border: 1px solid var(--theme-border-color); margin: 1em 0; border-radius: 3px; overflow: hidden; border-collapse: unset; border-bottom: 0; border-spacing: 0; }

.license-self > div:nth-child(1) { border-bottom: 2px solid var(--theme-accent-color); background-color: var(--theme-body-background-color); text-align: center; }

.license-self { border: 3px solid var(--theme-accent-color); border-radius: 15px; }

/* Semi-transparent article background */ .theme-fandomdesktop-light .page__main, .theme-fandomdesktop-light .page__right-rail { background-color: #ffffffd9; }

.theme-fandomdesktop-dark .page__main, .theme-fandomdesktop-dark .page__right-rail { background-color: #1c2c44d9; }

.rail-module { /* Transparent siderail bg like before */ background-color: transparent; }

/*-* Template:File *-*/ .file-info { border: 2px solid var(--theme-accent-color); border-radius: 3px; }

.file-info th { background-color: var(--theme-body-background-color); border: none; }

.file-info td { background-color: rgb(var(--theme-body-background-color--rgb), 0.5); }

/*-* Template:Itemlist *-*/ ul.itemlist { list-style: none; margin-left: 0.6em; }

.itemlist a { display: inline-block; text-align: center; width: 2em; margin: 0 -0.3em; }

/*-* Gallery styling *-*/ .recentImage__details-title { color: unset; }

.page-content .floatright, .page-content .tright { margin: 0px 0px 10px 15px; }

.wikia-slideshow-toolbar > div { margin: 0 auto; }

.wikia-slideshow-prev-next .wikia-slideshow-next, .wikia-slideshow-prev-next .wikia-slideshow-prev { top: 100%; color: var(--theme-page-text-color); background-color: transparent; opacity: 1; }

.wikia-slideshow-toolbar { margin-top: 0; }

.wikia-slideshow-images-wrapper:hover .wikia-slideshow-prev-next .wikia-slideshow-prev { margin-left: 0; }

.wikia-slideshow-images-wrapper:hover .wikia-slideshow-prev-next .wikia-slideshow-next { margin-right: 0; }

.wikia-slideshow-images-wrapper .wikia-slideshow-images { border: none; }

.wikia-slideshow-images li img { position: relative; top: 50%; transform: translateY(-50%); }

/*-* Main page *-*/ @media only screen and (min-width: 1024px) { .main-page-tag-lcs-exploded { width: calc(100% - 410px); } }

.main-page-tag-rcs { margin: 0 auto; }

.main-page-tag-rcs, .rcs-container { width: 400px; }

.mainpage .discord-widget-container { width: 400px; padding-bottom: 10px; }

.mainpage .welcome { background-color: rgb(var(--theme-body-background-color--rgb), 0.5); border: 2px solid var(--theme-body-background-color); border-radius: 30px; }

.mainpage .welcome hr { border: 1px solid var(--theme-body-background-color); }

.mainpage .welcome, .mainpage .news { background-color: rgb(var(--theme-body-background-color--rgb), 0.5); border: 2px solid var(--theme-body-background-color); border-radius: 30px; }

.mainpage .news div:nth-child(2) { border-bottom: 2px solid var(--theme-body-background-color); border-top: 2px solid var(--theme-body-background-color); }

.mainpage .news ul { margin-left: 15px; padding-right: 10px; list-style-type: "• "; }

.mw-collapsible-toggle { /* Collapse text margin */ padding-right: 0.2em; padding-left: 0.2em; }

/*-* Table of contents *-*/ .page-content #toc { margin: 4px auto 4px 0; border: 2px solid var(--theme-body-background-color); border-radius: 5px; }

.toc .toctitle { padding: 7px; border-bottom: 1px solid var(--theme-body-background-color); }

.toc ul li { font-size: 15px; }

/*-* Template:ChatSign *-*/ .chat-sign { background: #20454f; border-radius: 3px; font-size: 19px; border: 1px #20454f solid; color: #808080; font-family: PMD; width: 200px; line-height: 19px; }

.chat-sign td { padding: 2px; }

.chat-sign p { margin: 0; }

/*-* MediaWiki:Edittools *-*/ .mw-editTools > div { background-color: var(--theme-body-background-color); padding: 3px; border-radius: 20px; border: 2px solid var(--theme-accent-color); margin-top: 0.5em; }

.mw-editTools > div > div { background-color: var(--theme-page-background-color); border-radius: 15px; padding: 5px; }

.mw-editTools hr { border: 1px solid var(--theme-accent-color); }

/**	🙝 Documentation 🙝 template/module css **/	border-color: var(--theme-body-background-color); border-radius: 4px; }
 * 1) template-documentation {

margin: 0; background-color: rgb(var(--theme-body-background-color--rgb), 0.5); border-color: var(--theme-body-background-color); color: var(--theme-page-text); }
 * 1) template-documentation .template-documentation-header,
 * 2) template-documentation .template-documentation-footer {

/**	🙝 Dialogue template **/ .dialoguemid, .dialoguetop, .dialoguebottom { background-size: 100% 100%; background-repeat: no-repeat; max-width: 630px; image-rendering: pixelated; }

.dialoguetop { background-image: url(https://static.wikia.nocookie.net/pmysteryuniverse/images/9/97/DialogueWindowTop.png/revision/latest?cb=20220501234035&format=original); min-height: 30px; }

.dialoguemid { background-image: url(https://static.wikia.nocookie.net/pmysteryuniverse/images/9/95/DialogueWindowMiddle.png/revision/latest?cb=20220505032241&format=original); min-height: 67px; }

.dialoguemid td:nth-child(2) { font-family: PMD; font-size: 23px; bottom: 15px; line-height: 30px; }

.dialoguebottom { background-image: url(https://static.wikia.nocookie.net/pmysteryuniverse/images/c/c2/DialogueWindowBottom.png/revision/latest?cb=20220505032311&format=original); max-height: 3px; }

.dialoguemid a { color: #7db0df; }

.dialoguemid .portrait img { width: 40px; height: 40px; image-rendering: auto; border: black solid 1px; }

.dialoguemid ul { list-style-type: none; }

/**	🙝 Column alignment classes **/ .center1 td:nth-child(1), .center2 td:nth-child(2), .center2 th:nth-child(2), .center3 td:nth-child(3), .center3 th:nth-child(3), .center4 td:nth-child(4), .center4 th:nth-child(4), .center5 td:nth-child(5), .center5 th:nth-child(5), .center6 td:nth-child(6), .center6 th:nth-child(6), .center7 td:nth-child(7), .center7 th:nth-child(7) { text-align: center; }

.left1 td:nth-child(1), .left1 th:nth-child(1), .left2 td:nth-child(2), .left2 th:nth-child(2), .left3 td:nth-child(3), .left3 th:nth-child(3), .left4 td:nth-child(4), .left4 th:nth-child(4), .left5 td:nth-child(5), .left5 th:nth-child(5), .left6 td:nth-child(6), .left6 th:nth-child(6), .left7 td:nth-child(7), .left7 th:nth-child(7) { text-align: left; }

/**	🙝 Wiki Berry name highlight **/ a[href="/wiki/User:Deleca7755"], a[href="/wiki/User:Shadow_Lucario"], a[href="/wiki/User:Zorquil"] { color: #8376b5; font-weight: bold; text-shadow: rgba(131, 118, 181, 0.7) 0 0 2px; }

a[href="/wiki/User:Veezo101"] { color: #5f72c1; font-weight: bold; }

a[href="/wiki/User:Wiki_Barry"] { color: #5f72c1; }

a[href="/wiki/User:Wiki_Barry"]:after { content: " (bot)"; vertical-align: super; font-size: x-small; }

/**	🙝 WDS tooltips **/

.custom-tooltip .wds-dropdown__toggle { border-bottom: 1px dotted; line-height: 18px; cursor: help; display: inline-block; }

.custom-tooltip .wds-dropdown__toggle:hover { border-bottom-style: solid; }

.wds-dropdown.custom-tooltip .wds-dropdown__content { width: max-content; min-width: 0; max-width: 250px; max-height: 250px; font-size: 12px; overflow-wrap: break-word; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }

.wds-dropdown.custom-tooltip .wds-dropdown__content .inset { margin: 0.75em; max-width: calc(250px - 1.5em); max-height: calc(250px - 1.5em); overflow-y: auto; }

.wds-dropdown.custom-tooltip .wds-dropdown__content p, .custom-tooltip .wds-dropdown__content section { font-size: inherit; }

.wds-dropdown.custom-tooltip .wds-dropdown__content h2 .section-header-label ~ * { display: none; }

.wds-dropdown.custom-tooltip.wds-dropdown__content ol, .custom-tooltip .wds-dropdown__content ul { margin: 0 1em 0 0; list-style-position: inside; }

.wds-dropdown.custom-tooltip.wds-dropdown__content dl { margin: 0; }

.wds-dropdown.custom-tooltip.wds-dropdown__content img { max-width: 100%; height: auto; }

.pi-data:has(.wds-dropdown.custom-tooltip) { overflow: visible; }

/**	🙝 Tabber CSS From: https://dev.wikia.com/TabberDesign **/ .tabber .wds-tabs__wrapper { border-bottom: 0; }

.tabber .wds-tabs__wrapper .wds-tabs { border-bottom: 2px solid var(--theme-accent-color); font-size: 13px; padding: 0.3em 0 0; margin-bottom: 5px; }

.tabber .wds-tabs .wds-tabs__tab-label { height: auto; margin: 0; }

.tabber .wds-tabs__tab a { color: var(--theme-page-text-mix-color); font-weight: normal; font-size: 13px; padding: 0.3em 0.5em; }

.tabber .wds-tabs__tab.wds-is-current { box-shadow: none; }

.tabber .wds-tabs__tab.wds-is-current a { background-color: var(--theme-accent-color); transition: background-color cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s; font-weight: bold; color: white; border-radius: 3px 3px 0 0; }

.tabber .wds-tabs__tab:not(.wds-is-current) a:hover { background-color: rgba(var(--theme-accent-color--rgb), 0.2); border-radius: 3px 3px 0 0; transition: background-color cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s; }

.tabber .wds-tabs__tab:not(.wds-is-current) a { transition: background-color cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s; }