注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 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 placed here will be applied to all skins */
/** Bug Fixes **/
/* Fix TOC Menu */
.toc .toctitle {
text-align: center;
}
/* Fix mw.notify */
.mw-notification-area {
top: 50px;
}
/* Fix postedit */
.postedit-container {
top: 50px;
}
/* Fix BannerNotifications */
.banner-notifications-placeholder {
height: auto !important;
}
/* Fix CodeMirror tooltip */
.CodeMirror-lint-tooltip {
z-index: 300;
}
/* Fix Template Classification */
.template-classification-entry-point__wrapper {
display: inline-block;
}
/* Fix blog listing page */
.page-header__counter {
display: inline-block;
margin-left: 5px;
}
/* Fix gallery */
.wikiaPhotoGallery-slider-body {
background-color: #000000;
}
.wikiaPhotoGallery-slider-body .wikiaPhotoGallery-slider-controls .wikiaPhotoGallery-slider-prev,
.wikiaPhotoGallery-slider-body .wikiaPhotoGallery-slider-controls .wikiaPhotoGallery-slider-next {
z-index: 2 !important;
}
.wikiaPhotoGallery-slider-body .horizontal .description,
.wikiaPhotoGallery-slider-body .horizontal .description-background,
.wikiaPhotoGallery-slider-body .horizontal .nav {
transform: translateY(0) !important;
}
.wikiaPhotoGallery-slider-body .horizontal .description,
.wikiaPhotoGallery-slider-body .horizontal .description-background {
height: 85px !important;
}
.wikiaPhotoGallery-slider-body .horizontal .description {
width: 270px !important;
padding: 5px 0 10px 10px;
}
.wikiaPhotoGallery-slider-body .horizontal .description h2 {
display: block;
font-size: 20px;
/* font-weight: normal; */
line-height: normal;
height: 26px;
margin: 0;
opacity: 1;
overflow: hidden;
text-shadow: 0 1px 1px #000;
width: 250px;
vertical-align: baseline !important;
}
.wikiaPhotoGallery-slider-body .horizontal .description p {
white-space: normal;
font-size: 12px;
height: 28px;
line-height: 14px;
margin: 0 0 .3em;
opacity: 1;
overflow: hidden;
width: 250px;
}
.wikiaPhotoGallery-slider-body .horizontal .description .read-more-button-wrapper {
font-size: 12px;
height: 16px;
line-height: 10px;
}
.wikiaPhotoGallery-slider-body .horizontal .description-background {
opacity: .5 !important;
}
.wikiaPhotoGallery-slider-body .nav img {
width: 90px !important;
height: 70px !important;
opacity: .8;
}
.wikiaPhotoGallery-slider-body .nav.selected img {
border: 1px solid #FFF;
opacity: 1;
}
.wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-3 .nav {
right: 10px;
}
.wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-2 .nav {
right: 110px;
}
.wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-1 .nav {
right: 210px !important;
}
.wikiaPhotoGallery-slider-body .horizontal .wikiaPhotoGallery-slider-0 .nav {
right: 310px !important;
}
/* Fix CodeMirror tooltip */
.CodeMirror-lint-tooltip {
z-index: 300;
}
/* Fix SITENAME variant conversion */
/* Zendesk #916679 allowed */
:lang(zh) .wds-community-header__sitename a {
visibility: hidden;
}
:lang(zh) .wds-community-header__sitename a::before {
content: '动物森友会 Wiki';
visibility: visible;
}
:lang(zh-hant) .wds-community-header__sitename a,
:lang(zh-hant-tw) .wds-community-header__sitename a,
:lang(zh-tw) .wds-community-header__sitename a,
:lang(zh-hant-hk) .wds-community-header__sitename a,
:lang(zh-hk) .wds-community-header__sitename a,
:lang(zh-hant-mo) .wds-community-header__sitename a,
:lang(zh-mo) .wds-community-header__sitename a {
visibility: visible;
}
:lang(zh-hant) .wds-community-header__sitename a::before,
:lang(zh-hant-tw) .wds-community-header__sitename a::before,
:lang(zh-tw) .wds-community-header__sitename a::before,
:lang(zh-hant-hk) .wds-community-header__sitename a::before,
:lang(zh-hk) .wds-community-header__sitename a::before,
:lang(zh-hant-mo) .wds-community-header__sitename a::before,
:lang(zh-mo) .wds-community-header__sitename a::before {
content: '';
visibility: hidden;
}
:lang(zh-hans) .wds-community-header__sitename a,
:lang(zh-hans-cn) .wds-community-header__sitename a,
:lang(zh-cn) .wds-community-header__sitename a,
:lang(zh-hans-sg) .wds-community-header__sitename a,
:lang(zh-sg) .wds-community-header__sitename a,
:lang(zh-hans-my) .wds-community-header__sitename a,
:lang(zh-my) .wds-community-header__sitename a {
visibility: hidden;
}
:lang(zh-hans) .wds-community-header__sitename a::before,
:lang(zh-hans-cn) .wds-community-header__sitename a::before,
:lang(zh-cn) .wds-community-header__sitename a::before,
:lang(zh-hans-sg) .wds-community-header__sitename a::before,
:lang(zh-sg) .wds-community-header__sitename a::before,
:lang(zh-hans-my) .wds-community-header__sitename a::before,
:lang(zh-my) .wds-community-header__sitename a::before {
content: '动物森友会 Wiki';
visibility: visible;
}
/* Gadget-HideConversionTab.css */
#ca-0,
#ca-1,
#ca-2,
#ca-varlang-0,
#ca-varlang-1,
#ca-varlang-2{
display: none;
}