index styling

This commit is contained in:
Mark McGranaghan 2012-10-09 19:34:11 -07:00
parent 078e6ed3ab
commit 351fa331ba
2 changed files with 10 additions and 4 deletions

View File

@ -18,11 +18,15 @@
<body>
<div id="intro">
<h2>Go by Example</h2>
<p>Currently available examples:</p>
<ul>
{{range .}}
<li><a href="{{.Id}}">{{.Name}}</a></li>
{{end}}
</ul>
<p class="footer">
Follow <a href="https://twitter.com/gobyexample">@gobyexample</a> for updates. <a href="https://github.com/mmcgrana/gobyexample">Source</a> &amp; <a href="https://github.com/mmcgrana/gobyexample#license">license</a>.
</p>
</div>
</body>
</html>

View File

@ -74,11 +74,10 @@ div.chapter {
div.chapter table {
margin-bottom: 20px;
}
div.chapter p.footer {
margin-top: 20px;
p.footer {
color: grey;
}
div.chapter p.footer a, div.chapter p.footer a:visited {
p.footer a, p.footer a:visited {
color: grey;
}
div#intro {
@ -88,8 +87,11 @@ div#intro {
margin-left: auto;
margin-right: auto;
}
div#intro p {
padding-top: 20px;
}
div#intro ul {
padding-top: 5px;
padding-top: 20px;
}
table td {
border: 0;