EIO-247: css update for code block

This commit is contained in:
Nelson Roberts
2020-02-20 11:46:47 -07:00
parent 147506ead0
commit ee99c34a57
2 changed files with 24 additions and 17 deletions
+23 -16
View File
@@ -307,23 +307,30 @@ h4 > code {
color: #4a6482;
}
.sourceCode {
color: #333333;
background-color: #f4f4f4;
font-size: 15px;
width: 100%;
display: inline-block;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: normal;
line-break: strict;
hyphens: none;
-webkit-hyphens: none;
-moz-hyphens: none;
white-space: normal;
padding-right: 50px;
}
#.sourceCode {
# color: #333333;
# background-color: #f4f4f4;
# font-size: 15px;
# width: 100%;
# display: inline-block;
# overflow-wrap: break-word;
# word-wrap: break-word;
# word-break: normal;
# line-break: strict;
# hyphens: none;
# -webkit-hyphens: none;
# -moz-hyphens: none;
# white-space: normal;
# padding-right: 50px;
#}
.sourceCode {
background-color: ghostwhite;
font-family: monospace;
line-height: 25px;
color: #4a6482;
word-wrap: break-word;
}
/*--------------------------------------------
08-14-2019
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash -e
md_source="/source/source.md"
md_source="${1:-/source/source.md}"
pandoc -s --template="templates/default.html" -f markdown-smart --toc -c css/style-portrait.css "${md_source}" -o "source.html"
python3 -m weasyprint source.html /output/output.pdf