tweak intro styling, fix css indentation
This commit is contained in:
parent
fb76e45b2d
commit
c597b89bf2
@ -67,6 +67,16 @@ div.chapter {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
div#intro {
|
||||
width: 400px;
|
||||
min-width: 400px;
|
||||
max-width: 400px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
div#intro ul {
|
||||
padding-top: 5px;
|
||||
}
|
||||
table td {
|
||||
border: 0;
|
||||
outline: 0;
|
||||
|
@ -206,7 +206,9 @@ func renderIndex(chapterIds []string) {
|
||||
<link rel=stylesheet href="../style/site.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="chapter" id="contents"><h2>Go by Example</h2><ul>`)
|
||||
<div id="intro">
|
||||
<h2>Go by Example</h2>
|
||||
<ul>`)
|
||||
|
||||
for _, chapterId := range chapterIds {
|
||||
chapterLines := readLines("src/" + chapterId + "/" + chapterId + ".go")
|
||||
|
Loading…
x
Reference in New Issue
Block a user