Skip to content

Commit

Permalink
Fix Quarto code with filename styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenuial committed Oct 18, 2024
1 parent d706078 commit 50acfcf
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions inst/BS5/assets/pkgdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ figure > figcaption.quarto-float-caption-top {
padding-bottom: 2px;
padding-top: 2px;
padding-left: 0.7em;
border: 1px solid #dee2e6;
border: 1px solid var(--bs-border-color, #dee2e6);
border-radius: .25rem;
border-bottom: 0;
border-bottom-left-radius: 0%;
Expand All @@ -740,11 +740,7 @@ figure > figcaption.quarto-float-caption-top {
}

.template-quarto .code-with-filename .code-with-filename-file {
background-color: rgba(219, 219, 219, 0.8);
}

.template-quarto .quarto-dark .code-with-filename .code-with-filename-file {
background-color: #555;
background-color: RGBA(var(--bs-body-color-rgb), 0.3);
}

.template-quarto .code-with-filename .code-with-filename-file strong {
Expand All @@ -763,19 +759,17 @@ figure > figcaption.quarto-float-caption-top {


.template-quarto div.sourceCode {
background-color: rgba(233, 236, 239, .65);
border: 1px solid rgba(233, 236, 239, .65);
border-radius:.25rem;
background-color: RGBA(var(--bs-body-color-rgb), 0.1);
border: 1px solid var(--bs-border-color, #dee2e6);
border-radius: .25rem;
margin-bottom: 5px;
}


.template-quarto pre.sourceCode {
background-color:rgba(0, 0, 0, 0);
border: none;
font-size: .875em;
overflow: visible !important;
padding:.4em !important;
}

.template-quarto div.sourceCode {
Expand Down

0 comments on commit 50acfcf

Please sign in to comment.