diff --git a/pelican/tests/output/basic/a-markdown-powered-article.html b/pelican/tests/output/basic/a-markdown-powered-article.html
index 66136d87..2403fab8 100644
--- a/pelican/tests/output/basic/a-markdown-powered-article.html
+++ b/pelican/tests/output/basic/a-markdown-powered-article.html
@@ -39,7 +39,7 @@
In cat1.
- You're mutually oblivious.
+ You're mutually oblivious.
a root-relative link to unbelievable
a file-relative link to unbelievable
diff --git a/pelican/tests/output/basic/article-1.html b/pelican/tests/output/basic/article-1.html
index 4ec2a0e1..741c14af 100644
--- a/pelican/tests/output/basic/article-1.html
+++ b/pelican/tests/output/basic/article-1.html
@@ -39,7 +39,7 @@
In cat1.
- Article 1
+ Article 1
diff --git a/pelican/tests/output/basic/article-2.html b/pelican/tests/output/basic/article-2.html
index 99819902..b2672f5b 100644
--- a/pelican/tests/output/basic/article-2.html
+++ b/pelican/tests/output/basic/article-2.html
@@ -39,7 +39,7 @@
In cat1.
- Article 2
+ Article 2
diff --git a/pelican/tests/output/basic/article-3.html b/pelican/tests/output/basic/article-3.html
index 596db91f..437a019c 100644
--- a/pelican/tests/output/basic/article-3.html
+++ b/pelican/tests/output/basic/article-3.html
@@ -39,7 +39,7 @@
In cat1.
- Article 3
+ Article 3
diff --git a/pelican/tests/output/basic/author/alexis-metaireau.html b/pelican/tests/output/basic/author/alexis-metaireau.html
index e4bde41d..6a5f6259 100644
--- a/pelican/tests/output/basic/author/alexis-metaireau.html
+++ b/pelican/tests/output/basic/author/alexis-metaireau.html
@@ -36,7 +36,7 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In yeah.
tags: foo bar foobar
@@ -72,13 +72,13 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In bar.
- tags: oh bar yeah
Translations:
+ tags: oh bar yeah
Translations:
fr
-
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !
diff --git a/pelican/tests/output/basic/category/bar.html b/pelican/tests/output/basic/category/bar.html
index e89375bf..a698949a 100644
--- a/pelican/tests/output/basic/category/bar.html
+++ b/pelican/tests/output/basic/category/bar.html
@@ -32,10 +32,10 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In bar.
-
tags: oh bar yeah
Translations:
+
tags: oh bar yeah
Translations:
fr
@@ -76,7 +76,7 @@
In cat1.
-
Article 2
+
Article 2
read more
@@ -96,7 +96,7 @@
In cat1.
-
Article 3
+
Article 3
read more
diff --git a/pelican/tests/output/basic/category/misc.html b/pelican/tests/output/basic/category/misc.html
index fa9eb563..75f29147 100644
--- a/pelican/tests/output/basic/category/misc.html
+++ b/pelican/tests/output/basic/category/misc.html
@@ -54,10 +54,10 @@
In misc.
- tags: foo bar baz
Translations:
+ tags: foo bar baz
Translations:
fr
- This is some article, in english
+ This is some article, in english
read more
@@ -77,7 +77,7 @@
In misc.
- Or completely awesome. Depends the needs.
+ Or completely awesome. Depends the needs.
a root-relative link to markdown-article
a file-relative link to markdown-article
@@ -107,7 +107,7 @@
In misc.
-
This article overrides the listening of the articles under the baz tag.
+
This article overrides the listening of the articles under the baz tag.
read more
diff --git a/pelican/tests/output/basic/category/yeah.html b/pelican/tests/output/basic/category/yeah.html
index ab08cc58..13ddfd4f 100644
--- a/pelican/tests/output/basic/category/yeah.html
+++ b/pelican/tests/output/basic/category/yeah.html
@@ -36,7 +36,7 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In yeah.
tags: foo bar foobar
diff --git a/pelican/tests/output/basic/drafts/a-draft-article-without-date.html b/pelican/tests/output/basic/drafts/a-draft-article-without-date.html
index 50b72e72..8d2b36ad 100644
--- a/pelican/tests/output/basic/drafts/a-draft-article-without-date.html
+++ b/pelican/tests/output/basic/drafts/a-draft-article-without-date.html
@@ -39,7 +39,7 @@
In misc.
- This is a draft article, it should live under the /drafts/ folder and not be
+
This is a draft article, it should live under the /drafts/ folder and not be
listed anywhere else.
diff --git a/pelican/tests/output/basic/drafts/a-draft-article.html b/pelican/tests/output/basic/drafts/a-draft-article.html
index b9125549..282433ef 100644
--- a/pelican/tests/output/basic/drafts/a-draft-article.html
+++ b/pelican/tests/output/basic/drafts/a-draft-article.html
@@ -39,7 +39,7 @@
In misc.
- This is a draft article, it should live under the /drafts/ folder and not be
+
This is a draft article, it should live under the /drafts/ folder and not be
listed anywhere else.
diff --git a/pelican/tests/output/basic/filename_metadata-example.html b/pelican/tests/output/basic/filename_metadata-example.html
index d66c30fc..732437ba 100644
--- a/pelican/tests/output/basic/filename_metadata-example.html
+++ b/pelican/tests/output/basic/filename_metadata-example.html
@@ -39,7 +39,7 @@
In misc.
- Some cool stuff!
+ Some cool stuff!
diff --git a/pelican/tests/output/basic/index.html b/pelican/tests/output/basic/index.html
index 0436d17b..c566dc6a 100644
--- a/pelican/tests/output/basic/index.html
+++ b/pelican/tests/output/basic/index.html
@@ -54,10 +54,10 @@
In misc.
- tags: foo bar baz
Translations:
+ tags: foo bar baz
Translations:
fr
- This is some article, in english
+ This is some article, in english
read more
@@ -77,7 +77,7 @@
In cat1.
- You're mutually oblivious.
+ You're mutually oblivious.
a root-relative link to unbelievable
a file-relative link to unbelievable
read more
@@ -98,7 +98,7 @@
In cat1.
- Article 1
+ Article 1
read more
@@ -118,7 +118,7 @@
In cat1.
- Article 2
+ Article 2
read more
@@ -138,7 +138,7 @@
In cat1.
- Article 3
+ Article 3
read more
@@ -161,11 +161,11 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In yeah.
tags: foo bar foobar
- Multi-line metadata should be supported
+
Multi-line metadata should be supported
as well as inline markup.
read more
@@ -185,13 +185,13 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In bar.
- tags: oh bar yeah
Translations:
+ tags: oh bar yeah
Translations:
fr
-
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !
@@ -216,7 +216,7 @@
In misc.
-
Or completely awesome. Depends the needs.
+
Or completely awesome. Depends the needs.
a root-relative link to markdown-article
a file-relative link to markdown-article
@@ -246,7 +246,7 @@
In misc.
-
This article overrides the listening of the articles under the baz tag.
+
This article overrides the listening of the articles under the baz tag.
read more
diff --git a/pelican/tests/output/basic/oh-yeah-fr.html b/pelican/tests/output/basic/oh-yeah-fr.html
index 1fbf47c5..0fa8eef5 100644
--- a/pelican/tests/output/basic/oh-yeah-fr.html
+++ b/pelican/tests/output/basic/oh-yeah-fr.html
@@ -43,7 +43,7 @@
Translations:
en
-
Et voila du contenu en français
+
Et voila du contenu en français
diff --git a/pelican/tests/output/basic/oh-yeah.html b/pelican/tests/output/basic/oh-yeah.html
index bcea5a93..9d308852 100644
--- a/pelican/tests/output/basic/oh-yeah.html
+++ b/pelican/tests/output/basic/oh-yeah.html
@@ -40,13 +40,13 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In bar.
-
tags: oh bar yeah
Translations:
+
tags: oh bar yeah
Translations:
fr
-
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !
diff --git a/pelican/tests/output/basic/second-article-fr.html b/pelican/tests/output/basic/second-article-fr.html
index f0711c64..4977813f 100644
--- a/pelican/tests/output/basic/second-article-fr.html
+++ b/pelican/tests/output/basic/second-article-fr.html
@@ -40,10 +40,10 @@
In misc.
-
tags: foo bar baz
Translations:
+
tags: foo bar baz
Translations:
en
-
Ceci est un article, en français.
+
Ceci est un article, en français.
diff --git a/pelican/tests/output/basic/second-article.html b/pelican/tests/output/basic/second-article.html
index da4699a5..4c9e515f 100644
--- a/pelican/tests/output/basic/second-article.html
+++ b/pelican/tests/output/basic/second-article.html
@@ -40,10 +40,10 @@
In misc.
-
tags: foo bar baz
Translations:
+
tags: foo bar baz
Translations:
fr
-
This is some article, in english
+
This is some article, in english
diff --git a/pelican/tests/output/basic/tag/bar.html b/pelican/tests/output/basic/tag/bar.html
index 0a1c7575..e127d0ed 100644
--- a/pelican/tests/output/basic/tag/bar.html
+++ b/pelican/tests/output/basic/tag/bar.html
@@ -32,7 +32,7 @@
In misc.
-
tags: foo bar baz
Translations:
+
tags: foo bar baz
Translations:
fr
This is some article, in english
@@ -60,11 +60,11 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In yeah.
tags: foo bar foobar
-
Multi-line metadata should be supported
+
Multi-line metadata should be supported
as well as inline markup.
read more
@@ -84,13 +84,13 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In bar.
-
tags: oh bar yeah
Translations:
+
tags: oh bar yeah
Translations:
fr
-
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
YEAH !
diff --git a/pelican/tests/output/basic/tag/baz.html b/pelican/tests/output/basic/tag/baz.html
index c4b68a5e..b3b0b559 100644
--- a/pelican/tests/output/basic/tag/baz.html
+++ b/pelican/tests/output/basic/tag/baz.html
@@ -39,7 +39,7 @@
In misc.
-
This article overrides the listening of the articles under the baz tag.
+
This article overrides the listening of the articles under the baz tag.
diff --git a/pelican/tests/output/basic/tag/foo.html b/pelican/tests/output/basic/tag/foo.html
index f310efee..1e1d5c32 100644
--- a/pelican/tests/output/basic/tag/foo.html
+++ b/pelican/tests/output/basic/tag/foo.html
@@ -32,7 +32,7 @@
In misc.
-
tags: foo bar baz
Translations:
+
tags: foo bar baz
Translations:
fr
This is some article, in english
@@ -60,11 +60,11 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In yeah.
tags: foo bar foobar
-
Multi-line metadata should be supported
+
Multi-line metadata should be supported
as well as inline markup.
read more
diff --git a/pelican/tests/output/basic/tag/foobar.html b/pelican/tests/output/basic/tag/foobar.html
index edc1ed9a..5c22d069 100644
--- a/pelican/tests/output/basic/tag/foobar.html
+++ b/pelican/tests/output/basic/tag/foobar.html
@@ -36,7 +36,7 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In yeah.
tags: foo bar foobar
diff --git a/pelican/tests/output/basic/tag/yeah.html b/pelican/tests/output/basic/tag/yeah.html
index 2e1c4188..5f0264b2 100644
--- a/pelican/tests/output/basic/tag/yeah.html
+++ b/pelican/tests/output/basic/tag/yeah.html
@@ -32,10 +32,10 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In bar.
-
tags: oh bar yeah
Translations:
+
tags: oh bar yeah
Translations:
fr
diff --git a/pelican/tests/output/basic/theme/css/main.css b/pelican/tests/output/basic/theme/css/main.css
index c1d86950..2e2aee48 100644
--- a/pelican/tests/output/basic/theme/css/main.css
+++ b/pelican/tests/output/basic/theme/css/main.css
@@ -27,6 +27,13 @@ body {
text-align: left;
}
+@media (prefers-color-scheme: dark) {
+ body {
+ background: #070808;
+ color: #FFFEFE;
+ }
+}
+
/* Headings */
h1 {font-size: 2em }
h2 {font-size: 1.571em} /* 22px */
@@ -106,6 +113,12 @@ dd {margin-left: 1.5em;}
pre{background-color: rgb(238, 238, 238); padding: 10px; margin: 10px; overflow: auto;}
+@media (prefers-color-scheme: dark) {
+ pre {
+ background: rgb(38, 38, 38);
+ }
+}
+
/* Quotes */
blockquote {
margin: 20px;
@@ -197,6 +210,12 @@ div.figure p.caption, figure p.caption { /* margin provided by figure */
#banner h1 strong {font-size: 0.36em; font-weight: normal;}
+@media (prefers-color-scheme: dark) {
+ #banner h1 a:link, #banner h1 a:visited {
+ color: #FFFAF8;
+ }
+}
+
/* Main Nav */
#banner nav {
background: #000305;
@@ -213,6 +232,12 @@ div.figure p.caption, figure p.caption { /* margin provided by figure */
-webkit-border-radius: 5px;
}
+@media (prefers-color-scheme: dark) {
+ #banner nav {
+ background: #121518;
+ }
+}
+
#banner nav ul {list-style: none; margin: 0 auto; max-width: 800px;}
#banner nav li {float: left; display: inline; margin: 0;}
@@ -255,6 +280,12 @@ div.figure p.caption, figure p.caption { /* margin provided by figure */
-webkit-border-radius: 10px;
}
+@media (prefers-color-scheme: dark) {
+ #featured {
+ background: #151617;
+ }
+}
+
#featured figure {
border: 2px solid #eee;
float: right;
@@ -284,6 +315,12 @@ div.figure p.caption, figure p.caption { /* margin provided by figure */
-webkit-border-radius: 10px;
}
+@media (prefers-color-scheme: dark) {
+ #content {
+ background: #111;
+ }
+}
+
/*
Extras
*****************/
@@ -306,6 +343,12 @@ div.figure p.caption, figure p.caption { /* margin provided by figure */
padding: .3em .25em;
}
+@media (prefers-color-scheme: dark) {
+ #extras a:link, #extras a:visited {
+ color: #888;
+ }
+}
+
#extras a:hover, #extras a:active {color: #fff;}
/* Blogroll */
@@ -339,6 +382,12 @@ div.figure p.caption, figure p.caption { /* margin provided by figure */
-webkit-border-radius: 10px;
}
+@media (prefers-color-scheme: dark) {
+ #about {
+ background: #222;
+ }
+}
+
#about .primary {float: left; max-width: 165px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}
@@ -367,6 +416,12 @@ li:first-child .hentry, #content > .hentry {border: 0; margin: 0;}
.entry-title a:link, .entry-title a:visited {text-decoration: none; color: #333;}
.entry-title a:visited {background-color: #fff;}
+@media (prefers-color-scheme: dark) {
+ .entry-title a:link, .entry-title a:visited {
+ color: #C74350;
+ }
+}
+
.hentry .post-info * {font-style: normal;}
/* Content */
diff --git a/pelican/tests/output/basic/this-is-a-super-article.html b/pelican/tests/output/basic/this-is-a-super-article.html
index ee5ae26b..1eb483bf 100644
--- a/pelican/tests/output/basic/this-is-a-super-article.html
+++ b/pelican/tests/output/basic/this-is-a-super-article.html
@@ -42,11 +42,11 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In yeah.
tags: foo bar foobar
-
Some content here !
+
Some content here !
This is a simple title
And here comes the cool stuff.
diff --git a/pelican/tests/output/basic/unbelievable.html b/pelican/tests/output/basic/unbelievable.html
index 37a40736..ee30d79d 100644
--- a/pelican/tests/output/basic/unbelievable.html
+++ b/pelican/tests/output/basic/unbelievable.html
@@ -39,7 +39,7 @@
In misc.
-
Or completely awesome. Depends the needs.
+
Or completely awesome. Depends the needs.
a root-relative link to markdown-article
a file-relative link to markdown-article
diff --git a/pelican/tests/output/custom/a-markdown-powered-article.html b/pelican/tests/output/custom/a-markdown-powered-article.html
index b8359a6d..00648cb6 100644
--- a/pelican/tests/output/custom/a-markdown-powered-article.html
+++ b/pelican/tests/output/custom/a-markdown-powered-article.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/archives.html b/pelican/tests/output/custom/archives.html
index 234fa63a..bfd80dfe 100644
--- a/pelican/tests/output/custom/archives.html
+++ b/pelican/tests/output/custom/archives.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/article-1.html b/pelican/tests/output/custom/article-1.html
index 4b670b16..63c72de7 100644
--- a/pelican/tests/output/custom/article-1.html
+++ b/pelican/tests/output/custom/article-1.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
@@ -42,11 +51,11 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In cat1.
- Article 1
+ Article 1
+
There are comments.
@@ -86,15 +95,15 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In cat1.
- You're mutually oblivious.
+ You're mutually oblivious.
a root-relative link to unbelievable
a file-relative link to unbelievable
read more
- There are comments.
+
There are comments.
@@ -110,14 +119,14 @@
- By Alexis Métaireau
+ By Alexis Métaireau
In cat1.
- Article 1
+ Article 1
read more
- There are comments.
+ There are comments.
Alexis' log A personal blog.
@@ -42,11 +51,11 @@ - By Alexis Métaireau + By Alexis MétaireauIn cat1.
-Article 2
+Article 2