mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 09:20:52 +01:00
Improved copy-to-clipboard button sizing in Admonitions
This commit is contained in:
parent
d4051c9bb5
commit
08d89aeca2
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.cecacc24.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.cecacc24.min.js.map",
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.94a3fc3f.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.94a3fc3f.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.0c35f0aa.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.0c35f0aa.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.2613054f.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.497a61b7.min.css",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.b9803391.min.css",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
||||
}
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.b9803391.min.css
vendored
Normal file
1
material/assets/stylesheets/main.b9803391.min.css
vendored
Normal file
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.497a61b7.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.b9803391.min.css' | url }}">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
||||
{% endif %}
|
||||
@ -178,7 +178,7 @@
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/vendor.0c35f0aa.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.cecacc24.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.94a3fc3f.min.js' | url }}"></script>
|
||||
{%- set translations = {} -%}
|
||||
{%- for key in [
|
||||
"clipboard.copy",
|
||||
|
@ -28,10 +28,10 @@
|
||||
.md-clipboard {
|
||||
position: absolute;
|
||||
top: px2rem(8px);
|
||||
right: px2rem(8px);
|
||||
right: px2em(8px, 16px);
|
||||
z-index: 1;
|
||||
width: px2rem(24px);
|
||||
height: px2rem(24px);
|
||||
width: px2em(24px, 16px);
|
||||
height: px2em(24px, 16px);
|
||||
color: var(--md-default-fg-color--lightest);
|
||||
border-radius: px2rem(2px);
|
||||
cursor: pointer;
|
||||
@ -44,8 +44,8 @@
|
||||
|
||||
// Slightly smaller icon
|
||||
svg {
|
||||
width: px2rem(18px);
|
||||
height: px2rem(18px);
|
||||
width: px2em(18px, 16px);
|
||||
height: px2em(18px, 16px);
|
||||
}
|
||||
|
||||
// Show on container hover
|
||||
|
Loading…
Reference in New Issue
Block a user