Fixed color of link-embedded code blocks

This commit is contained in:
squidfunk 2020-04-03 09:44:05 +02:00
parent 2cc068594e
commit dff96cbf62
8 changed files with 12 additions and 17 deletions

View File

@ -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"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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",

View File

@ -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

View File

@ -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;