MediaWiki:Gadget-Edit0.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。
/**
* SPDX-License-Identifier: CC-BY-SA-4.0
* _addText: 'https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/Edit0|license=CC-BY-SA-4.0nse=CC-BY-SA-4.0}}'
*
* @base {@link https://zh.wikipedia.org/wiki/MediaWiki:Gadget-edit0.css}
* @base {@link https://zh.wikipedia.org/wiki/MediaWiki:Gadget-edit0.js}
* @source {@link https://git.qiuwen.net.cn/InterfaceAdmin/QiuwenGadgets/src/branch/master/src/Edit0}
* @license CC-BY-SA-4.0 {@link https://www.qiuwenbaike.cn/wiki/H:CC-BY-SA-4.0}
*/
/**
* +------------------------------------------------------------+
* | === WARNING: GLOBAL GADGET FILE === |
* +------------------------------------------------------------+
* | All changes should be made in the repository, |
* | otherwise they will be lost. |
* +------------------------------------------------------------+
* | Changes to this page may affect many users. |
* | Please discuss changes by opening an issue before editing. |
* +------------------------------------------------------------+
*/
/* <nowiki> */
/* src/Edit0/Edit0.less */
body.ltr h1.firstHeading .mw-editsection-bracket:first-of-type,
body.rtl h1.firstHeading .mw-editsection-bracket:not(:first-of-type) {
margin-right: 0.25em;
color: #4d4d4d;
}
body .page-heading .mw-editsection a {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
body:not(.skin-citizen) .page-heading .mw-editsection a {
display: inline-block;
font-size: 1em;
vertical-align: middle;
}
body.skin-citizen .page-heading .mw-editsection a {
font-size: 1rem;
}
body.skin-citizen .mw-indicators .mw-editsection {
margin-right: 10px;
margin-left: 0;
}
body.skin-citizen .mw-indicators .mw-editsection::before {
content: "首段:";
font-family: sans-serif;
font-family: var(--fonts-sans, sans-serif);
font-size: 0.75rem;
}
body #firstHeading span.mw-editsection a::after {
content: " (首段)";
}
html:lang(en) body #firstHeading span.mw-editsection a::after {
content: " (lead section)";
}