Browse Source

Add dark theme

master
parent
commit
445ac57822
  1. 7
      theme/static/css/main.css
  2. 4
      theme/templates/base.html

7
theme/static/css/main.css

@ -13,6 +13,13 @@
--backgroundColor: inherit;
}
body[theme=dark] {
--textColor: #eaeaea;
--linkColor: #70B7FF;
--lightColor: #a8a8a8;
--backgroundColor: #2a2a2a;
}
html, body {
margin: 0;
}

4
theme/templates/base.html

@ -2,7 +2,7 @@
<html lang="{{ settings.html_language }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="{{ album.author }}">
<meta property="og:site_name" content="{{ index_title }}">
<meta property="og:title" content="{{ album.title|striptags }}">
@ -13,7 +13,7 @@
{% block extra_head %}{% endblock extra_head %}
</head>
<body>
<body theme="dark">
<header>
<h1><a class="logo" href="{{ album.index_url }}">{{ index_title }} </a></h1>
{% if album.breadcrumb %}

Loading…
Cancel
Save