Cleaned up template for gallery list.
Removed unnecessary rules from main.less.