mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 00:27:58 +00:00
Add filepath
style for code
This commit is contained in:
parent
4845f6ef14
commit
756465d621
@ -110,6 +110,13 @@ code {
|
|||||||
background-color: var(--inline-code-bg);
|
background-color: var(--inline-code-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.filepath {
|
||||||
|
background-color: inherit;
|
||||||
|
color: var(--filepath-text-color);
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
a > &.highlighter-rouge {
|
a > &.highlighter-rouge {
|
||||||
padding-bottom: 0; // show link's underlinke
|
padding-bottom: 0; // show link's underlinke
|
||||||
color: inherit;
|
color: inherit;
|
||||||
@ -119,7 +126,7 @@ code {
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote &.highlighter-rouge {
|
blockquote & {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,6 +78,7 @@
|
|||||||
--code-header-muted-color: rgb(60 60 60);
|
--code-header-muted-color: rgb(60 60 60);
|
||||||
--code-header-icon-color: rgb(86 86 86);
|
--code-header-icon-color: rgb(86 86 86);
|
||||||
--clipboard-checked-color: #2bcc2b;
|
--clipboard-checked-color: #2bcc2b;
|
||||||
|
--filepath-text-color: #bdbdbd;
|
||||||
|
|
||||||
.highlight {
|
.highlight {
|
||||||
.gp { color: #818c96; }
|
.gp { color: #818c96; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user