update ToC (and fonts)

This commit is contained in:
Alan Donovan
2015-06-24 15:02:14 -04:00
parent 54d720cbcc
commit d803838f5f
4 changed files with 27 additions and 6 deletions

Binary file not shown.

BIN
fonts/Lato-Bold.ttf Normal file

Binary file not shown.

BIN
fonts/MinionPro-Regular.ttf Normal file

Binary file not shown.

View File

@@ -3,31 +3,52 @@
<meta name="go-import" content="gopl.io git https://github.com/adonovan/gopl.io"></meta> <meta name="go-import" content="gopl.io git https://github.com/adonovan/gopl.io"></meta>
<title>The Go Programming Language</title> <title>The Go Programming Language</title>
<style> <style>
@font-face {
font-family: MinionPro;
font-weight: normal;
src: url("fonts/MinionPro-Regular.ttf");
}
@font-face {
font-family: Lato;
font-weight: bold;
src: url("fonts/Lato-Bold.ttf");
}
@font-face {
font-family: InconsolataGo;
font-weight: normal;
src: url("fonts/InconsolataGo-Regular.ttf");
}
body {
font-family: MinionPro,"Times New Roman";
}
table { table {
margin: auto; margin: auto;
} }
h1 { h1 {
font-family: Helvetica; font-family: Lato,Helvetica;
} }
td { td {
padding: 1em; padding: 1em;
} }
code, pre {
font-family: InconsolataGo;
}
p { p {
line-height: 130%; font-size: 110%;
line-height: 130%;
} }
.center { .center {
text-align: center; text-align: center;
} }
.bio { .bio {
font-size: 85%; font-size: 95%;
text-align: justify; text-align: justify;
} }
.sm { .sm {
font-size: 80%; font-size: 80%;
} }
#toc h1 { #toc h1 {
font-family: "Times New Roman"; font-size: 95%;
font-size: 85%;
font-weight: normal; font-weight: normal;
} }
</style> </style>
@@ -59,7 +80,7 @@ Addison-Wesley; 320pp; ISBN:&nbsp;978-0134190440<br/>
<td> <td>
<h1>7. Interfaces</h1> <h1>7. Interfaces</h1>
<h1>8. Concurrency</h1> <h1>8. Concurrency</h1>
<h1>9. Packages and the <code>go</code> Tool</h1> <h1>9. Packages and the Go Tool</h1>
<h1>10. Testing</h1> <h1>10. Testing</h1>
<h1>11. Reflection</h1> <h1>11. Reflection</h1>
<h1>12. Low-Level Programming</h1> <h1>12. Low-Level Programming</h1>