diff --git a/hugo.yaml b/hugo.yaml index 0e01925c3..40f7316db 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -19,7 +19,7 @@ markup: renderer: unsafe: false highlight: - style: github + style: github-dark lineNos: true codeFences: true @@ -186,4 +186,4 @@ related: - name: tags weight: 80 - name: categories - weight: 60 \ No newline at end of file + weight: 60 diff --git a/themes/powershell-community/layouts/_default/baseof.html b/themes/powershell-community/layouts/_default/baseof.html index 9e5211d20..4c39f3621 100644 --- a/themes/powershell-community/layouts/_default/baseof.html +++ b/themes/powershell-community/layouts/_default/baseof.html @@ -175,7 +175,7 @@ terminal chrome renders flush; Prism handles token colors. */ .ps-terminal pre { background: transparent; color: #ccc; margin: 0; border-radius: 0; padding: 1.25rem; overflow-x: auto; } - /* Hugo/Chroma highlighted blocks (.highlight) carry their own light + /* Hugo/Chroma highlighted blocks (.highlight) carry their own background; trim the heavier .prose pre padding/margins so they don't read as a wall of whitespace. */ .prose .highlight { margin: 1.25rem 0; border-radius: 0.5rem; overflow: hidden; } @@ -361,4 +361,4 @@ {{ block "scripts" . }}{{ end }} - \ No newline at end of file +