Nord theme syntax highlighting

This commit is contained in:
Yash Karandikar 2022-10-25 21:38:15 -05:00
parent 6a519a1725
commit c40f2386b2
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ build_search_index = false
# Whether to do syntax highlighting # Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true highlight_code = true
highlight_theme = "nord"
[extra] [extra]
# Put all your custom variables here # Put all your custom variables here

View File

@ -49,12 +49,13 @@ pre {
code { code {
font-family: monospace; font-family: monospace;
background-color: #2b303b; background-color: #2e3440;
padding: 0.1em 0.2em; padding: 0.1em 0.2em;
} }
pre code { pre code {
padding-left: 0; padding-left: 0;
background-color: unset;
} }
.warning { .warning {