index styling
This commit is contained in:
parent
078e6ed3ab
commit
351fa331ba
@ -18,11 +18,15 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="intro">
|
<div id="intro">
|
||||||
<h2>Go by Example</h2>
|
<h2>Go by Example</h2>
|
||||||
|
<p>Currently available examples:</p>
|
||||||
<ul>
|
<ul>
|
||||||
{{range .}}
|
{{range .}}
|
||||||
<li><a href="{{.Id}}">{{.Name}}</a></li>
|
<li><a href="{{.Id}}">{{.Name}}</a></li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
|
<p class="footer">
|
||||||
|
Follow <a href="https://twitter.com/gobyexample">@gobyexample</a> for updates. <a href="https://github.com/mmcgrana/gobyexample">Source</a> & <a href="https://github.com/mmcgrana/gobyexample#license">license</a>.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -74,11 +74,10 @@ div.chapter {
|
|||||||
div.chapter table {
|
div.chapter table {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
div.chapter p.footer {
|
p.footer {
|
||||||
margin-top: 20px;
|
|
||||||
color: grey;
|
color: grey;
|
||||||
}
|
}
|
||||||
div.chapter p.footer a, div.chapter p.footer a:visited {
|
p.footer a, p.footer a:visited {
|
||||||
color: grey;
|
color: grey;
|
||||||
}
|
}
|
||||||
div#intro {
|
div#intro {
|
||||||
@ -88,8 +87,11 @@ div#intro {
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
div#intro p {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
div#intro ul {
|
div#intro ul {
|
||||||
padding-top: 5px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
table td {
|
table td {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user