1
0
mirror of https://github.com/twirl/The-API-Book.git synced 2025-05-31 22:09:37 +02:00

fresh build

This commit is contained in:
Sergey Konstantinov 2022-09-19 01:15:13 +03:00
parent 3678ea946c
commit 69097c27d8
5 changed files with 20 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -12,19 +12,31 @@ html,
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 12pt; }
.toc a, ul li, ol li {
text-size-adjust: none; text-size-adjust: none;
font-size: 11pt !important;
} }
pre { pre {
margin: 0 0 1em 0; margin: 0 0 1em 0;
width: calc(100% - 2px); width: calc(100% - 2px);
line-height: 0.8em !important;
}
p code, pre code {
font-size: 9pt !important;
} }
img { img {
margin: 1px; margin: 1px;
} }
img.cc-by-nc-img {
width: 90px;
}
h1, h1,
h2, h2,
h3, h3,
@ -33,10 +45,13 @@ h5,
h6 { h6 {
page-break-before: auto; page-break-before: auto;
page-break-after: avoid; page-break-after: avoid;
line-height: 1.2em;
font-size: 80%;
} }
p { p {
orphans: 5; orphans: 5;
font-size: 11pt;
} }
img { img {
@ -52,19 +67,18 @@ img {
background-size: cover; background-size: cover;
position: relative; position: relative;
margin: 0; margin: 0;
font-size: 4mm;
aspect-ratio: 102/150; aspect-ratio: 102/150;
} }
.cover h1 { .cover h1 {
font-size: 12mm; font-size: 7mm;
text-align: left; text-align: left;
padding: 10mm 20mm 10mm 20mm; padding: 8mm 18mm 10mm 18mm;
line-height: 15mm; line-height: 12mm;
} }
.cover h1 .title { .cover h1 .title {
font-size: 20mm; font-size: 10mm;
} }
p, p,