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/custom/a-markdown-powered-article.html b/pelican/tests/output/custom/a-markdown-powered-article.html
index b8359a6d..687c1153 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..e7f389c8 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
diff --git a/pelican/tests/output/custom/article-2.html b/pelican/tests/output/custom/article-2.html
index ad1e20fb..3c9b6aa1 100644
--- a/pelican/tests/output/custom/article-2.html
+++ b/pelican/tests/output/custom/article-2.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/article-3.html b/pelican/tests/output/custom/article-3.html
index 7157c014..a2647149 100644
--- a/pelican/tests/output/custom/article-3.html
+++ b/pelican/tests/output/custom/article-3.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/author/alexis-metaireau.html b/pelican/tests/output/custom/author/alexis-metaireau.html
index b4230aad..b2f5cc32 100644
--- a/pelican/tests/output/custom/author/alexis-metaireau.html
+++ b/pelican/tests/output/custom/author/alexis-metaireau.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/author/alexis-metaireau2.html b/pelican/tests/output/custom/author/alexis-metaireau2.html
index 43823162..2178d0a7 100644
--- a/pelican/tests/output/custom/author/alexis-metaireau2.html
+++ b/pelican/tests/output/custom/author/alexis-metaireau2.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/author/alexis-metaireau3.html b/pelican/tests/output/custom/author/alexis-metaireau3.html
index cf7a6031..ab95c63e 100644
--- a/pelican/tests/output/custom/author/alexis-metaireau3.html
+++ b/pelican/tests/output/custom/author/alexis-metaireau3.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/authors.html b/pelican/tests/output/custom/authors.html
index 5ba9af8c..01fd740e 100644
--- a/pelican/tests/output/custom/authors.html
+++ b/pelican/tests/output/custom/authors.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/categories.html b/pelican/tests/output/custom/categories.html
index 2c055fac..7e863fb2 100644
--- a/pelican/tests/output/custom/categories.html
+++ b/pelican/tests/output/custom/categories.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/category/bar.html b/pelican/tests/output/custom/category/bar.html
index 7415f9f4..8496df9c 100644
--- a/pelican/tests/output/custom/category/bar.html
+++ b/pelican/tests/output/custom/category/bar.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/category/cat1.html b/pelican/tests/output/custom/category/cat1.html
index f72f8bc8..a4059604 100644
--- a/pelican/tests/output/custom/category/cat1.html
+++ b/pelican/tests/output/custom/category/cat1.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/category/misc.html b/pelican/tests/output/custom/category/misc.html
index 895f253e..269ade75 100644
--- a/pelican/tests/output/custom/category/misc.html
+++ b/pelican/tests/output/custom/category/misc.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/category/yeah.html b/pelican/tests/output/custom/category/yeah.html
index a6d76ac2..07d4e8a0 100644
--- a/pelican/tests/output/custom/category/yeah.html
+++ b/pelican/tests/output/custom/category/yeah.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/drafts/a-draft-article-without-date.html b/pelican/tests/output/custom/drafts/a-draft-article-without-date.html
index 70879483..eb4a435b 100644
--- a/pelican/tests/output/custom/drafts/a-draft-article-without-date.html
+++ b/pelican/tests/output/custom/drafts/a-draft-article-without-date.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/drafts/a-draft-article.html b/pelican/tests/output/custom/drafts/a-draft-article.html
index 8e56ba96..4b61e5f3 100644
--- a/pelican/tests/output/custom/drafts/a-draft-article.html
+++ b/pelican/tests/output/custom/drafts/a-draft-article.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/filename_metadata-example.html b/pelican/tests/output/custom/filename_metadata-example.html
index 00b1f158..d0e97d1b 100644
--- a/pelican/tests/output/custom/filename_metadata-example.html
+++ b/pelican/tests/output/custom/filename_metadata-example.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/index.html b/pelican/tests/output/custom/index.html
index b29d8d86..8d801127 100644
--- a/pelican/tests/output/custom/index.html
+++ b/pelican/tests/output/custom/index.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/index2.html b/pelican/tests/output/custom/index2.html
index a1c3f5b5..0dec6bee 100644
--- a/pelican/tests/output/custom/index2.html
+++ b/pelican/tests/output/custom/index2.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/index3.html b/pelican/tests/output/custom/index3.html
index 93e0d029..25bafa25 100644
--- a/pelican/tests/output/custom/index3.html
+++ b/pelican/tests/output/custom/index3.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/jinja2_template.html b/pelican/tests/output/custom/jinja2_template.html
index e745d4cf..6fd241e3 100644
--- a/pelican/tests/output/custom/jinja2_template.html
+++ b/pelican/tests/output/custom/jinja2_template.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/oh-yeah-fr.html b/pelican/tests/output/custom/oh-yeah-fr.html
index 8659bd0e..95cf0f01 100644
--- a/pelican/tests/output/custom/oh-yeah-fr.html
+++ b/pelican/tests/output/custom/oh-yeah-fr.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/oh-yeah.html b/pelican/tests/output/custom/oh-yeah.html
index 0825e211..080d8469 100644
--- a/pelican/tests/output/custom/oh-yeah.html
+++ b/pelican/tests/output/custom/oh-yeah.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/override/index.html b/pelican/tests/output/custom/override/index.html
index 8a5df3b4..6c2b1f08 100644
--- a/pelican/tests/output/custom/override/index.html
+++ b/pelican/tests/output/custom/override/index.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html b/pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html
index df4e9090..e3f2349a 100644
--- a/pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html
+++ b/pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/pages/this-is-a-test-page.html b/pelican/tests/output/custom/pages/this-is-a-test-page.html
index f9d959a5..cdd776c5 100644
--- a/pelican/tests/output/custom/pages/this-is-a-test-page.html
+++ b/pelican/tests/output/custom/pages/this-is-a-test-page.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/second-article-fr.html b/pelican/tests/output/custom/second-article-fr.html
index c53cc23e..67ebbf22 100644
--- a/pelican/tests/output/custom/second-article-fr.html
+++ b/pelican/tests/output/custom/second-article-fr.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/second-article.html b/pelican/tests/output/custom/second-article.html
index f42dd642..9122e56a 100644
--- a/pelican/tests/output/custom/second-article.html
+++ b/pelican/tests/output/custom/second-article.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/tag/bar.html b/pelican/tests/output/custom/tag/bar.html
index 3abbc833..a8f3bbeb 100644
--- a/pelican/tests/output/custom/tag/bar.html
+++ b/pelican/tests/output/custom/tag/bar.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/tag/baz.html b/pelican/tests/output/custom/tag/baz.html
index e2dfada4..4ba10792 100644
--- a/pelican/tests/output/custom/tag/baz.html
+++ b/pelican/tests/output/custom/tag/baz.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/tag/foo.html b/pelican/tests/output/custom/tag/foo.html
index c03bca5c..0e3661f6 100644
--- a/pelican/tests/output/custom/tag/foo.html
+++ b/pelican/tests/output/custom/tag/foo.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/tag/foobar.html b/pelican/tests/output/custom/tag/foobar.html
index d3609714..62147ee8 100644
--- a/pelican/tests/output/custom/tag/foobar.html
+++ b/pelican/tests/output/custom/tag/foobar.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/tag/oh.html b/pelican/tests/output/custom/tag/oh.html
index 5530d037..5e28c19d 100644
--- a/pelican/tests/output/custom/tag/oh.html
+++ b/pelican/tests/output/custom/tag/oh.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/tag/yeah.html b/pelican/tests/output/custom/tag/yeah.html
index d0457390..d1c8ec88 100644
--- a/pelican/tests/output/custom/tag/yeah.html
+++ b/pelican/tests/output/custom/tag/yeah.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/tags.html b/pelican/tests/output/custom/tags.html
index e5b3b08f..1efd9c29 100644
--- a/pelican/tests/output/custom/tags.html
+++ b/pelican/tests/output/custom/tags.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/theme/css/main.css b/pelican/tests/output/custom/theme/css/main.css
index c1d86950..2e2aee48 100644
--- a/pelican/tests/output/custom/theme/css/main.css
+++ b/pelican/tests/output/custom/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/custom/this-is-a-super-article.html b/pelican/tests/output/custom/this-is-a-super-article.html
index 222fcbab..57f80f30 100644
--- a/pelican/tests/output/custom/this-is-a-super-article.html
+++ b/pelican/tests/output/custom/this-is-a-super-article.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom/unbelievable.html b/pelican/tests/output/custom/unbelievable.html
index ae3a235f..373810c8 100644
--- a/pelican/tests/output/custom/unbelievable.html
+++ b/pelican/tests/output/custom/unbelievable.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/archives.html b/pelican/tests/output/custom_locale/archives.html
index 3e85bc13..206f107a 100644
--- a/pelican/tests/output/custom_locale/archives.html
+++ b/pelican/tests/output/custom_locale/archives.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/author/alexis-metaireau.html b/pelican/tests/output/custom_locale/author/alexis-metaireau.html
index 7582d623..be2cfdc2 100644
--- a/pelican/tests/output/custom_locale/author/alexis-metaireau.html
+++ b/pelican/tests/output/custom_locale/author/alexis-metaireau.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/author/alexis-metaireau2.html b/pelican/tests/output/custom_locale/author/alexis-metaireau2.html
index 0ba022b7..8092536a 100644
--- a/pelican/tests/output/custom_locale/author/alexis-metaireau2.html
+++ b/pelican/tests/output/custom_locale/author/alexis-metaireau2.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/author/alexis-metaireau3.html b/pelican/tests/output/custom_locale/author/alexis-metaireau3.html
index 5033e7f2..2a429904 100644
--- a/pelican/tests/output/custom_locale/author/alexis-metaireau3.html
+++ b/pelican/tests/output/custom_locale/author/alexis-metaireau3.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/authors.html b/pelican/tests/output/custom_locale/authors.html
index 1d1bb320..8eeb4f3c 100644
--- a/pelican/tests/output/custom_locale/authors.html
+++ b/pelican/tests/output/custom_locale/authors.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/categories.html b/pelican/tests/output/custom_locale/categories.html
index 9a684dd2..e417235b 100644
--- a/pelican/tests/output/custom_locale/categories.html
+++ b/pelican/tests/output/custom_locale/categories.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/category/bar.html b/pelican/tests/output/custom_locale/category/bar.html
index c061c8d8..d57b6710 100644
--- a/pelican/tests/output/custom_locale/category/bar.html
+++ b/pelican/tests/output/custom_locale/category/bar.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/category/cat1.html b/pelican/tests/output/custom_locale/category/cat1.html
index a1b9156b..30be6893 100644
--- a/pelican/tests/output/custom_locale/category/cat1.html
+++ b/pelican/tests/output/custom_locale/category/cat1.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/category/misc.html b/pelican/tests/output/custom_locale/category/misc.html
index 8df30965..810902ed 100644
--- a/pelican/tests/output/custom_locale/category/misc.html
+++ b/pelican/tests/output/custom_locale/category/misc.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/category/yeah.html b/pelican/tests/output/custom_locale/category/yeah.html
index 9e22f4f3..6b3793a3 100644
--- a/pelican/tests/output/custom_locale/category/yeah.html
+++ b/pelican/tests/output/custom_locale/category/yeah.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/drafts/a-draft-article-without-date.html b/pelican/tests/output/custom_locale/drafts/a-draft-article-without-date.html
index cf8c8760..addedd2f 100644
--- a/pelican/tests/output/custom_locale/drafts/a-draft-article-without-date.html
+++ b/pelican/tests/output/custom_locale/drafts/a-draft-article-without-date.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/drafts/a-draft-article.html b/pelican/tests/output/custom_locale/drafts/a-draft-article.html
index 56f9e0b4..45393805 100644
--- a/pelican/tests/output/custom_locale/drafts/a-draft-article.html
+++ b/pelican/tests/output/custom_locale/drafts/a-draft-article.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/index.html b/pelican/tests/output/custom_locale/index.html
index 5c5c3c27..a2f09b0a 100644
--- a/pelican/tests/output/custom_locale/index.html
+++ b/pelican/tests/output/custom_locale/index.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/index2.html b/pelican/tests/output/custom_locale/index2.html
index 68d4f195..05c7b300 100644
--- a/pelican/tests/output/custom_locale/index2.html
+++ b/pelican/tests/output/custom_locale/index2.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/index3.html b/pelican/tests/output/custom_locale/index3.html
index 030ea072..1b8f86ba 100644
--- a/pelican/tests/output/custom_locale/index3.html
+++ b/pelican/tests/output/custom_locale/index3.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/jinja2_template.html b/pelican/tests/output/custom_locale/jinja2_template.html
index 3d2ac0e1..379fd570 100644
--- a/pelican/tests/output/custom_locale/jinja2_template.html
+++ b/pelican/tests/output/custom_locale/jinja2_template.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/oh-yeah-fr.html b/pelican/tests/output/custom_locale/oh-yeah-fr.html
index a3203152..2c5947ab 100644
--- a/pelican/tests/output/custom_locale/oh-yeah-fr.html
+++ b/pelican/tests/output/custom_locale/oh-yeah-fr.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/override/index.html b/pelican/tests/output/custom_locale/override/index.html
index f457679f..a8ec2de4 100644
--- a/pelican/tests/output/custom_locale/override/index.html
+++ b/pelican/tests/output/custom_locale/override/index.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/pages/this-is-a-test-hidden-page.html b/pelican/tests/output/custom_locale/pages/this-is-a-test-hidden-page.html
index 12cab620..f3ac78f8 100644
--- a/pelican/tests/output/custom_locale/pages/this-is-a-test-hidden-page.html
+++ b/pelican/tests/output/custom_locale/pages/this-is-a-test-hidden-page.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html b/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html
index e945a3ed..b18a0bad 100644
--- a/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html
+++ b/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html b/pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html
index 336a13cf..bf2cbca2 100644
--- a/pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html
+++ b/pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html b/pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html
index 35da4c63..d08da362 100644
--- a/pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html
+++ b/pelican/tests/output/custom_locale/posts/2010/octobre/15/unbelievable/index.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2010/octobre/20/oh-yeah/index.html b/pelican/tests/output/custom_locale/posts/2010/octobre/20/oh-yeah/index.html
index 23c57785..3e6c0dc9 100644
--- a/pelican/tests/output/custom_locale/posts/2010/octobre/20/oh-yeah/index.html
+++ b/pelican/tests/output/custom_locale/posts/2010/octobre/20/oh-yeah/index.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2011/avril/20/a-markdown-powered-article/index.html b/pelican/tests/output/custom_locale/posts/2011/avril/20/a-markdown-powered-article/index.html
index c2e1cc57..7d080202 100644
--- a/pelican/tests/output/custom_locale/posts/2011/avril/20/a-markdown-powered-article/index.html
+++ b/pelican/tests/output/custom_locale/posts/2011/avril/20/a-markdown-powered-article/index.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html b/pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html
index 0742bc52..da2c39d0 100644
--- a/pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html
+++ b/pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html b/pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html
index a5201ffb..462b4817 100644
--- a/pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html
+++ b/pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html b/pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html
index fe175d6f..cc4cd574 100644
--- a/pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html
+++ b/pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html b/pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html
index d2d3cfe1..be1b0d90 100644
--- a/pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html
+++ b/pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/posts/2012/novembre/30/filename_metadata-example/index.html b/pelican/tests/output/custom_locale/posts/2012/novembre/30/filename_metadata-example/index.html
index a596dbed..2304f27c 100644
--- a/pelican/tests/output/custom_locale/posts/2012/novembre/30/filename_metadata-example/index.html
+++ b/pelican/tests/output/custom_locale/posts/2012/novembre/30/filename_metadata-example/index.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/second-article-fr.html b/pelican/tests/output/custom_locale/second-article-fr.html
index e631a575..ad3d369d 100644
--- a/pelican/tests/output/custom_locale/second-article-fr.html
+++ b/pelican/tests/output/custom_locale/second-article-fr.html
@@ -14,8 +14,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/tag/bar.html b/pelican/tests/output/custom_locale/tag/bar.html
index f8edf2f2..ab9ccadf 100644
--- a/pelican/tests/output/custom_locale/tag/bar.html
+++ b/pelican/tests/output/custom_locale/tag/bar.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/tag/baz.html b/pelican/tests/output/custom_locale/tag/baz.html
index ad8fefa9..8376ee30 100644
--- a/pelican/tests/output/custom_locale/tag/baz.html
+++ b/pelican/tests/output/custom_locale/tag/baz.html
@@ -12,8 +12,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/tag/foo.html b/pelican/tests/output/custom_locale/tag/foo.html
index 688666f8..defa8304 100644
--- a/pelican/tests/output/custom_locale/tag/foo.html
+++ b/pelican/tests/output/custom_locale/tag/foo.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/tag/foobar.html b/pelican/tests/output/custom_locale/tag/foobar.html
index 6abc2d24..73e5c280 100644
--- a/pelican/tests/output/custom_locale/tag/foobar.html
+++ b/pelican/tests/output/custom_locale/tag/foobar.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/tag/oh.html b/pelican/tests/output/custom_locale/tag/oh.html
index 72cde941..dec01b53 100644
--- a/pelican/tests/output/custom_locale/tag/oh.html
+++ b/pelican/tests/output/custom_locale/tag/oh.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/tag/yeah.html b/pelican/tests/output/custom_locale/tag/yeah.html
index b0a1a5ac..5938bfba 100644
--- a/pelican/tests/output/custom_locale/tag/yeah.html
+++ b/pelican/tests/output/custom_locale/tag/yeah.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/tags.html b/pelican/tests/output/custom_locale/tags.html
index 40daf2ef..b2f9682e 100644
--- a/pelican/tests/output/custom_locale/tags.html
+++ b/pelican/tests/output/custom_locale/tags.html
@@ -11,8 +11,17 @@
+
-
+ Fork me on GitHub
diff --git a/pelican/tests/output/custom_locale/theme/css/main.css b/pelican/tests/output/custom_locale/theme/css/main.css
index c1d86950..2e2aee48 100644
--- a/pelican/tests/output/custom_locale/theme/css/main.css
+++ b/pelican/tests/output/custom_locale/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 */