MediaWiki:Gadget-ViewerMode.css:修订间差异
外观
LocalAdmin(留言 | 贡献) 补全我的博客图标样式及视图切换对齐 |
LocalAdmin(留言 | 贡献) Remove flex override; keep viewer-mode rules |
||
| 第21行: | 第21行: | ||
} | } | ||
/* Highlight toggle when | /* Highlight toggle button when reader view is active */ | ||
html.viewer-mode #pt-viewer-mode a { | html.viewer-mode #pt-viewer-mode a { | ||
color: #f0a500 | color: #f0a500; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
2026年3月12日 (四) 10:12的版本
/* ViewerMode gadget styles */
/* === Viewer mode: hide editing UI === */
html.viewer-mode .mw-editsection {
display: none !important;
}
html.viewer-mode #ca-edit,
html.viewer-mode #ca-ve-edit,
html.viewer-mode #ca-viewsource {
display: none !important;
}
html.viewer-mode #p-cactions {
display: none !important;
}
html.viewer-mode #ca-watch,
html.viewer-mode #ca-unwatch {
display: none !important;
}
html.viewer-mode .vector-sticky-header-edit-icons {
display: none !important;
}
/* Highlight toggle button when reader view is active */
html.viewer-mode #pt-viewer-mode a {
color: #f0a500;
font-weight: bold;
}