dark theme, better url and date formats

This commit is contained in:
Motiejus Jakštys 2022-04-11 22:36:32 +03:00
parent e1bc97d33c
commit 3a91ff1e61
3 changed files with 38 additions and 8 deletions

View File

@ -4,5 +4,11 @@ title = 'Public record of Motiejus Jakštys'
theme = 'default' theme = 'default'
author = "Motiejus Jakštys" author = "Motiejus Jakštys"
[permalinks]
posts = '/:year/:title/'
[Params]
dateFormat = "2006-01-02"
[outputs] [outputs]
home = ['HTML', 'RSS'] home = ['HTML', 'RSS']

View File

@ -1,7 +1,6 @@
--- ---
title: "My First Post" title: "First Post Here"
date: 2022-04-11T18:16:36+03:00 date: 2022-04-11T18:16:36+03:00
draft: true
--- ---
This is the first post of the third iteration of jakstys.lt. The me-human is This is the first post of the third iteration of jakstys.lt. The me-human is

View File

@ -77,17 +77,17 @@ hr {
height: 1px height: 1px
} }
a { a, a:visited, a:hover {
color: #00f; color: #007bff;
word-wrap: break-word word-wrap: break-word;
} }
a:visited { a, a:visited {
color: #009 text-decoration: none;
} }
a:hover { a:hover {
color: #f80; text-decoration: underline;
} }
header a, header a,
@ -316,3 +316,28 @@ nav#TableOfContents ul {
content: ''; content: '';
} }
} }
@media (prefers-color-scheme: dark) {
body {
color: #ccc;
background-color: #222;
}
header a,
header a:visited,
footer a,
footer a:visited,
h1 a,
h1 a:visited,
h2 a,
h2 a:visited,
h3 a,
h3 a:visited,
h4 a,
h4 a:visited,
h5 a,
h5 a:visited,
h6 a,
h6 a:visited {
color: #ccc;
}
}