Skip to content

Commit 437fb95

Browse files
committed
Improve copy. Adjust alignment. Add tweet button.
1 parent 51ebf30 commit 437fb95

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

index.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,20 @@ <h2>Browser support</h2>
4040
<p>Chrome, Firefox 3+, Safari 4+, Opera 10+, Internet Explorer 6+</p>
4141

4242
<h2>Source code</h2>
43-
<p>Get the source code on GitHub: <a href="http://github.com/necolas/normalize.css">necolas/normalize.css</a>, or download it in either <a href="http://github.com/necolas/normalize.css/zipball/master">zip</a> or <a href="http://github.com/necolas/normalize.css/tarball/master">tar</a> formats.</p>
44-
<p>You can also clone the project with <a href="http://git-scm.com">Git</a> by running: <pre>$ git clone git://github.com/necolas/normalize.css</pre></p>
45-
43+
<p>Available on GitHub: <a href="http://github.com/necolas/normalize.css">necolas/normalize.css</a></p>
44+
<p>Download it in either <a href="http://github.com/necolas/normalize.css/zipball/master">zip</a> or <a href="http://github.com/necolas/normalize.css/tarball/master">tar</a> formats.</p>
45+
<p>Clone the project with <a href="http://git-scm.com">Git</a> by running:</p>
46+
<pre>$ git clone git://github.com/necolas/normalize.css</pre>
47+
4648
<h2>Acknowledgements</h2>
47-
<p>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 <a href="https://github.com/jonathantneal/normalize.css">Jonathan's normalize.css branch</a>.</p>
48-
<p>Detailed information on default UA styles can be found at <a href="http://iecss.com">IECSS.com - Internet Explorer User Agent Style Sheets</a> and <a href="http://css-class.com/test/css/defaults/UA-style-sheet-defaults.htm">CSS2.1 User Agent Style Sheet Defaults</a></p>
49+
<p>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 <a href="https://github.com/jonathantneal/normalize.css">Jonathan's normalize.css branch</a>.</p>
50+
<p>Detailed information on default UA styles: <a href="http://iecss.com">Internet Explorer User Agent Style Sheets</a> and <a href="http://css-class.com/test/css/defaults/UA-style-sheet-defaults.htm">CSS2.1 User Agent Style Sheet Defaults</a></p>
51+
52+
<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="necolas" data-related="jon_neal">Tweet</a>
53+
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
4954

5055
<div class="footer">
51-
<p>Made by <a href="http://nicolasgallagher.com">Nicolas Gallagher</a> and <a href="http://twitter.com/jon_neal">Jonathan Neal</a>.</p>
56+
<p>A project by <a href="http://nicolasgallagher.com">Nicolas Gallagher</a> and <a href="http://twitter.com/jon_neal">Jonathan Neal</a>.</p>
5257
</div>
5358

5459
</div>

style.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ strong {
4747
pre {
4848
display: block;
4949
padding: 5px;
50+
margin: 1em 0;
5051
font-family: consolas, monospace, monospace;
5152
font-size: 1em;
5253
color: #fff;
@@ -69,14 +70,17 @@ li {
6970
h1 {
7071
margin: 0.5em 0;
7172
font-size: 3.5em;
72-
text-align: center;
7373
}
7474

7575
h2 {
76-
margin: 1em 0 0.75em;
76+
margin: 1.25em 0 0.75em;
7777
font-size: 1.5em;
7878
}
7979

80+
p {
81+
margin: 0 0 1em;
82+
}
83+
8084
/* structure */
8185

8286
.fork img {
@@ -86,8 +90,7 @@ h2 {
8690
}
8791

8892
.demo {
89-
margin:2em 0 4em;
90-
text-align: center;
93+
margin:1em 0 4em;
9194
}
9295

9396
.demo p {
@@ -136,7 +139,12 @@ h2 {
136139
background: #569107;
137140
}
138141

142+
.twitter-share-button {
143+
margin: 20px 0 0;
144+
}
145+
139146
.footer {
147+
padding: 10px 0 0;
140148
border-top: 1px solid #ccc;
141149
margin: 3em 0 0;
142150
font-size: 13px;

0 commit comments

Comments
 (0)