Jump to content

Template talk:Archive top yellow

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Semi-protected edit request on 4 November 2024

[edit]

Please change the template and the css to mirror Template:Archive top red and Template:Archive top red/styles.css. The way it works now is setting a CSS that changes the style of all other archive tops, ANI's ones are currently all yellow because of that.

The changes should be these:

Template:Archive top yellow
{{ safesubst:<noinclude/>ifsubst||<templatestyles src="Archive top yellow/styles.css" />}}

{{Archive top |head = {{{head|{{{status|}}}}}} |body = {{{body|{{{outcome|{{{reason|{{{result|{{{1|}}}}}}}}}}}}}}} }}<noinclude></div> {{documentation}}

</noinclude>
+
{{ safesubst:<noinclude/>ifsubst||<templatestyles src="Archive top yellow/styles.css" />}}

{{Archive top |class = archive-top-yellow |head = {{{head|{{{status|}}}}}} |body = {{{body|{{{outcome|{{{reason|{{{result|{{{1|}}}}}}}}}}}}}}} }}<noinclude></div> {{documentation}}

</noinclude>
Template:Archive top yellow/styles.css
/* {{pp|small=y}} */ div.archive-top.mw-archivedtalk.archived.boilerplate { background-color: #ffffd1; color: #000; } @media screen { html.skin-theme-clientpref-night div.archive-top.mw-archivedtalk.archived.boilerplate { background-color: #301d00; color: #fff; } } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os div.archive-top.mw-archivedtalk.archived.boilerplate {

background-color: #301d00; color: #fff; }

}
+
/* {{pp|small=y}} */ .archive-top.archive-top-yellow { background-color: #ffffd1; color: #000; } @media screen { html.skin-theme-clientpref-night .archive-top.archive-top-yellow { background-color: #301d00; color: #fff; } } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .archive-top.archive-top-yellow {

background-color: #301d00; color: #fff; }

}

I was unsure how to test the changes so I didn't (can't create a sandbox as an IP)... so please do test it first if you're able to. – 2804:F1...86:83AA (talk) 19:37, 4 November 2024 (UTC)[reply]

 Done Elli (talk | contribs) 20:51, 4 November 2024 (UTC)[reply]
@Elli it's a bit red 😅. – 2804:F1...86:83AA (talk) 20:57, 4 November 2024 (UTC)[reply]
Oh, uhh, pretends to be colorblind (it should be fixed now) Elli (talk | contribs) 20:59, 4 November 2024 (UTC)[reply]
Thank you very much :). – 2804:F1...86:83AA (talk) 20:59, 4 November 2024 (UTC)[reply]