__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Izno-20240907040700","type":"heading","level":0,"id":"h-Mobile_skin_and_block_quotations-20240907040700","replies":["c-Izno-20240907040700-Mobile_skin_and_block_quotations"],"text":"Mobile skin and block quotations","linkableTitle":"Mobile skin and block quotations"}-->
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Izno-20240907040700","type":"heading","level":0,"id":"h-Mobile_skin_and_block_quotations-20240907040700","replies":["c-Izno-20240907040700-Mobile_skin_and_block_quotations"],"text":"Mobile skin and block quotations","linkableTitle":"Mobile skin and block quotations"}-->
__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Andrybak-20241112214200","type":"heading","level":0,"id":"h-Edit_summaries_and_\"three_classes_to_match_specificity\"-20241112214200","replies":["c-Andrybak-20241112214200-Edit_summaries_and_\"three_classes_to_match_specificity\""],"text":"Edit summaries and \"three classes to match specificity\"","linkableTitle":"Edit summaries and \"three classes to match specificity\""}-->
Edit summaries and "three classes to match specificity"
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Andrybak-20241112214200","type":"heading","level":0,"id":"h-Edit_summaries_and_\"three_classes_to_match_specificity\"-20241112214200","replies":["c-Andrybak-20241112214200-Edit_summaries_and_\"three_classes_to_match_specificity\""],"text":"Edit summaries and \"three classes to match specificity\"","linkableTitle":"Edit summaries and \"three classes to match specificity\""}-->
However, what I am sure about is that removing .content from this CSS rule made its comment outdated: Use three classes to match specificity of MobileFrontend/Minerva selectors. It's no longer three classes, but two in each selector. —andrybak (talk) 21:42, 12 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241112214200","author":"Andrybak","type":"comment","level":1,"id":"c-Andrybak-20241112214200-Edit_summaries_and_\"three_classes_to_match_specificity\"","replies":["c-Izno-20241112220300-Andrybak-20241112214200"]}}-->
I'm sure the note was necessary to note before. Some upstream changes (that we shouldn't be subject to anyway, but that's an aside) have adjusted the expectations for what we need to do locally I think. So now I'm pretty sure the note isn't necessary. Izno (talk) 22:03, 12 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241112220300","author":"Izno","type":"comment","level":2,"id":"c-Izno-20241112220300-Andrybak-20241112214200","replies":[]}}-->
__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Awesome_Aasim-20241117015100","type":"heading","level":0,"id":"h-Edit_request_to_make_new_template_work_{{lightdark}}-20241117015100","replies":["c-Awesome_Aasim-20241118214700-Edit_request_to_make_new_template_work_{{lightdark}}","c-Awesome_Aasim-20241117015100-Edit_request_to_make_new_template_work_{{lightdark}}","c-Jonesey95-20241118043500-Edit_request_to_make_new_template_work_{{lightdark}}"],"text":"Edit request to make new template work {{lightdark}}","linkableTitle":"Edit request to make new template work {{lightdark}}"}-->
Edit request to make new template work {{lightdark}}
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Awesome_Aasim-20241117015100","type":"heading","level":0,"id":"h-Edit_request_to_make_new_template_work_{{lightdark}}-20241117015100","replies":["c-Awesome_Aasim-20241118214700-Edit_request_to_make_new_template_work_{{lightdark}}","c-Awesome_Aasim-20241117015100-Edit_request_to_make_new_template_work_{{lightdark}}","c-Jonesey95-20241118043500-Edit_request_to_make_new_template_work_{{lightdark}}"],"text":"Edit request to make new template work {{lightdark}}","linkableTitle":"Edit request to make new template work {{lightdark}}"}-->
Resolved
Update 1: Appears that I duplicated functionality in an existing template, so I did a quick and dirty merge. AwesomeAasim21:47, 18 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241118214700","author":"Awesome Aasim","type":"comment","level":1,"id":"c-Awesome_Aasim-20241118214700-Edit_request_to_make_new_template_work_{{lightdark}}","replies":[],"displayName":"Awesome"}}-->
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
I recently created a template that changes what content is displayed depending on whether dark or light mode is used. However, it requires a bit of CSS to make working. Please add the following tested CSS into the common.css to make the behavior work as intended.
The added lines will make the template work. Since as far as I am aware there isn't CSS that will change this theme, the only way to do this is to have some CSS to make this template work like a switch, similar to all the CSS hiding and showing elements for different user groups.
If it is technically feasible, you can condense the .lightdark-islightmode and .lightdark-isdarkmode down to .lightmode/.islightmode and .darkmode/.isdarkmode to make this CSS work outside of the template I created. AwesomeAasim01:51, 17 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241117015100","author":"Awesome Aasim","type":"comment","level":1,"id":"c-Awesome_Aasim-20241117015100-Edit_request_to_make_new_template_work_{{lightdark}}","replies":["c-Xaosflux-20241117022400-Awesome_Aasim-20241117015100"],"displayName":"Awesome"}}-->
Not done not going to add this to the site wide script for all readers just for this one template that doesn't have any current usability, and is unlikely to be used in places all readers would need it, such as in articles. — xaosfluxTalk02:24, 17 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241117022400","author":"Xaosflux","type":"comment","level":2,"id":"c-Xaosflux-20241117022400-Awesome_Aasim-20241117015100","replies":["c-Awesome_Aasim-20241117042100-Xaosflux-20241117022400"]}}-->
I see the primary use case being templates where icons may need to shift colors depending on background. For example changing a black icon to white where readability is concerned. But I am not going to further debate the merits of such a change yet as I do agree it may need more time to determine its prospective use on pages across Wikipedia. AwesomeAasim04:21, 17 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241117042100","author":"Awesome Aasim","type":"comment","level":3,"id":"c-Awesome_Aasim-20241117042100-Xaosflux-20241117022400","replies":["c-Izno-20241117070600-Awesome_Aasim-20241117042100"],"displayName":"Awesome"}}-->
This doesn't need Common.css anyway. It can be done solely in TemplateStyles. Izno (talk) 07:06, 17 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241117070600","author":"Izno","type":"comment","level":4,"id":"c-Izno-20241117070600-Awesome_Aasim-20241117042100","replies":["c-Awesome_Aasim-20241117164200-Izno-20241117070600"]}}-->
You're right. I thought it would, apparently not! AwesomeAasim16:42, 17 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241117164200","author":"Awesome Aasim","type":"comment","level":5,"id":"c-Awesome_Aasim-20241117164200-Izno-20241117070600","replies":[],"displayName":"Awesome"}}-->
Sorry to pile on here after the close, but please see the template's talk page, where I asked if this template was redundant to {{if dark}}. – Jonesey95 (talk) 04:35, 18 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241118043500","author":"Jonesey95","type":"comment","level":1,"id":"c-Jonesey95-20241118043500-Edit_request_to_make_new_template_work_{{lightdark}}","replies":[]}}-->
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Jeremyb-20241215212500","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_15_December_2024-20241215212500","replies":["c-Jeremyb-20241215212500-Interface-protected_edit_request_on_15_December_2024"],"text":"Interface-protected edit request on 15 December 2024","linkableTitle":"Interface-protected edit request on 15 December 2024"}-->
Interface-protected edit request on 15 December 2024
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Jeremyb-20241215212500","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_15_December_2024-20241215212500","replies":["c-Jeremyb-20241215212500-Interface-protected_edit_request_on_15_December_2024"],"text":"Interface-protected edit request on 15 December 2024","linkableTitle":"Interface-protected edit request on 15 December 2024"}-->
This edit request to MediaWiki:Minerva.css has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
mdot is displaying both the anonymous and logged in parameters for {{if IP}} for logged out users. autoconfirmed-show was added to common CSS around the same time as mobile CSS. looks like user-show also needs to be added to the same section. cc: MusikAnimalJeremyb (talk) 21:25, 15 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241215212500","author":"Jeremyb","type":"comment","level":1,"id":"c-Jeremyb-20241215212500-Interface-protected_edit_request_on_15_December_2024","replies":["c-Jeremyb-phone-20241215222600-Jeremyb-20241215212500"]}}-->
oops forgot to include the test case: Wikipedia:Meetup/Seattle/Wikipedia Day 2025Jeremyb (talk) 22:26, 15 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241215222600","author":"Jeremyb-phone","type":"comment","level":2,"id":"c-Jeremyb-phone-20241215222600-Jeremyb-20241215212500","replies":["c-Pppery-20241225181100-Jeremyb-phone-20241215222600"],"displayName":"Jeremyb"}}-->
Done* Pppery *it has begun...18:11, 25 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241225181100","author":"Pppery","type":"comment","level":3,"id":"c-Pppery-20241225181100-Jeremyb-phone-20241215222600","replies":[],"displayName":"* Pppery *"}}-->