Removed focus outline on click for scrolling code blocks

This commit is contained in:
squidfunk 2020-10-31 19:10:01 +01:00
parent a3c0e46d12
commit 45799563be
7 changed files with 13 additions and 7 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.fd16492e.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.4ac00218.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.4ac00218.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.5e0d0b1b.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.5e0d0b1b.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.813c30d6.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.813c30d6.min.css.map",
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.88a3f51b.min.css",
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.88a3f51b.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.f0267088.min.css",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.5e0d0b1b.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.813c30d6.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f0267088.min.css' | url }}">

View File

@ -182,6 +182,12 @@ kbd {
background-color: var(--md-code-bg-color);
border-radius: px2rem(2px);
box-decoration-break: clone;
// Disable focus indicator for pointer devices
&:not(.focus-visible) {
outline: none;
-webkit-tap-highlight-color: transparent;
}
}
// Disable containing block inside headlines