User:SunAfterRain/js/InternalLinkHelperV1.css
外观
< User:SunAfterRain | js
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/**
* https://zh.wikipedia.org/w/index.php?title=MediaWiki:Gadget-internalLinkHelper-redonly.css&oldid=19776810
* @author [[User:Liangent]]
*/
html.userjs-ilhv1-no-comment .ilh-comment {
display: none;
}
/**
* https://zh.wikipedia.org/w/index.php?title=MediaWiki:Gadget-internalLinkHelper-redplain.css&oldid=19776907
* @author [[User:Liangent]]
*/
html.userjs-ilhv1-red-plain .ilh-lang,
html.userjs-ilhv1-red-plain .ilh-colon {
display: none;
/* avoid spacing flash */
}
html.userjs-ilhv1-red-plain .ilh-link a {
color: inherit !important;
/* try to mimic plain text before js is ready */
}
/**
* https://zh.wikipedia.org/w/index.php?title=MediaWiki:Gadget-internalLinkHelper-external.css&oldid=42783775
* @author [[User:Liangent]]
*/
html.userjs-ilhv1-external .ilh-page a.new {
color: #36b !important;
/* mimic */
}
/**
* https://zh.wikipedia.org/w/index.php?title=MediaWiki:Gadget-internalLinkHelper-suffix.css&oldid=42683240
* @author [[User:Liangent]]
*/
html.userjs-ilhv1-suffix .ilh-comment {
/* taken from [[Template:Languageicon]] */
font-family: sans-serif;
color: #54595d;
font-size: 0.8em;
bottom: 0.1em;
font-weight: bold;
}
html.userjs-ilhv1-suffix .ilh-lang a {
color: inherit !important;
}
html.userjs-ilhv1-suffix .ilh-colon,
html.userjs-ilhv1-suffix .ilh-link {
display: none;
}
/**
* https://zh.wikipedia.org/w/index.php?title=MediaWiki:Gadget-internalLinkHelper-altcolor.css&oldid=83265824
* @author [[User:Liangent]]、[[User:Cookai1205]]
*/
html.userjs-ilhv1-green-link .ilh-page a.new,
html.userjs-ilhv1-green-link .ilh-page a.new:hover,
html.userjs-ilhv1-green-link .ilh-tool {
color: #007a5e;
}
html.userjs-ilhv1-green-link .ilh-page a.new:visited {
color: #428c7a;
}
html.userjs-ilhv1-green-link .client-nojs .ilh-page a.new,
html.userjs-ilhv1-green-link .ilh-active .ilh-page a.new {
color: var(--color-link-red--hover, #ff4242);
}
/* NIGHT MODE STYLES */
html.userjs-ilhv1-green-link.skin-theme-clientpref-night .ilh-page a.new,
html.userjs-ilhv1-green-link.skin-theme-clientpref-night .ilh-page a.new:hover,
html.userjs-ilhv1-green-link.skin-theme-clientpref-night .ilh-tool {
color: #009b78;
}
html.userjs-ilhv1-green-link.skin-theme-clientpref-night .ilh-page a.new:visited {
color: #479683;
}
html.userjs-ilhv1-green-link.skin-theme-clientpref-night .client-nojs .ilh-page a.new,
html.userjs-ilhv1-green-link.skin-theme-clientpref-night .ilh-active .ilh-page a.new {
color: var(--color-link-red--hover, #ef8174);
}
/* This should be a copy of the rules above with replace( /clientpref-(1)/, '2' ) */
@media (prefers-color-scheme: dark) {
html.userjs-ilhv1-green-link.skin-theme-clientpref-os .ilh-page a.new,
html.userjs-ilhv1-green-link.skin-theme-clientpref-os .ilh-page a.new:hover,
html.userjs-ilhv1-green-link.skin-theme-clientpref-os .ilh-tool {
color: #009b78;
}
html.userjs-ilhv1-green-link.skin-theme-clientpref-os .ilh-page a.new:visited {
color: #479683;
}
html.userjs-ilhv1-green-link.skin-theme-clientpref-os .client-nojs .ilh-page a.new,
html.userjs-ilhv1-green-link.skin-theme-clientpref-os .ilh-active .ilh-page a.new {
color: var(--color-link-red--hover, #ef8174);
}
}
/**
* https://zh.wikipedia.org/w/index.php?title=MediaWiki:Gadget-internalLinkHelper-ilbluehl.css&oldid=47146761
* @author [[User:Shinjiman]]
*/
html.userjs-ilhv1-highlight-existing .ilh-blue span a {
color: #21a9ff;
}
html.userjs-ilhv1-highlight-existing .ilh-blue span a:visited {
color: #2150ff;
}