aboutsummaryrefslogtreecommitdiff
path: root/test/writer.html5
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2020-09-20 01:13:50 +0200
committerGitHub <noreply@github.com>2020-09-19 16:13:50 -0700
commitcaa225ad8216d704afe1b857f552307e490c1a14 (patch)
treed26c96108d7223c086a7bb194020f5540319608e /test/writer.html5
parentd5a7abd47f0862c51bc7ce8349e4290ad1c24546 (diff)
downloadpandoc-caa225ad8216d704afe1b857f552307e490c1a14.tar.gz
Add CSS to default HTML template (#6601)
Diffstat (limited to 'test/writer.html5')
-rw-r--r--test/writer.html5106
1 files changed, 106 insertions, 0 deletions
diff --git a/test/writer.html5 b/test/writer.html5
index 0f0db799e..76ede4cca 100644
--- a/test/writer.html5
+++ b/test/writer.html5
@@ -9,6 +9,112 @@
<meta name="dcterms.date" content="2006-07-17" />
<title>Pandoc Test Suite</title>
<style>
+ html {
+ line-height: 1.7;
+ font-family: Georgia, serif;
+ font-size: 20px;
+ color: #1a1a1a;
+ background-color: #fdfdfd;
+ }
+ body {
+ margin: 0 auto;
+ max-width: 40em;
+ padding-left: 50px;
+ padding-right: 50px;
+ padding-top: 50px;
+ padding-bottom: 50px;
+ hyphens: auto;
+ word-wrap: break-word;
+ text-rendering: optimizeLegibility;
+ font-kerning: normal;
+ }
+ @media (max-width: 600px) {
+ body {
+ font-size: 0.9em;
+ padding: 1em;
+ }
+ }
+ @media print {
+ body {
+ background-color: transparent;
+ color: black;
+ }
+ p, h2, h3 {
+ orphans: 3;
+ widows: 3;
+ }
+ h2, h3, h4 {
+ page-break-after: avoid;
+ }
+ }
+ p {
+ margin-top: 1.7em;
+ }
+ a {
+ color: #1a1a1a;
+ }
+ a:visited {
+ color: #1a1a1a;
+ }
+ img {
+ max-width: 100%;
+ }
+ h1, h2, h3, h4, h5, h6 {
+ margin-top: 1.7em;
+ }
+ ol, ul {
+ padding-left: 1.7em;
+ margin-top: 1.7em;
+ }
+ li > ol, li > ul {
+ margin-top: 0;
+ }
+ blockquote {
+ margin: 1.7em 0 1.7em 1.7em;
+ padding-left: 1em;
+ border-left: 2px solid #e6e6e6;
+ font-style: italic;
+ }
+ code {
+ font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
+ background-color: #f0f0f0;
+ font-size: 85%;
+ margin: 0;
+ padding: .2em .4em;
+ }
+ pre {
+ line-height: 1.5em;
+ padding: 1em;
+ background-color: #f0f0f0;
+ overflow: auto;
+ }
+ pre code {
+ padding: 0;
+ overflow: visible;
+ }
+ hr {
+ background-color: #1a1a1a;
+ border: none;
+ height: 1px;
+ margin-top: 1.7em;
+ }
+ table {
+ border-collapse: collapse;
+ width: 100%;
+ overflow-x: auto;
+ display: block;
+ }
+ th, td {
+ border-bottom: 1px solid lightgray;
+ padding: 1em 3em 1em 0;
+ }
+ header {
+ margin-bottom: 6em;
+ text-align: center;
+ }
+ nav a:not(:hover) {
+ text-decoration: none;
+ }
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}