Template talk:Archive top yellow

Latest comment: 12 days ago by 2804:F14:80E8:FC01:998C:9346:6986:83AA in topic Semi-protected edit request on 4 November 2024

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