forked from chocolate-doom/chocolate-doom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request chocolate-doom#1692 from chocolate-doom/qr-pandoc-…
…formatting win32: Tweaks to pandoc-formatted HTML
- Loading branch information
Showing
3 changed files
with
57 additions
and
7 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
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
|
||
<!-- Tweaks to the pandoc output style to make the resulting HTML | ||
look much nicer. --> | ||
|
||
<style> | ||
body { | ||
background-color: white; | ||
margin-top: 1.5em; | ||
margin-bottom: 4em; | ||
|
||
max-width: 38em; | ||
margin-left: auto; | ||
margin-right: auto; | ||
box-sizing: border-box; | ||
|
||
padding: 0; | ||
padding-left: 1.3em; | ||
padding-right: 1.3em; | ||
|
||
font-size: large; | ||
color: #555; | ||
line-height: 1.6; | ||
|
||
text-align: justify; | ||
overflow-wrap: break-word; | ||
} | ||
|
||
header { | ||
font-family: serif; | ||
margin-top: 0; | ||
margin-bottom: 0.2em; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
margin-top: 0.5em; | ||
margin-bottom: 0.2em; | ||
} | ||
|
||
p { | ||
margin-top: 0; | ||
margin-bottom: 0.8em; | ||
} | ||
|
||
dl { | ||
margin-block-start: 0.5em; | ||
} | ||
</style> | ||
|
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