- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
MediaWiki:Mobile.css
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 放置于这里的CSS将影响使用移动版网站的用户 */
/*
* 全站css控制
* 此代码根据知识共享 署名-非商业性使用-相同方式共享 3.0复制自萌娘百科http://zh.moegirl.org/MediaWiki:Common.css
* 版权协定:知识共享 署名-非商业性使用-相同方式共享 3.0
*/
/* 侧边栏和替换logo图片隐藏 */
#sidebar-character,
#wglogo {
display: none;
}
/* 注释文字 */
sup.mobileref {
display:none;
}
sup.mobileref:after {
content: " (" attr(title) ")";
display: inline;
}
/* 页顶提示模板相关 */
#commonBoxInfo {
color: #f00;
font-weight: bold;
text-align: center;
}
#commonBoxList > .commonBoxButton {
display: inline-block;
border-bottom: 3px solid #000;
width: 40px;
height: 40px;
background: #fff 50% 50% no-repeat;
background-size: contain;
cursor: pointer;
transition: opacity .5s;
}
#commonBoxList.open > .commonBoxButton {
opacity: .1;
}
#commonBoxList.open > .commonBoxButton.current {
opacity: 1;
/* 大家族模板 */
.navbox th, .navbox-group {
background: #a5e4a5;
}
/* 来个高优先级的 */
body .content .navbox {
display: table!important;
}
.navbox {
border: 1px solid #aaa;
clear: both;
padding: 1px;
text-align: center;
width: 100%;
}
.navbox-group {
white-space: nowrap;
}
.navbox table {
width: 100% !important;
margin: 0 !important;
}
.navbox-subgroup .navbox-group {
background: #e6f6e6;
}
.navbox-title > div:first-child {
display: none;
}
@media screen and (max-width: 640px) {
.navbox-group {
display: block;
}
.navbox-group + * {
display: block;
width: 100%;
border-left: 1em solid #a5e4a5 !important;
padding-left: 3px !important;
padding-top: 3px !important;
box-sizing: border-box;
}
.navbox-subgroup .navbox-group + * {
border-left: 1em solid #e6f6e6 !important;
}
}