Skip to content

Commit

Permalink
Fix code-block asciidoc (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy authored Feb 27, 2025
1 parent 2d3e17e commit 45dff6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions blog/src/main/resources/web/app/asciidoc-vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
--asciidoc-monospace-font-weight-bold: 600;
/* base */
--asciidoc-body-background: var(--asciidoc-color-white);
--asciidoc-panel-background: var(--asciidoc-color-gray-70);
--asciidoc-panel-background: var(--asciidoc-color-smoke-50);
--asciidoc-panel-border-color: var(--asciidoc-color-smoke-90);
--asciidoc-scrollbar-track-color: var(--asciidoc-color-smoke-30);
--asciidoc-scrollbar-thumb-color: var(--asciidoc-color-gray-10);
Expand Down Expand Up @@ -123,8 +123,6 @@
--asciidoc-example-border-color: var(--asciidoc-color-gray-70);
--asciidoc-kbd-background: var(--asciidoc-panel-background);
--asciidoc-kbd-border-color: var(--asciidoc-color-gray-10);
--asciidoc-pre-background: var(--asciidoc-panel-background);
--asciidoc-pre-border-color: var(--asciidoc-panel-border-color);
--asciidoc-pre-annotation-font-color: var(--asciidoc-color-gray-50);
--asciidoc-pre-annotation-icon-filter: invert(50.2%); /* matches --asciidoc-color-gray-50 */
--asciidoc-quote-background: var(--asciidoc-panel-background);
Expand Down Expand Up @@ -169,4 +167,4 @@
--asciidoc-z-index-page-version-menu: 4;
--asciidoc-z-index-footer: 5;
--asciidoc-z-index-navbar: 6;
}
}
2 changes: 0 additions & 2 deletions blog/src/main/resources/web/app/asciidoctor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,6 @@
.doc pre > code,
.doc .listingblock pre:not(.highlight),
.doc .literalblock pre {
background: var(--asciidoc-pre-background);
box-shadow: inset 0 0 1.75px var(--asciidoc-pre-border-color);
display: block;
overflow-x: auto;
padding: 0.875em;
Expand Down

0 comments on commit 45dff6f

Please sign in to comment.