mirror of
https://github.com/nature-of-code/noc-book-2
synced 2024-11-17 07:49:05 +01:00
fdb07a7d23
update the image title into 60%K!
74 lines
1.2 KiB
SCSS
74 lines
1.2 KiB
SCSS
.chapter-opening {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
page-break-after: always;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
|
|
.chapter-opening-header {
|
|
margin: 0 5mm;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.chapter-number {
|
|
font-size: 144pt;
|
|
line-height: 0.75;
|
|
}
|
|
|
|
.chapter-opening-title {
|
|
margin-left: 12mm;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
text-align: right;
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
font-size: 21pt;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 0;
|
|
}
|
|
|
|
p {
|
|
margin: 0.25rem 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
.chapter-opening-quote-source {
|
|
p {
|
|
font-style: normal;
|
|
}
|
|
}
|
|
|
|
.chapter-opening-quote-long {
|
|
p {
|
|
font-size: 7pt;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.chapter-opening-figure {
|
|
h3 {
|
|
margin: 12pt 5mm 6pt;
|
|
font-size: 7pt;
|
|
color: #666666;
|
|
}
|
|
|
|
p {
|
|
margin: 6pt 5mm;
|
|
font-size: 7pt;
|
|
line-height: 10pt;
|
|
}
|
|
|
|
p.caption {
|
|
font-size: 6pt;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
}
|