dev

Note: After publishing, you may have to bypass your browser's cache to see the changes.

/* Make "aka" text better aligned with username and aka name in profile */
#userProfileApp .user-identity-header__attributes > h2 span {
    vertical-align: revert;
}

/* Remove the black circles around the "moved" indicators in diffs when selecting the text (+ JS in MediaWiki:Sofix/FixDiffIndicators.js) */
[class^="mw-diff-movedpara-"]::after {
    content: none;
}
[class^="mw-diff-movedpara-"],
[class^="mw-diff-movedpara-"]:hover,
[class^="mw-diff-movedpara-"]:active {
    color: inherit;
}

/* Text selection in the 2010 wikitext editor */
body.theme-fandomdesktop-dark .CodeMirror .CodeMirror-cursor {
    border-color: #e6e6e6;
}
body.theme-fandomdesktop-dark .CodeMirror .CodeMirror-selected {
    background: #273747;
}

/* Fix profile being wider than editor */
.ve-active #userProfileApp,
.action-edit #userProfileApp {
    background-color: unset;
}

/* Stop extra toc icons from showing up in the toc */
.toc .toctitle h2 .wds-icon:not(:first-child) {
    display: none;
}

/* Fix rail overflowing when expanding */
.page__right-rail:not(.is-rail-hidden) :is(#WikiaRail, .sticky-modules-wrapper) {
    overflow: hidden;
}

/* Fix Fandom logo in staff sigs not updating with theme */
.staffSigImage {
    visibility: hidden;
}
.staffSigLink {
    background: no-repeat center calc(100% - 1px)/64px 14px;
}
.theme-fandomdesktop-dark .staffSigLink {
    background-image: url(/resources-ucp/mw139/dist/svg/wds-brand-fandom-logo-light.svg);
}
.theme-fandomdesktop-light .staffSigLink {
    background-image: url(/resources-ucp/mw139/dist/svg/wds-brand-fandom-logo.svg);
}

/* Fix avatar border and edit button being unthemed */
#userProfileApp .user-identity-avatar__actions .wds-floating-button {
    --wds-floating-button-background-color: var(--theme-page-background-color--secondary);
}
body.skin-fandomdesktop #userProfileApp .user-profile-editor__avatar .user-identity-avatar__image {
    border-color: var(--theme-border-color);
}

/* Fix line numbers on code pages not being dark themed */
.mw-highlight .linenos {
    color: var(--theme-body-text-color);
}
.mw-content-ltr.mw-highlight-lines pre,
.mw-content-ltr.content .mw-highlight-lines pre {
    box-shadow: inset 2.75em 0 0 var(--theme-page-text-mix-color-95);
}
.mw-highlight a:hover .linenos,
.mw-highlight .hll a .linenos {
    color: var(--theme-link-color--hover);
}