Fix compatibility with all skins

This commit checks if the user is currently on a specified skin and
displays the relevant HTML styles for it. This fixes the display
for the Modern skin by placing it into the "p-cactions" section.

All other supported skins by MediaWiki work as of this commit.

Bug: 54450
Change-Id: Ia03ca52def8b42432987818635346d9ef263eaef
Merge "Fix compatibility with all skins"