MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第4行: | 第4行: | ||
#siteSub{display:none !important;} | #siteSub{display:none !important;} | ||
.mw-file-element{max-width: 100%;height: auto!important;} | .mw-file-element{max-width: 100%;height: auto!important;} | ||
/* 调整 InPageEdit 工具箱按钮位置 */ | |||
#ipe-edit-toolbox { | |||
top: 100px !important; /* 距离顶部的距离,根据需要调整 */ | |||
} | |||
/* 或者调整工具箱触发器的位置 */ | |||
#toolbox-toggler { | |||
top: 100px !important; | |||
} | |||
/* 如果你想让它固定在特定位置,可以这样 */ | |||
#ipe-edit-toolbox { | |||
position: fixed !important; | |||
top: 50% !important; /* 垂直居中 */ | |||
right: 10px !important; | |||
transform: translateY(-50%) !important; | |||
} | |||
2026年5月24日 (日) 13:42的版本
/* 这里放置的CSS将应用于所有皮肤 */
html{-webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);}
*,.page-info__label{font-family:Roboto !important;}
#siteSub{display:none !important;}
.mw-file-element{max-width: 100%;height: auto!important;}
/* 调整 InPageEdit 工具箱按钮位置 */
#ipe-edit-toolbox {
top: 100px !important; /* 距离顶部的距离,根据需要调整 */
}
/* 或者调整工具箱触发器的位置 */
#toolbox-toggler {
top: 100px !important;
}
/* 如果你想让它固定在特定位置,可以这样 */
#ipe-edit-toolbox {
position: fixed !important;
top: 50% !important; /* 垂直居中 */
right: 10px !important;
transform: translateY(-50%) !important;
}