mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Hide announcement bar button when JavaScript is not available
This commit is contained in:
parent
b37c668a9a
commit
320c852565
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.2da9acca.min.css
vendored
Normal file
1
material/assets/stylesheets/main.2da9acca.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.2da9acca.min.css.map
Normal file
1
material/assets/stylesheets/main.2da9acca.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.0c456da8.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.2da9acca.min.css' | url }}">
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ecc896b0.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ecc896b0.min.css' | url }}">
|
||||||
|
@ -55,6 +55,11 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: opacity 250ms;
|
transition: opacity 250ms;
|
||||||
|
|
||||||
|
// [no-js]: Hide button
|
||||||
|
.no-js & {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
// Button on hover
|
// Button on hover
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
|
Loading…
Reference in New Issue
Block a user