User:優枰/global.css

/* 字體  */ body.skin-fandomdesktop { font-family: "思源黑体 CN", sans-serif; --theme-page-headings-font: "思源黑体 CN" } body.skin-oasis, .skin-oasis .WikiaPageContentWrapper { font-family: "思源黑体 CN", sans-serif; }

body input, body textarea, body button, body select { font-family: "思源黑体 CN", sans-serif; }

code, kbd, pre, tt, .wikiEditor-ui .wikiEditor-ui-text .ace_editor, .wikiEditor-ui .wikiEditor-ui-text .CodeMirror, td.mw-enhanced-rc, .mw-enhanced-rc-time { font-family: Consolas, 方正仿宋_GBK, monospace; }

/* 工具條 */ .skin-fandomdesktop .WikiaBarWrapper .tools>li { height: 26px; margin: 0; }

/* 全域導航欄相關 */ .fandom-sticky-header { left: 45px; }

.global-navigation { width: 45px; }

.global-navigation__nav { grid-row-gap: 20px; }

.global-navigation__logo .wds-icon { width: 45px; }

.global-navigation__logo .wds-icon+span { display: none; }

.global-navigation__icon { height: 35px; width: 35px; }

.global-navigation__links { grid-row-gap: 16px; }

.global-navigation__icon.has-background svg, .global-navigation__icon.has-border svg { height: 21px; min-width: 21px; width: 21px; }

.global-navigation__label { display: none; }

.global-navigation .wds-dropdown { margin-left: 5px; }

.global-navigation .wds-dropdown__toggle { width: 40px; }

.global-navigation__link:last-child { padding: 2px 0; }

.global-navigation__icon.has-border { height: 31px; width: 31px; }

.global-navigation__bottom { grid-row-gap: 12px; }

@media only screen and (min-height: 480px) { .global-navigation__bottom { position: initial; } }

.global-navigation .notifications { margin-bottom: 0; }

.global-navigation .wds-avatar { --wds-avatar-size: 31px; }

.global-navigation .wds-dropdown.is-attached-to-bottom .wds-dropdown__content { left: 45px; }

.main-container { margin-left: 45px; width: calc(100% - 45px); }

.search-modal, .search-modal::before { left: 45px; }

.search-modal__content { min-height: 338px; }

/* 屏幕寬度相關 */ @media only screen and (min-width: 1200px) { .skin-fandomdesktop .fandom-community-header__image { grid-row: 1/3; }	.skin-fandomdesktop .fandom-community-header__image img { max-height: 100px; max-width: 250px; }	.skin-fandomdesktop .fandom-community-header__local-navigation { grid-column: initial; } }

@media only screen and (min-width: 1200px) { .skin-fandomdesktop .AdminDashboard { flex-direction: initial; }	.skin-fandomdesktop .AdminDashboard .right-menu { padding-left: 36px; } } .skin-oasis .AdminDashboard .admin-dashboard-content .control-section .controls .control { padding: 20px 0 0; } .skin-fandomdesktop .AdminDashboard .admin-dashboard-content .control-section .controls .control { margin: 0 -1px; }

/* 頁腳 */ color: var(--theme-page-text-color); }
 * 1) mixed-content-footer {

.mcf-card-wiki-articles { background: none; }

.mcf-card-wiki-articles__header { margin: -1px -1px 0; border-radius: 3px 3px 0 0; background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); } .mcf-card-wiki-articles__header::before { display: none; }

.mcf-card-wiki-articles__list { margin: 0; padding: 1em; background-color: var(--theme-page-background-color); }

.mcf-card-wiki-articles__item { border: 0; }

.mcf-card-wiki-articles__item-link { padding: 0 10px; border-radius: 3px; transition-property: background-color, color; transition-duration: .3s; color: inherit; } .mcf-card-wiki-articles__item:hover .mcf-card-wiki-articles__item-link { background-color: rgba(var(--theme-link-color--rgb), .1); color: var(--theme-link-color); }

.mcf-card-wiki-articles__circle { background-color: #7a8080; }

.mcf-card-discussions { background: none; }

.mcf-card-discussions__header { margin: -1px -1px 0; border-bottom: 0; border-radius: 3px 3px 0 0; background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); }

.mcf-card-discussions__link { color: var(--theme-accent-link-color); } .mcf-card-discussions__link:active, .mcf-card-discussions__link:focus, .mcf-card-discussions__link:hover { color: var(--theme-accent-link-color--hover); text-decoration: none; }

.mcf-card-discussions__list { padding: 1em; background-color: var(--theme-page-background-color); background-image: radial-gradient(farthest-side at 50% 0, rgba(var(--theme-page-dynamic-color-2--rgb), .12), transparent), radial-gradient(farthest-side at 50% 100%, rgba(var(--theme-page-dynamic-color-2--rgb), .12), transparent); } .mcf-card-discussions__list:after, .mcf-card-discussions__list:before { position: relative; } .mcf-card-discussions__list:after { bottom: -1em; } .mcf-card-discussions__list:before { top: -1em; }

.mcf-card-discussions__item { margin: 0; border: 0; border-radius: 3px; transition-property: background-color, color; transition-duration: .3s; } .mcf-card-discussions__item:hover { background-color: rgba(var(--theme-link-color--rgb), .04); }

.mcf-card-discussions__item a { margin: 0; color: inherit; text-decoration: none; transition-property: background-color, color; transition-duration: .3s; } .mcf-card-discussions__item a:hover { color: var(--theme-link-color); background-color: rgba(var(--theme-link-color--rgb), .0625); }

.mcf-card-discussions__user-info { padding: 0.5em 1em; border-radius: 3px 3px 0 0; } .mcf-card-discussions__item>:last-child { padding: 0 1em; border-radius: 0 0 3px 3px; }

.mcf-card-discussions__user-info .wds-avatar { --wds-avatar-border-color: var(--theme-border-color); --wds-avatar-border-color--hover: var(--theme-link-color); }

.mcf-card-discussions__user-subtitle { color: inherit; opacity: initial; }

.mcf-card-discussions__item a:hover .wds-avatar__image { color: var(--wds-avatar-border-color--hover); }

.mcf-card-discussions__content { color: inherit; }

.mcf-card-discussions__meta { color: var(--theme-page-text-color); opacity: .75; }

.mcf-card-discussions__in, .mcf-card-discussions__counters, .mcf-card-discussions__counters svg { color: inherit; }

.mcf-card-article { transition: transform .3s; } .mcf-card-article:hover { transform: scale(0.975); } .mcf-card-article__subtitle { opacity: .75; }

.mcf-card-related-wikis { background: none; }

.mcf-card-related-wikis__header { border: 0; margin: -1px -1px 0; border-radius: 3px 3px 0 0; background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); }

.mcf-card-related-wikis__list { margin: 0; padding: 1em; background-color: var(--theme-page-background-color); overflow-y: auto; }

.mcf-card-related-wikis__item { border: 0; }

.mcf-card-related-wikis__item-image { max-width: 75px; }

@media only screen and (max-width: 1023px) { .mcf-card-related-wikis__item-image { max-width: 50px; } }

.mcf-card-related-wikis__item-link { padding: 0 1em; border-radius: 3px; color: inherit; transition-property: background-color, color; transition-duration: .3s; } .mcf-card-related-wikis__item:hover .mcf-card-related-wikis__item-link { background-color: rgba(var(--theme-link-color--rgb), .1); color: var(--theme-link-color); }

.mcf-card-related-wikis__title { color: inherit; }

/* 瀏覽器字體導致的問題 */ .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { border-radius: 3px 3px 0 0; } .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-tagMultiselectWidget-input input { height: 39px; } .oo-ui-textInputWidget.oo-ui-iconElement > .oo-ui-iconElement-icon { height: 39px; top: 0; } .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { border-bottom-right-radius: 0; }

/* 取消斜體 */ .ace_editor.ace-dawn .ace_comment { font-style: normal; } .ace_editor.ace-twilight .ace_comment { font-style: normal; color: #9b969c; }