Skip to content

Commit

Permalink
various build improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
twirl committed Sep 24, 2023
1 parent b292809 commit 7ecb663
Show file tree
Hide file tree
Showing 19 changed files with 550 additions and 331 deletions.
Binary file modified docs/API.en.epub
Binary file not shown.
156 changes: 115 additions & 41 deletions docs/API.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@
text-align: right;
padding-right: 0.3em;
}

body > article {
position: relative;
}
Expand Down Expand Up @@ -545,11 +546,6 @@
z-index: 1;
}

body > article {
margin: 2em auto;
max-width: 60%;
}

a.anchor:before {
display: inline-block;
content: '¶';
Expand Down Expand Up @@ -582,46 +578,33 @@
flex-shrink: 0;
}

@media screen {
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
a.anchor:before {
display: inline-block;
content: '¶';
width: 0.8em;
color: lightgray;
text-indent: 0;
}

a.anchor:before {
display: inline-block;
content: '¶';
width: 0.8em;
color: lightgray;
text-indent: 0;
}
h5 a.anchor:before {
color: transparent;
}

h5 a.anchor:before {
color: transparent;
}
a.anchor:hover:before {
color: black;
}

a.anchor:hover:before {
color: black;
}
h2:not(.toc),
h3,
h5 {
text-indent: -0.8em;
}

h2:not(.toc),
h3,
h5 {
text-indent: -0.8em;
@media screen {
body > article {
margin: 2em auto;
max-width: 60%;
}

@keyframes octocat-wave {
0%, 100% {
transform: rotate(0);
}

20%, 60% {
transform: rotate(-25deg);
}

40%, 80% {
transform: rotate(10deg);
}
}
}

@media screen and (max-width: 1000px) {
Expand Down Expand Up @@ -664,7 +647,98 @@
.cover {
font-size: 2.8vw;
}
}</style>
}

@media print {
html,
body {
margin: 0;
padding: 0;
font-size: 14pt;
}

.toc a,
ul li,
ol li {
text-size-adjust: none;
}

pre {
margin: 0 0 1em 0;
width: calc(100% - 2px);
line-height: 0.8em !important;
}

p code,
pre code {
font-size: 12pt !important;
}

img {
margin: 1px;
}

img.cc-by-nc-img {
width: 90px;
}

h1,
h2,
h3,
h4,
h5 {
break-after: avoid;
line-height: 1.2em;
font-size: 120%;
}

h6 {
break-before: avoid;
}

p,
li {
orphans: 5;
widows: 5;
}

img {
margin-top: 1em;
break-after: avoid;
}

.cover {
display: none;
}

.toc ul li ul li + li,
h4 + ul,
h4 + p {
break-inside: avoid;
break-before: avoid;
break-after: avoid;
}

.page-break {
break-after: page;
}

.no-page-break {
break-inside: avoid;
}

nav.page-main {
display: none;
}
}
@media print {
@page {
margin: 28mm 25mm 30mm 25mm;
padding: 0;
size: A4;
}
}
</style>
</head><body><div class="fade display-none"></div>
<aside class="side-panel display-none">
<h3 class="title">Sergey Konstantinov. The API</h3>
Expand Down
Binary file modified docs/API.en.pdf
Binary file not shown.
Binary file modified docs/API.en.sample.epub
Binary file not shown.
Binary file modified docs/API.ru.epub
Binary file not shown.
Loading

0 comments on commit 7ecb663

Please sign in to comment.