MediaWiki talk:Common.css

Why the change from the ".WikiaArticle" selector to ".content"? If anything, it should be "#content" right?

- Stuffinmud (talk) 01:30, 22 November 2020 (UTC)


 * From what I understand, .WikiaArticle was renamed to .content in the UCP migration. My knowledge of CSS is limited basically to the stuff I've looked up for this wiki though; what would the difference be between .content and #content?
 * --BoxDroppingManApe (talk) 02:04, 22 November 2020 (UTC)


 * "." selects for "class" and "#" selects for "id"
 * The HTML looks like this:
 * so the selector used in the CSS should be "#content" or ".WikiaArticle"
 * In the link you provided, they mention that "#WikiaArticle" changed to "#content" (the id), but doesn't mention the class, so ".WikiaArticle" should still work as it did pre-migration.
 * -- Stuffinmud (talk) 02:21, 22 November 2020 (UTC)