Hide announcement bar button when JavaScript is not available

This commit is contained in:
squidfunk 2023-07-07 10:31:41 +02:00
parent b37c668a9a
commit 320c852565
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
6 changed files with 8 additions and 3 deletions

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

@ -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 }}">

View File

@ -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;