1
Fork 0

dark theme, better url and date formats

main
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'
author = "Motiejus Jakštys"
[permalinks]
posts = '/:year/:title/'
[Params]
dateFormat = "2006-01-02"
[outputs]
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
draft: true
---
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
}
a {
color: #00f;
word-wrap: break-word
a, a:visited, a:hover {
color: #007bff;
word-wrap: break-word;
}
a:visited {
color: #009
a, a:visited {
text-decoration: none;
}
a:hover {
color: #f80;
text-decoration: underline;
}
header a,
@ -316,3 +316,28 @@ nav#TableOfContents ul {
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;
}
}