mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 09:20:52 +01:00
Fixed color of link-embedded code blocks
This commit is contained in:
parent
2cc068594e
commit
dff96cbf62
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
||||
{
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.d479f7c7.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.d479f7c7.min.js.map",
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.fc6b13cf.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.fc6b13cf.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.c1fcc1cc.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.c1fcc1cc.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3bc815f0.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.3bc815f0.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.dc5fa46b.min.css",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.7584781b.min.css",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.4444686e.min.css"
|
||||
}
|
1
material/assets/stylesheets/main.7584781b.min.css
vendored
Normal file
1
material/assets/stylesheets/main.7584781b.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.dc5fa46b.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7584781b.min.css' | url }}">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.4444686e.min.css' | url }}">
|
||||
{% endif %}
|
||||
@ -179,7 +179,7 @@
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/vendor.c1fcc1cc.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.d479f7c7.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.fc6b13cf.min.js' | url }}"></script>
|
||||
{%- set translations = {} -%}
|
||||
{%- for key in [
|
||||
"clipboard.copy",
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user