mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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": "assets/javascripts/bundle.fc6b13cf.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.d479f7c7.min.js.map",
|
"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": "assets/javascripts/vendor.c1fcc1cc.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.c1fcc1cc.min.js.map",
|
"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": "assets/javascripts/worker/search.3bc815f0.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.3bc815f0.min.js.map",
|
"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"
|
"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 %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.4444686e.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.4444686e.min.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -179,7 +179,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.c1fcc1cc.min.js' | url }}"></script>
|
<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 = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -188,14 +188,9 @@ kbd {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset code if it's inside a link
|
// Ensure link color in code blocks
|
||||||
a > code {
|
a > code {
|
||||||
margin: initial;
|
color: currentColor;
|
||||||
padding: initial;
|
|
||||||
color: initial;
|
|
||||||
background-color: transparent;
|
|
||||||
border-radius: initial;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unformatted code blocks
|
// Unformatted code blocks
|
||||||
|
@ -143,10 +143,10 @@ $admonitions: (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Reset code inside Admonition titles
|
// Reset code inside Admonition titles
|
||||||
> code {
|
code {
|
||||||
margin: initial;
|
margin: initial;
|
||||||
padding: initial;
|
padding: initial;
|
||||||
color: initial;
|
color: currentColor;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-radius: initial;
|
border-radius: initial;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user