-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2e04a8
commit a5842a7
Showing
6 changed files
with
275 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
bookgen build -a BuildWeb | ||
cd wwwRoot | ||
del search.html | ||
cd .. | ||
Set-Location docs | ||
Remove-Item search.html | ||
Set-Location .. | ||
bookgen md2html |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html prefix="og: https://ogp.me/ns#"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<link rel="icon" href="favicon.ico" type="image/x-icon" /> | ||
<link rel="apple-touch-icon" sizes="180x180" href="pwa/apple-touch-icon.png"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Alef:wght@400;700&family=JetBrains+Mono&family=Open+Sans:wght@700&display=swap" | ||
rel="stylesheet"> | ||
<title>{{title}}</title> | ||
<style type="text/css"> | ||
@page { | ||
margin-top: 5mm; | ||
margin-bottom: 5mm; | ||
margin-left: 10mm; | ||
margin-right: 10mm; | ||
} | ||
|
||
html { | ||
width: 250mm; | ||
height: 353mm; | ||
} | ||
|
||
body { | ||
color: black; | ||
background: white; | ||
font-family: "Blogger Sans Light"; | ||
font-size: 12pt; | ||
text-align: justify; | ||
} | ||
|
||
h2 { | ||
page-break-before: always; | ||
} | ||
|
||
img, | ||
svg { | ||
max-width: 235mm; | ||
max-height: 345mm; | ||
margin: 0 auto; | ||
display: inherit; | ||
/*border: 1px solid red;*/ | ||
} | ||
|
||
p, | ||
pre, | ||
code, | ||
table { | ||
break-inside: avoid; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
width: 100%; | ||
} | ||
|
||
th, | ||
td { | ||
text-align: left; | ||
padding: 8px; | ||
} | ||
|
||
tr:nth-child(even) { | ||
background-color: #f2f2f2; | ||
} | ||
|
||
p code { | ||
color: #ad1a15; | ||
} | ||
|
||
li code { | ||
color: #ad1a15; | ||
} | ||
|
||
figure { | ||
page-break-inside: avoid; | ||
} | ||
|
||
figcaption { | ||
font-style: italic; | ||
text-align: center; | ||
} | ||
|
||
pre code { | ||
line-break: anywhere; | ||
overflow: hidden; | ||
} | ||
|
||
:not(pre)>code[class*=language-], | ||
pre[class*=language-] { | ||
border: none; | ||
} | ||
{{css}} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
{{content}} | ||
|
||
<div class="container"> | ||
{{content}} | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
window.print(); | ||
</script> | ||
|
||
</body> | ||
|
||
</html> |
Oops, something went wrong.