previousnext/agov-profile — pull request #158 by xtfer (2013-09-04 01:41:42+00:00)
Title: 16209 typography fixes

This was worse than it looked... The cause of our woes was that we were setting *some* common settings, but in other places were providing specific overrides. These overrides were inconsistent (e.g. they often overlapped badly), and had been patched with others, and so on.

We also had some places where we'd broken CSS by using very specific selectors to target Views et al, but had then altered the implementation (e.g. by changing to a panel pane from a block, and so on). As a result, once I started testing all the different areas of the site, I noticed cascading problems.

To fix this, I've merged and normalised all of our Views, Block and Bean CSS, and ensured that Views are all using consistent templates (they weren't). Every view in aGov now uses the same CSS, and as a result they all look much better. Some are slightly different to what they were before, but they actually look good now. The most noticeable change is on the home page, where the News view is now styled (correctly) to match the blog view.

So, this patch does the following:
- Tidies up heading sizes
- Normalises heading leading across all usages
- Normalises and merges view styles
- Normalises block and bean styles
- Ensures all views with grouping have the correct h2 wrapper on the title, for accessibility

To test:
- Run through the site, looking at all the pages, and checking for issues.