Add dark mode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2020-12-02 17:23:22 +01:00
parent 203049b584
commit 8aa085c988
4 changed files with 9 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -96,3 +96,9 @@ label.checkbox {
.table.is-hoverable tbody tr:not(.is-selected):hover { .table.is-hoverable tbody tr:not(.is-selected):hover {
background-color: #f1f1f1 !important; background-color: #f1f1f1 !important;
} }
@media (prefers-color-scheme: dark) {
.table.is-hoverable tbody tr:not(.is-selected):hover {
background-color: #333 !important;
}
}

View File

@ -8,6 +8,7 @@
<title>PyNyaaTa - {% block title %}{% endblock %}</title> <title>PyNyaaTa - {% block title %}{% endblock %}</title>
<link rel="icon" href="{{ url_for('static', filename='favicons/favicon.ico') }}"> <link rel="icon" href="{{ url_for('static', filename='favicons/favicon.ico') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma-prefers-dark.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma-tooltip.min.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/bulma-tooltip.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/font-awesome.min.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/font-awesome.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">