#How to change font color

27 messages · Page 1 of 1 (latest)

heady lark
#

I know exporting templates from wikipedia is highly discouraged because of all the amount of dependencies but I managed to reduce one (https://argobdp.miraheze.org/wiki/Template:Collapsible_list / https://en.wikipedia.org/wiki/Template:Collapsible_list) enough to work for what I need it to do (I tried using mw-collapsible before but it's too bouncy and hard to click + doesn't have a title function afaic). However the problem is that I have no idea how to change the list's font color (|lI.‸.), I've tried looking around and nothing I do seems to change it (I'm starting to believe there's some css to style the list I'm missing somewhere but idk).

I also found a kind of solution by adding a font color template (as seen below in the pic and in https://argobdp.miraheze.org/wiki/User:Gaocchi~/sandbox ) however I don't think that's practical enough to be the most reasonable thing to use.

Thanks in advance~

broken compass
heady lark
#

but wouldn't that make the font blue instead of white? since that includes 「content: '🟄 ' 」 as well ThinkerMH

turbid nimbus
heady lark
turbid nimbus
#

Let meeeee get to my computer, one moment

river mason
heady lark
heady lark
turbid nimbus
#

Yes, but it would also affect any other buttons on your wiki that would be included by that rule. If you don't want to edit the module to add a specific class or id to this element, you can add the following line of CSS:

  border: none !important;}```
or
```.mw-parser-output button:is(.mw-collapsible-toggle-default), button:is(.mw-customtoggle), button:is(.mw-collapsible-toggle) {
    border: none !important;}```
The use of `!important` here is needed because the other CSS in Line 262 would otherwise override the specificity of these classes
heady lark
#

I used the first one because I'd get a pop-up saying the second one contains an error, it did remove the border from the button but not from the table ThinkerMH

turbid nimbus
#

which part of the table are you trying to remove? (there's a lot of borders there so I'm just trying to make sure)

heady lark
#

this border here surrounding the whole conversation

#

but if it's not possible fixing it it's ok because I did find a solution for my og problem Σ(°ロ°)

#

turns out the template I use for the dialogue is set to have a white font so I can just make a copy of the template with black (did this preview test)

turbid nimbus
#

Something like this?

#

Or just around the "Conversation" column?

heady lark
#

just the one surrounding the entire conversation! This one next to the character name is intentional because it's his character color

turbid nimbus
#

ah, okay like this? (Just checking before I send what i have)

heady lark
#

sorry for asking for too much but could this lines that separate each section be added again?

#

the conversation part I had issues with looks perfect btw (≧▽≦) (as in it being borderless + black text)

turbid nimbus
#

I'm not sure I follow - in this screenshot, you only want the borders marked in red to be removed?

heady lark
#

the only border I wanted removed was this one

turbid nimbus
#

Ah! Okay, then you're all set, as that's what I see on your sandbox page. 💃 (Or rather, don't see 😉 )

heady lark
#

thank you so much for all the help ♡〜٩( ˃▿˂ )۶〜♡