start to style header material
This commit is contained in:
parent
76b2ff7358
commit
5d2599ea06
25
src/book.css
25
src/book.css
@ -22,6 +22,17 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
margin: 24px 0 12px 0;
|
margin: 24px 0 12px 0;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
div#title {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
div#title h1 {
|
||||||
|
font-size: 72px;
|
||||||
|
margin-top: 4em;
|
||||||
|
}
|
||||||
|
div#title h4 {
|
||||||
|
font-size: 24px;
|
||||||
|
margin-top: 4em;
|
||||||
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
@ -33,6 +44,12 @@ hr {
|
|||||||
}
|
}
|
||||||
div.chapter {
|
div.chapter {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
|
width: 690px;
|
||||||
|
min-width: 690px;
|
||||||
|
max-width: 690px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-bottom: 32px;
|
||||||
}
|
}
|
||||||
div#title {
|
div#title {
|
||||||
page-break-after: always;
|
page-break-after: always;
|
||||||
@ -43,14 +60,6 @@ div#contents {
|
|||||||
div#introduction {
|
div#introduction {
|
||||||
page-break-after: always;
|
page-break-after: always;
|
||||||
}
|
}
|
||||||
table {
|
|
||||||
width: 690px;
|
|
||||||
min-width: 690px;
|
|
||||||
max-width: 690px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
margin-bottom: 32px;
|
|
||||||
}
|
|
||||||
table td {
|
table td {
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
@ -2,6 +2,4 @@
|
|||||||
<h1>Go by Example</h1>
|
<h1>Go by Example</h1>
|
||||||
|
|
||||||
<h4>Mark McGranaghan</h4>
|
<h4>Mark McGranaghan</h4>
|
||||||
|
|
||||||
<p>Version eb9cf61d</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user