initial contents styling
This commit is contained in:
parent
6754abf779
commit
cdd12d7400
@ -1,3 +1,5 @@
|
||||
// ## Base64 Encoding
|
||||
|
||||
package main
|
||||
|
||||
import b64 "encoding/base64"
|
||||
|
26
src/book.css
26
src/book.css
@ -48,6 +48,11 @@ div.chapter {
|
||||
margin-right: auto;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
div#introduction, div#contents {
|
||||
width: 330px;
|
||||
min-width: 330px;
|
||||
max-width: 330px;
|
||||
}
|
||||
div#title {
|
||||
page-break-after: always;
|
||||
}
|
||||
@ -57,9 +62,28 @@ div#contents {
|
||||
div#introduction {
|
||||
page-break-after: always;
|
||||
}
|
||||
div#introduction p, h2, h3 {
|
||||
div#introduction p {
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
div#introduction h2, h3 {
|
||||
padding: 10px 5px 10px 5px;
|
||||
}
|
||||
div#contents h2 {
|
||||
padding: 10px 5px 10px 5px;
|
||||
}
|
||||
div#contents ul {
|
||||
list-style: none;
|
||||
padding: 0 0 0 5px;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
}
|
||||
div#contents a:after {
|
||||
content: leader(".") target-counter(attr(href, url), page);
|
||||
}
|
||||
div#contents a {
|
||||
text-decoration: none;
|
||||
}
|
||||
table td {
|
||||
border: 0;
|
||||
outline: 0;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// ## Closing Channels
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
@ -37,7 +37,7 @@ timeouts
|
||||
scatter-gather
|
||||
rate-limiting
|
||||
worker-pools
|
||||
nonblocking-channel-operations
|
||||
non-blocking-channel-operations
|
||||
closing-channels
|
||||
timers
|
||||
tickers
|
||||
|
@ -1,3 +1,5 @@
|
||||
// ## Non-blocking Channel Operations
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
Loading…
x
Reference in New Issue
Block a user