Commit de189d00 authored by Martijn Braam's avatar Martijn Braam

Dark mode implementation

parent 6cc8b065
body {
background: #232729;
}
main {
background: #2c3133;
color: #ccc;
border-left: 1px solid #0b0c0c;
border-right: 1px solid #0b0c0c;
}
.content.alt {
background: #33393b;
}
a {
color: #fff;
}
.nav a {
background: #000;
}
.icon-button {
background: #000;
}
.devices div {
border: 1px solid #0b0c0c;
background: #2c3133;
}
.devices img {
border: 1px solid #0b0c0c;
opacity: 0.8;
}
......@@ -15,6 +15,7 @@
<link rel="canonical" href="https://postmarketos.org{{ request.path }}">
<link rel="shortcut icon" href="/static/img/favicon.ico">
<link rel="stylesheet" href="/static/css/base.css">
<link rel="stylesheet" href="/static/css/dark.css" media="prefers-color-scheme: dark">
<link rel="stylesheet" href="/static/css/codehilite.css">
<link rel="alternate" type="application/atom+xml" title="postmarketOS Blog" href="{{ url_for('atom') }}">
{% block extra_link %}{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment