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
File diff suppressed because one or more lines are too long
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