Skip to content

Commit

Permalink
fix(website): better CSS code blocks, try to remove baseurl to have a…
Browse files Browse the repository at this point in the history
… dynamic CSS loading
  • Loading branch information
darkweak committed Oct 30, 2024
1 parent 0984d54 commit c0f278e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions docs/website/assets/docs/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@ h4 {
padding-top: 0.75em;
}

div.code-toolbar {
div.code-toolbar, .docs-content .main-content pre {
border-radius: 1rem;
& > pre {
border-radius: 1rem !important;
}
}

code[class*="language-"], pre[class*="language-"], .code-toolbar, .docs-content .main-content pre, code[class*="language-"]::-webkit-scrollbar, pre[class*="language-"]::-webkit-scrollbar {
background: var(--inline-code-bg) !important;
color: var(--body-color) !important;
}

.top-header {
Expand Down
2 changes: 1 addition & 1 deletion docs/website/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL = 'https://docs.souin.io/'
# baseURL = 'https://docs.souin.io/'
languageCode = 'en-us'
title = "Souin's documentation"

Expand Down

0 comments on commit c0f278e

Please sign in to comment.