Help talk:Reference display customization
Add topicAppearance
Latest comment: 11 days ago by D4n2016 in topic "Put in a box with a scrollbar" as gadget?
| This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
| |||||||||||
Customization
[edit]Can someone help me? I want to use the below code to remove brackets from references but it doesn't work at all. Every other change in the style of the references works well except this one:
sup.reference a span {
display: none;
}
-Yoosef (talk) 19:46, 20 July 2021 (UTC)
- Yoosef Pooranvary, this is super dumb, will probably break something, but it seems to work, relatively speaking:
.reference > a { position: relative; } .reference > a::after, .reference > a::before { color: var(--background-color-base,#fff); position: absolute; } .reference > a::before { content: "▍"; left: 0; top: 0.3em; } .reference > a::after { content: "▐"; right: -0.20em; top: 0.3em; }
- The
contentare two of the Box-drawing characters. —andrybak (talk) 00:29, 23 July 2024 (UTC)
"Put in a box with a scrollbar" as gadget?
[edit]If sb. could take the time to test my addition with the various skins and propose a gadget for it it could be a super useful gadgets addition (especially since this page has notibly increased in views over the past 3 weeks). See "Gadget criteria" D4n2016 AMD RYZEN ZEN 3 user Talk 17:33, 4 August 2026 (UTC)