mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed unnecessary box shadows on inline code blocks
This commit is contained in:
parent
74fb073b25
commit
34b7d6502c
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.091f8c32.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.d28521c5.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.091f8c32.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.d28521c5.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.5b460a48.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.5b460a48.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.5b460a48.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.5b460a48.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.7f7c8775.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.7f7c8775.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.7f7c8775.min.js.map",
|
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.7f7c8775.min.js.map",
|
||||||
"assets/stylesheets/main.css": "assets/stylesheets/main.898d9115.min.css",
|
"assets/stylesheets/main.css": "assets/stylesheets/main.c3000690.min.css",
|
||||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.4444686e.min.css"
|
"assets/stylesheets/palette.css": "assets/stylesheets/palette.4444686e.min.css"
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.c3000690.min.css
vendored
Normal file
1
material/assets/stylesheets/main.c3000690.min.css
vendored
Normal file
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.898d9115.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.c3000690.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.5b460a48.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.5b460a48.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.091f8c32.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.d28521c5.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -163,14 +163,11 @@ kbd {
|
|||||||
|
|
||||||
// Inline code blocks
|
// Inline code blocks
|
||||||
code {
|
code {
|
||||||
margin: 0 px2em(4px, 13.6px);
|
padding: 0 px2em(4px, 13.6px);
|
||||||
font-size: px2em(13.6px);
|
font-size: px2em(13.6px);
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
background-color: var(--md-code-bg-color);
|
background-color: var(--md-code-bg-color);
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
box-shadow:
|
|
||||||
px2em( 4px, 13.6px) 0 0 var(--md-code-bg-color),
|
|
||||||
px2em(-4px, 13.6px) 0 0 var(--md-code-bg-color);
|
|
||||||
box-decoration-break: clone;
|
box-decoration-break: clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -258,13 +255,10 @@ kbd {
|
|||||||
|
|
||||||
// Text highlighting marker
|
// Text highlighting marker
|
||||||
mark {
|
mark {
|
||||||
margin: 0 px2em(4px, 16px);
|
padding: 0 px2em(4px, 16px);
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
background-color: transparentize($clr-yellow-500, 0.5);
|
background-color: transparentize($clr-yellow-500, 0.5);
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
box-shadow:
|
|
||||||
px2em( 4px, 16px) 0 0 transparentize($clr-yellow-500, 0.5),
|
|
||||||
px2em(-4px, 16px) 0 0 transparentize($clr-yellow-500, 0.5);
|
|
||||||
box-decoration-break: clone;
|
box-decoration-break: clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
del.critic,
|
del.critic,
|
||||||
ins.critic,
|
ins.critic,
|
||||||
.critic.comment {
|
.critic.comment {
|
||||||
margin: 0 px2em(4px, 16px);
|
padding: 0 px2em(4px, 16px);
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
box-decoration-break: clone;
|
box-decoration-break: clone;
|
||||||
}
|
}
|
||||||
@ -39,17 +39,11 @@
|
|||||||
// Deletion
|
// Deletion
|
||||||
del.critic {
|
del.critic {
|
||||||
background-color: $codehilite-diff-deleted;
|
background-color: $codehilite-diff-deleted;
|
||||||
box-shadow:
|
|
||||||
px2em( 4px, 16px) 0 0 $codehilite-diff-deleted,
|
|
||||||
px2em(-4px, 16px) 0 0 $codehilite-diff-deleted;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Addition
|
// Addition
|
||||||
ins.critic {
|
ins.critic {
|
||||||
background-color: $codehilite-diff-inserted;
|
background-color: $codehilite-diff-inserted;
|
||||||
box-shadow:
|
|
||||||
px2em( 4px, 16px) 0 0 $codehilite-diff-inserted,
|
|
||||||
px2em(-4px, 16px) 0 0 $codehilite-diff-inserted;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Comment
|
// Comment
|
||||||
|
Loading…
Reference in New Issue
Block a user