~hristoast/hristoast

aa9df937ef68403682b87e185c87231fa4d52d53 — Hristos N. Triantafillou 1 year, 14 days ago e342768
Adding a dark theme
2 files changed, 44 insertions(+), 0 deletions(-)

A site/css/site-dark.css
M templates/main.html
A site/css/site-dark.css => site/css/site-dark.css +43 -0
@@ 0,0 1,43 @@
/*
hristoast - site-dark.css
Copyright (C) 2019  Hristos N. Triantafillou

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

body {
    background-color: #444;
    color: #e4e4e4;
}

a {
    color: #e6e6e6;
}

img {
    filter: grayscale(30%);
}

a:hover, a.noul:hover {
    color: #f2f2f2;
}

code {
    background-color: #595959;
    border-color: #595959;
}

div#dates {
    color: #eee;
}

M templates/main.html => templates/main.html +1 -0
@@ 8,6 8,7 @@
    <link rel="stylesheet" type="text/css" href="/css/normalize.css" />
    <link rel="stylesheet" type="text/css" href="/css/skeleton.css" />
    <link rel="stylesheet" type="text/css" href="/css/site.css" />
    <link rel="stylesheet" type="text/css" media="(prefers-color-scheme: dark)" href="/css/site-dark.css"/>
    <link rel="icon" href="/img/slime.png">
  </head>
  <body>