MediaWiki:Gadget-text-spacing.css
跳转到导航
跳转到搜索
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/**!
* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* | Please discuss changes on the talk page or [[WP:VPT]] before editing. |
* |_____________________________________________________________________________|
*
* @author [[User:Diskdance]] <https://w.wiki/5F6e>
* @license Unlicense
*/
:root {
text-autospace: normal;
}
/* Firefox & Safari bug: https://github.com/w3c/csswg-drafts/issues/9979 */
:lang(ko),
/* Monospace (and likely monospace) elements */
code, kbd, pre, rp, rt, samp, textarea, var,
/* Elements with this class are excluded */
.gadget-nospace,
/* Editable elements */
[contenteditable="true"],
/* ACE editor content */
.ace_editor,
/* Visual Editor (and 2017 Wikitext Editor) content & diff */
.ve-ui-surface,
.ve-init-mw-diffPage-diff,
/* Diff */
.diff-context,
.diff-addedline,
.diff-deletedline,
/* Diff (inline mode) */
.mw-diff-inline-added,
.mw-diff-inline-deleted,
.mw-diff-inline-moved,
.mw-diff-inline-changed,
.mw-diff-inline-context {
text-autospace: no-autospace;
}