MediaWiki:Common.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 这里放置的CSS将应用于所有皮肤 */ /* 代码都是从Fandom后室抄的 QWQ */ @import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:AjaxPoll.Modern.css|u:dev:MediaWiki:BalancedBloglists.css|u:dev:MediaWiki:BalancedCategories.css|u:dev:MediaWiki:BalancedComments.css|u:dev:MediaWiki:BalancedMessageBoxes.css|u:dev:MediaWiki:BalancedPageBottom.css|u:dev:MediaWiki:BalancedProfile.css|u:dev:MediaWiki:BalancedScrollbar.css|u:dev:MediaWiki:LocalNavExploreIcons.css|u:dev:MediaWiki:BalancedSearch.css|u:dev:MediaWiki:BalancedSlider.css|u:dev:MediaWiki:BalancedTabber.css|u:dev:MediaWiki:CSS3Tooltip.css|u:dev:MediaWiki:Highlight.css|u:dev:MediaWiki:LeafyStrap.css|u:dev:MediaWiki:ThemeBasedStyling.css|u:dev:MediaWiki:ThemeColorClasses.css|u:dev:MediaWiki:ProgressBar.css|u:dev:MediaWiki:SpoilerBlur.css|u:dev:MediaWiki:UserAnimations.css|u:zh.ookami-chan:MediaWiki:Fandomdesktop.css"); /* 首页 */ .mainpage-banner, .mainpage-block { background-color: #4E4E4E; border-color: #000000; border-style: solid; border-width: 0.6px; margin: 10px 5px; padding: 15px 0; } .mainpage-banner { border-radius: 0 0; text-align: center; } .mainpage-banner-content { margin: 0 2.5%; } .mainpage-banner-header { background-color: #4E4E4E; font-size: 175%; font-weight: bold; margin: 12px; } .mainpage-block { border-radius: 9px; } .mainpage-block-content { margin: 0 10px; } .mainpage-block-header { background-color: var(--theme-border-color); font-size: 150%; font-weight: bold; margin-bottom: 15px; padding: 0 30px; } .mainpage-contact img{ filter: sepia(0.5) invert(0.9); } .theme-fandomdesktop-dark .mainpage-contact img{ filter: none; } /** 导航栏动效 **/ .wds-dropdown__toggle-chevron, .fandom-community-header__local-navigation .wds-list .wds-dropdown-chevron{transition: .3s;} .fandom-community-header__local-navigation .wds-list li:hover .wds-dropdown-chevron {transform: rotate(0deg) !important;} .wds-dropdown.wds-is-active .wds-dropdown__toggle-chevron, .wds-dropdown:not(.wds-is-touch-device):not(.wds-is-not-hoverable):hover .wds-dropdown__toggle-chevron {transform: rotate(180deg) !important;} /** 透明 **/ .page__main { background-color: rgba(var(--theme-page-background-color--rgb), 0.7); } .page__right-rail { background-color: rgba(var(--theme-page-background-color--secondary--rgb), 0.7) !important; } .page__right-rail .rail-module { background-color: transparent !important; }