From 437fb958fab6eb883d74f510a7fbee3ac4da4553 Mon Sep 17 00:00:00 2001 From: necolas Date: Fri, 27 May 2011 12:42:29 +0100 Subject: [PATCH] Improve copy. Adjust alignment. Add tweet button. --- index.html | 17 +++++++++++------ style.css | 16 ++++++++++++---- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 7373442..78ead80 100644 --- a/index.html +++ b/index.html @@ -40,15 +40,20 @@

Chrome, Firefox 3+, Safari 4+, Opera 10+, Internet Explorer 6+

Source code

-

Get the source code on GitHub: necolas/normalize.css, or download it in either zip or tar formats.

-

You can also clone the project with Git by running:

$ git clone git://github.com/necolas/normalize.css

- +

Available on GitHub: necolas/normalize.css

+

Download it in either zip or tar formats.

+

Clone the project with Git by running:

+
$ git clone git://github.com/necolas/normalize.css
+

Acknowledgements

-

Normalize.css is a project by Jonathan Neal and Nicolas Gallagher. Our branches have diverged somewhat and I recommend that you also have a look at Jonathan's normalize.css branch.

-

Detailed information on default UA styles can be found at IECSS.com - Internet Explorer User Agent Style Sheets and CSS2.1 User Agent Style Sheet Defaults

+

Normalize.css is a project by Jonathan Neal and Nicolas Gallagher. Our branches have diverged and I recommend that you also have a look at Jonathan's normalize.css branch.

+

Detailed information on default UA styles: Internet Explorer User Agent Style Sheets and CSS2.1 User Agent Style Sheet Defaults

+ + Tweet + diff --git a/style.css b/style.css index 68f5f81..5ef4a3e 100644 --- a/style.css +++ b/style.css @@ -47,6 +47,7 @@ strong { pre { display: block; padding: 5px; + margin: 1em 0; font-family: consolas, monospace, monospace; font-size: 1em; color: #fff; @@ -69,14 +70,17 @@ li { h1 { margin: 0.5em 0; font-size: 3.5em; - text-align: center; } h2 { - margin: 1em 0 0.75em; + margin: 1.25em 0 0.75em; font-size: 1.5em; } +p { + margin: 0 0 1em; +} + /* structure */ .fork img { @@ -86,8 +90,7 @@ h2 { } .demo { - margin:2em 0 4em; - text-align: center; + margin:1em 0 4em; } .demo p { @@ -136,7 +139,12 @@ h2 { background: #569107; } +.twitter-share-button { + margin: 20px 0 0; +} + .footer { + padding: 10px 0 0; border-top: 1px solid #ccc; margin: 3em 0 0; font-size: 13px;