Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Want to make the wiki better? Contribute towards getting larger projects done on our Patreon!

Icon background color

Icon background color

I changed the background color for the icon to be gray like Template:StyleFood. This way the icons for items that naturally have black (e.g. Cichol Puppet) will be visible. Is everyone okay with this, or do you have a different color to suggest?

Angevon (Talk)10:30, 16 May 2012

Wouldn't it be better to apply the change on the image class in MediaWiki:Common.css?

TheFarix10:34, 16 May 2012
 

I'm not familiar with the css so I didn't want to touch it. Tell me where to change it and I'll do it.

Angevon (Talk)11:22, 16 May 2012
 
Edited by 2 users.
Last edit: 19:45, 3 September 2012

It's pretty much the same as regular coding. All you have to do is replace

table.mabitable tr.image td, table.mabitable td.image,
table.imagetable td, table.imagetable th {
    background-color: #000;
}

with

table.mabitable tr.image td, table.mabitable td.image,
table.imagetable td, table.imagetable th {
    background-color: #333;
}

(I think.) But that will effect every imagetable on the wiki. No item will have a black background.

Pyro - (Talk)12:33, 16 May 2012

The irony. A text replacement in a post requesting replacement.

Pyro - (Talk)22:26, 3 September 2012
 
 

Meant to edit this, not double post...

Pyro - (Talk)12:33, 16 May 2012
 

The only unpleasant side effect I can think of doing this is that all of those nice previews people has taken in front of the Dunbarton Library doorway will look odd now. :\

TheFarix12:40, 16 May 2012
 

And things like that is why I recommended this.

Pyro - (Talk)12:43, 16 May 2012
 

After thinking about this, and seeing the current results I think I prefer a completely black background because it makes most icons pop out more. But perhaps apply a switch when you are dealing with an icon that contain black.

TheFarix04:14, 19 May 2012
 

I don't like the gray much, either. It looks out of place since the table's borders are also gray. I'm fine with the switch idea.

Angevon (Talk)09:11, 19 May 2012
 

So, should it be a style override such as ImageStyle=background: #333; or more like BlackIcon=y While the latter is shorter, the former is more customizable for the situation.

TheFarix10:15, 19 May 2012
 

Can you do that with CSS?

Pyro - (Talk)12:26, 19 May 2012
 

Very easily.

TheFarix12:52, 19 May 2012
 

Maybe if we edit the template but how would that work with CSS? (I don't know too much about CSS.)

Pyro - (Talk)13:09, 19 May 2012