MediaWiki talk:Common.css: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Line 19: Line 19:


:I am confused which class should I use. Roundtable makes cells white, what I would prefer but it also adds unnecessery padding at the bottom.--'''[[User:Team Rocket Grunt|<span style="color:#CC0000">Rocket</span> <span style="color:#666666">Grunt</span>]] ([[User talk:Team Rocket Grunt|<span style="color:#CCCCCC">Report To Me</span>]])''' 16:36, 8 March 2020 (UTC)
:I am confused which class should I use. Roundtable makes cells white, what I would prefer but it also adds unnecessery padding at the bottom.--'''[[User:Team Rocket Grunt|<span style="color:#CC0000">Rocket</span> <span style="color:#666666">Grunt</span>]] ([[User talk:Team Rocket Grunt|<span style="color:#CCCCCC">Report To Me</span>]])''' 16:36, 8 March 2020 (UTC)
::The purpose of the padding is to allow the bottom of the table to be rounded, without rounding the bottom cells themselves (which is particularly important if the table is sortable, for example). Rather than having different styles depending on whether or not the table is sortable, as a single universal approach was chosen.
::Making the cells white is because historically tables would define <code>style="background: #FFF"</code> on every row, but this class makes that unnecessary. Since a rounded table with colored headers is the standard table design used on Bulbapedia, it's ideal to have these behaviors defined in a single class. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 01:14, 9 March 2020 (UTC)

Revision as of 01:14, 9 March 2020

Halp

Can someone take my name off where it's supposed to italicize administrators? My admin status was only temporary, and I don't want to confuse anyone thinking I'm an admin 8( unless you guys were planning to re-add that anytime soon, ahahah ▫▪Ťïňắ 17:49, 4 April 2010 (UTC)

And can somebody put my name on? I'm a sysop in good standing and as such my username should be italicized, yet my name's not among that list, with zero valid excuse (and no more) as to why it's not there...--Shiningpikablu252 17:56, 4 April 2010 (UTC)
Hmm, I suppose this puts me more or less in charge of keeping the list up-to-date, heh.
I'll remove you for now Tina, if you do get admin status again it'll possibly be a different rank anyhow, so no need to get confused.
Shining, you're on probation, and since the main purpose of this code is to allow users to see what admins are online, it won't do any good to list a user who's not currently an admin. When your probation's over, depending on the result, your name will be adjusted accordingly. (unless perhaps you'd like your own "ON PROBATION AND IN DENIAL" text style...) -- Jïörüjï Ðērākō.>.cнаt^ 12:13, 6 April 2010 (UTC)

"roundtable" class

Why does the class "roundtable" make tables' cells white? This class certainly makes sure you can't cheat with the CSS background defined after "|-".

.roundtable td {
  background-color: white;
}

I think this should be separated to a different class. --TheICTLiker4 16:20, 7 March 2020 (UTC)

I am confused which class should I use. Roundtable makes cells white, what I would prefer but it also adds unnecessery padding at the bottom.--Rocket Grunt (Report To Me) 16:36, 8 March 2020 (UTC)
The purpose of the padding is to allow the bottom of the table to be rounded, without rounding the bottom cells themselves (which is particularly important if the table is sortable, for example). Rather than having different styles depending on whether or not the table is sortable, as a single universal approach was chosen.
Making the cells white is because historically tables would define style="background: #FFF" on every row, but this class makes that unnecessary. Since a rounded table with colored headers is the standard table design used on Bulbapedia, it's ideal to have these behaviors defined in a single class. --SnorlaxMonster 01:14, 9 March 2020 (UTC)