Skip to content

Commit 2a8f6ca

Browse files
committed
Add Quarto features in css
1 parent 2d47405 commit 2a8f6ca

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

inst/pkgdown/assets/BS5/gitdevr.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ blockquote,
319319
background-color: RGBA(var(--bs-body-color-rgb), 0.1);
320320
}
321321

322+
.code-with-filename .code-with-filename-file pre {
323+
border-top-left-radius: 0;
324+
border-top-right-radius: 0;
325+
}
326+
322327
code a:any-link {
323328
text-decoration: underline;
324329
background-color: transparent !important;
@@ -357,6 +362,11 @@ code {
357362
:not(li, blockquote) > div > .btn-copy-ex {
358363
right: calc(var(--bs-gutter-x) * -0.5 + 5px);
359364
}
365+
366+
.code-with-filename {
367+
margin-right: calc(var(--bs-gutter-x) * 0.5);
368+
margin-left: calc(var(--bs-gutter-x) * 0.5);
369+
}
360370
}
361371

362372
/* --- Inherited args --- */

0 commit comments

Comments
 (0)