Fix code style for Zola 0.11

It looks like Zola changed the structure for code fragments,
wrapping them in `code` tag.  Factor this in in theme styles
so that it renders OK.
This commit is contained in:
Paweł Romanowski 2020-07-13 23:19:30 +02:00
parent 1e013d81e4
commit 4af9665d75
2 changed files with 10 additions and 0 deletions

View file

@ -7,6 +7,10 @@
Live demo here: https://pawroman.github.io/zola-theme-terminimal/ Live demo here: https://pawroman.github.io/zola-theme-terminimal/
Tested with Zola v0.11.0.
#### Fork disclaimer
This theme is a fork (not a port) of "Terminal" Hugo theme This theme is a fork (not a port) of "Terminal" Hugo theme
by Radosław Kozieł (aka. panr): by Radosław Kozieł (aka. panr):
https://github.com/panr/hugo-theme-terminal https://github.com/panr/hugo-theme-terminal

View file

@ -144,6 +144,12 @@ pre {
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: break-word; word-wrap: break-word;
} }
code {
padding: 0;
margin: 0;
background: none;
}
} }
blockquote { blockquote {