Skip to content

Commit

Permalink
use DejaVu font
Browse files Browse the repository at this point in the history
  • Loading branch information
xpqz committed Nov 26, 2021
1 parent 6a5112f commit 068113f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
9 changes: 9 additions & 0 deletions build-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Build

jupyter-book build contents
jupyter-book build contents --builder pdfhtml
git add ....
git commit -m '....'
git push github main
cd contents
ghp-import -r github -n -p -f _build/html
16 changes: 15 additions & 1 deletion contents/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
@font-face {
font-family: 'codefont';
src: local('DejaVu Sans Mono'),
local('APL385 Unicode'),
local('SImPL'),
url(https://aplwiki.com/images/7/75/DejaVuSansMono.ttf) format('truetype');
}

.CodeMirror pre {font-family: codefont, monospace;}

/* Reduce excessive line height in code outputs */
.output.text_html {
font-family: 'APL385';
font-family: codefont, monospace;
line-height: 0.95em;
}
/*.output.text_html {
font-family: 'APL385';
line-height: 0.95em;
}*/

/* Reduce excessive whitespace in tables */
.table td, .table th {
Expand Down

0 comments on commit 068113f

Please sign in to comment.