mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-02 18:58:42 -04:00
Fixed color of link-embedded code blocks
This commit is contained in:
@@ -188,14 +188,9 @@ kbd {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
// Reset code if it's inside a link
|
||||
// Ensure link color in code blocks
|
||||
a > code {
|
||||
margin: initial;
|
||||
padding: initial;
|
||||
color: initial;
|
||||
background-color: transparent;
|
||||
border-radius: initial;
|
||||
box-shadow: none;
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
// Unformatted code blocks
|
||||
|
||||
@@ -143,10 +143,10 @@ $admonitions: (
|
||||
}
|
||||
|
||||
// Reset code inside Admonition titles
|
||||
> code {
|
||||
code {
|
||||
margin: initial;
|
||||
padding: initial;
|
||||
color: initial;
|
||||
color: currentColor;
|
||||
background-color: transparent;
|
||||
border-radius: initial;
|
||||
box-shadow: none;
|
||||
|
||||
Reference in New Issue
Block a user