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 { font-family: 方正仿宋_GBK, monospace; }

pre, .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; }

/* 瀏覽器字體導致的問題 */ .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; }