VE-1610: Use Cascading Style Sheets to adjust rendering of galleries in VE

https://wikia-inc.atlassian.net/browse/VE-1610