mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 13:44:15 +00:00
Add filepath style for code
This commit is contained in:
@@ -110,6 +110,13 @@ code {
|
||||
background-color: var(--inline-code-bg);
|
||||
}
|
||||
|
||||
&.filepath {
|
||||
background-color: inherit;
|
||||
color: var(--filepath-text-color);
|
||||
font-weight: 600;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a > &.highlighter-rouge {
|
||||
padding-bottom: 0; // show link's underlinke
|
||||
color: inherit;
|
||||
@@ -119,7 +126,7 @@ code {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
blockquote &.highlighter-rouge {
|
||||
blockquote & {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user