Template talk:Hidden archive top

Latest comment: 3 months ago by Andrybak in topic Heading text colour unreadable in dark mode

Nomination for merging of Template:Collapse bottom and Template:Hidden archive bottom

edit

 Template:Collapse bottom has been nominated for merging with Template:Hidden archive bottom. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Thank you. –MJLTalk 03:15, 28 February 2021 (UTC)Reply

Why?

edit

Why is basically the same line used twice? --91.5.101.3 (talk) 01:33, 17 June 2022 (UTC)Reply

[show] button not working

edit

I'm not familiar with this template, so I'm not sure where the issue is and whether there's an issue in the first place, but I've encountered it on Talk:Viktor Shokin where it's in the top section of the talk page. The template displays the text [show] and I would expect that this is a button/hyperlink to see said archived discussion. The problem is that this show-button/hyperlink is not clickable. To see the discussion I need to go into the Editor (~edit section). There, I can see the discussion in raw wiki syntax. But that's probably not how this template is supposed to work...? Nakonana (talk) 11:37, 22 October 2023 (UTC)Reply

Heading text colour unreadable in dark mode

edit

In Vector 2022 dark mode, as can (not) be seen at Special:Permalink/1237147973, all headings inside the hatted section are shown with white text, making them unreadable on the light orange background. This is because of two style rules: .mw-heading, h1, h2, h3, h4, h5, h6 { color: var(--color-emphasized, #000) } and html.skin-theme-clientpref-night { --color-emphasized: #f8f9fa }.

I think this could be fixed using TemplateStyles with either something like .hidden-archive { --color-emphasized: black } or .hidden-archive .mw-heading { color: black }, but maybe someone else has a better idea. Thoughts? Rummskartoffel 10:49, 28 July 2024 (UTC) Turns out TemplateStyles doesn't allow setting variables, so that fix wouldn't work. Rummskartoffel 11:31, 28 July 2024 (UTC)Reply

Please copy Special:Permalink/1237150758 to Template:Hidden archive top/styles.css, then insert <templatestyles src="Template:Hidden archive top/styles.css" /> before the current first line of Template:Hidden archive top. Rummskartoffel 20:26, 31 July 2024 (UTC)Reply
  Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template.
Headings won't be the only thing that can be broken inside a {{hat}}/{{hab}} pair in dark mode. A more general approach, perhaps using mw:Codex colors (with color: var(--color-base, #202122); to deal dark mode styling), should be used. I tried some colors: Special:Diff/1148582313/1238559239, but it is too far from the current  #fcf4ef .
The top row of {{hat}} has color  #f2dfce . Perhaps, we should completely revamp the coloring and only use Codex colors? —⁠andrybak (talk) 14:44, 4 August 2024 (UTC)Reply