Skip to content

Commit c456e85

Browse files
committed
Blockquotes and links
1 parent 3a7b718 commit c456e85

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

inst/pkgdown/_pkgdown.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ template:
8181
dropdown-dark-bg: "#343a40"
8282
dropdown-dark-border-color: rgba(255, 255, 255, .1)
8383
dropdown-dark-divider-bg: rgba(255, 255, 255, .1)
84+
blockquote-border-color: transparent
8485

8586
footer:
8687
structure:

inst/pkgdown/assets/BS5/rogtemplate.min.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,10 @@ footer .pkgdown-footer-left {
195195

196196
/* ---Code--- */
197197
code a:any-link {
198-
text-decoration: underline;
199-
text-decoration-color: var(--brand-code);
200198
background-color: transparent !important;
201199
}
202200

203201
a > code {
204-
text-decoration: underline;
205202
color: var(--brand-code);
206203
}
207204

@@ -219,6 +216,11 @@ code {
219216
}
220217

221218
/* Highlighter based in tango for dark theme */
219+
pre code a {
220+
text-decoration: underline;
221+
text-decoration-color: var(--brand-code);
222+
}
223+
222224
pre {
223225
border: none;
224226
}

0 commit comments

Comments
 (0)