Board Thread:General Coding Help/@comment-27987867-20150322182626/@comment-452-20150322183234

The body element of each page has page-specific classes. On this wiki, .ns-0.page-Wikia_Developers_Wiki could be used to target the main page, so :not(.ns-0.page-Wikia_Developers_Wiki) could be used to do what you want.

Of course, if the page was renamed, it would stop working. Unfortunately, there is no class containing the article ID, except for threads, which have .page-Thread_6267