diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-09-06 16:14:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-09-06 16:14:12 +0100 |
commit | 9f127c12667b038856c6de120f33d349ca38c11e (patch) | |
tree | 7f08be1e1af9b6bf336beefb59b6a2640c783e1f /web/css/_main.scss | |
parent | 2444a7ed22ef8800fd6d9e6440dab4b7a4ee3dc6 (diff) |
Add viewport headings, tidy up IE exemptions.
Diffstat (limited to 'web/css/_main.scss')
-rw-r--r-- | web/css/_main.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/css/_main.scss b/web/css/_main.scss index 84994c62a..c7e959c32 100644 --- a/web/css/_main.scss +++ b/web/css/_main.scss @@ -1,5 +1,17 @@ // Generics +/* Thanks to normalize.css + * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units + * http://clagnut.com/blog/348/#c790 + * 3. Prevents iOS text size adjust after orientation change, without disabling user zoom + * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ + */ +html { + font-size: 100%; /* 1 */ + -webkit-text-size-adjust: 100%; /* 3 */ + -ms-text-size-adjust: 100%; /* 3 */ +} + body { font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif; margin: 0; |