mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-01-09 20:21:06 +01:00
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:
parent
1e013d81e4
commit
4af9665d75
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue