Sync from dev @ 252c1cf
Source: main (252c1cf) Excluded: live tenant exports, generated artifacts, and dev-only tooling.
This commit is contained in:
140
md2pdf/htmlstyle.css
Normal file
140
md2pdf/htmlstyle.css
Normal file
@@ -0,0 +1,140 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||
line-height: 1.6;
|
||||
font-size: 0.6875em; /* 11 pt */
|
||||
color: #111;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body > :first-child {
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
body > :last-child {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
margin: 0;
|
||||
padding: 0.5em 0 0.25em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h5,
|
||||
h6 {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.25em 0 1em;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0.5em 0 1em;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 1em;
|
||||
border-left: 4px solid gainsboro;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0;
|
||||
margin-left: 1em;
|
||||
padding: 0 1.5em 0.5em;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
h1 code,
|
||||
h2 code,
|
||||
h3 code,
|
||||
h4 code,
|
||||
h5 code,
|
||||
h6 code,
|
||||
p code,
|
||||
li code,
|
||||
pre code {
|
||||
background-color: #f8f8f8;
|
||||
padding: 0.1em 0.375em;
|
||||
border: 1px solid #f8f8f8;
|
||||
border-radius: 0.25em;
|
||||
font-family: monospace;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
pre code {
|
||||
display: block;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.page-break {
|
||||
page-break-after: always;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
margin: 0 0 1em;
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
table-layout: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table th,
|
||||
table td {
|
||||
padding: 0.5em 1em;
|
||||
border: 1px solid gainsboro;
|
||||
}
|
||||
|
||||
table th {
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
table tr {
|
||||
background-color: white;
|
||||
border-top: 1px solid gainsboro;
|
||||
}
|
||||
|
||||
table tr:nth-child(2n) {
|
||||
background-color: whitesmoke;
|
||||
}
|
||||
|
||||
section {
|
||||
margin: 0 auto;
|
||||
font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !important;
|
||||
font-size: 9px;
|
||||
}
|
||||
Reference in New Issue
Block a user