帮助:小工具/用户标识:修订间差异

添加210字节 、​ 2023年7月23日 (星期日)
无编辑摘要
(// Edit via Wikiplus)
无编辑摘要
标签2017年版源代码编辑
第25行: 第25行:
===自定义===
===自定义===
;若想更改默认设置,请在[[特殊:MyPage/common.css|您的common.css中]]加入以下代码。
;若想更改默认设置,请在[[特殊:MyPage/common.css|您的common.css中]]加入以下代码。
<pre>.markrights-用户组名称::after{content:"显示文字"!important;color:颜色}</pre>
<syntaxhighlight lang="css">.markrights-用户组名称::after{
    content:"显示文字"!important;
    color:颜色
}</syntaxhighlight>
;将行政员的显示文字改为「行」
;将行政员的显示文字改为「行」
<pre>.markrights-bureaucrat::after{content:"行"!important}</pre>
<syntaxhighlight lang="css">.markrights-bureaucrat::after{
    content:"行"!important
}</syntaxhighlight>
;将管理员的颜色改为橙色
;将管理员的颜色改为橙色
<pre>.markrights-sysop::after{color:orange}</pre>
<syntaxhighlight lang="css">.markrights-sysop::after{
    color:orange
}</syntaxhighlight>
;隐藏对机器人的标注
;隐藏对机器人的标注
<pre>.markrights-bot::after{display:none!important}</pre>
<syntaxhighlight lang="css">.markrights-bot::after{
    display:none!important
}</syntaxhighlight>
;隐藏多个用户组标识之间的2px
;隐藏多个用户组标识之间的2px
<pre>sup[class^=markrights-]+sup[class^=markrights-]{margin-left:0!important}</pre>
<syntaxhighlight lang="css">sup[class^=markrights-]+sup[class^=markrights-]{
    margin-left:0!important
}</syntaxhighlight>
<!--
<!--
==封禁标识==
==封禁标识==
鼠标悬停于[封+]上方时可显示封禁详情。
鼠标悬停于[封+]上方时可显示封禁详情。
-->
-->
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,469

个编辑