commit 632defbde84e10cd2f380eca2d856a83cc1e54e5
parent 80faf55816908619f4b03b84d8fffae2abfc11bb
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Thu, 16 Jan 2020 19:27:30 -0500
Publish new guide
Diffstat:
5 files changed, 87 insertions(+), 3 deletions(-)
diff --git a/pages/guides.md b/pages/guides.md
@@ -15,6 +15,7 @@ configuration, guides on how to do various things, and other more technical
stuff that doesn't fit on the blog.
<ul>
+ <li><a href="guides/firefox-new-tab-dark">How to Make the New Tab Page Dark Themed in Firefox</a></li>
<li><a href="guides/using-rm-with-trash">Using the "rm" Command with
Trash</a></li>
<li><a href="guides/debian-with-btrfs">Installing Debian 10 Buster with
diff --git a/pages/home.md b/pages/home.md
@@ -16,11 +16,13 @@ links in the navigation panel. Below are the five newest articles, guides, or
projects on the site.
<div class="feed-wrapper">
- <h3 class="feed-candidate">What's New:</h3>
+ <h3 class="feed-title">What's New:</h3>
<a class="rss-icon" href="/feeds/sitewide-feed.xml"> <img
src="/img/feed-icon.png" width="15" height="15" alt="Click for RSS"/>
</a>
</div>
+2020-01-08 <a href="guides/firefox-new-tab-dark">New Guide: How to Make the New Tab Page Dark Themed in Firefox</a>
+
2019-12-31 <a href="projects/borderlands-3-dps-calculator">New Project: Borderlands 3 DPS Calculator</a>
2019-12-30 <a href="blog/automating-publishing">New Blog Post: Automating the Publishing of Articles</a>
@@ -30,8 +32,6 @@ projects on the site.
2019-12-21 <a href="projects/usrmnt">New Project: usrmnt</a>
-2019-12-20 <a href="blog/difficulty-of-privacy-education">New Blog Post: The Difficulty of Educating People About Online Privacy</a>
-
### What is a Parity Bit?
It is a bit (in the 1's and 0's sense) used in checking for errors in digital
diff --git a/public/feeds/guides-feed.xml b/public/feeds/guides-feed.xml
@@ -7,6 +7,47 @@
<description>The feed that covers all notable additions and updates to the
Guides section of paritybit.ca. </description>
<item>
+ <title>New Guide: How to Make the New Tab Page Dark Themed in Firefox</title>
+ <link>https://www.paritybit.ca/guides/firefox-new-tab-dark</link>
+ <guid>https://www.paritybit.ca/guides/firefox-new-tab-dark</guid>
+ <pubDate>Wed, 08 Jan 2020 18:44:53 -0500</pubDate>
+ <description><![CDATA[<p><strong>Difficulty:</strong> Beginner</p>
+
+<p>All of my desktop environments use the Arc-Dark theme. It's not too dark and it
+also feels way easier on my eyes than most of the light themes out there.
+Firefox does a good job of using my system theme to colour its UI except for the
+New Tab page which remains blindingly white.</p>
+
+<p>Here is how you can change the background of the New Tab page:</p>
+
+<ol>
+<li>Navigate to your Firefox profile directory:
+<ol>
+<li>Go to <code>about:support</code> using the address bar</li>
+<li>Click <code>Open Directory</code> next to the item in the table labelled "Profile
+Directory"</li>
+</ol></li>
+<li>Create the directory <code>chrome</code> in your Firefox profile directory if it doesn't
+exist.</li>
+<li>In the <code>chrome</code> directory, create the <code>userContent.css</code> file and populate it
+with the following:</li>
+</ol>
+
+<pre><code>@-moz-document url("about:newtab") {
+ body {
+ background-color: <colour> !important;
+ }
+}
+</code></pre>
+
+<p>Replace <code><colour></code> with your desired colour. I configure my Firefox with
+<code>#383c4a</code> because it's one of the colours that Arc-Dark features heavily so it
+meshes well with my system theme.</p>
+
+<p>You may also want to set this for <code>"about:blank"</code> if you use a blank page as the
+first page that opens when firefox launches.</p>]]></description>
+</item>
+<item>
<title>New Guide: Using the "rm" Command with Trash</title>
<link>https://www.paritybit.ca/guides/using-rm-with-trash</link>
<guid>https://www.paritybit.ca/guides/using-rm-with-trash</guid>
diff --git a/public/feeds/sitewide-feed.xml b/public/feeds/sitewide-feed.xml
@@ -7,6 +7,47 @@
<description>The feed that covers all notable additions, updates, announcements,
and other changes for the entire paritybit.ca website.</description>
<item>
+ <title>New Guide: How to Make the New Tab Page Dark Themed in Firefox</title>
+ <link>https://www.paritybit.ca/guides/firefox-new-tab-dark</link>
+ <guid>https://www.paritybit.ca/guides/firefox-new-tab-dark</guid>
+ <pubDate>Wed, 08 Jan 2020 18:44:53 -0500</pubDate>
+ <description><![CDATA[<p><strong>Difficulty:</strong> Beginner</p>
+
+<p>All of my desktop environments use the Arc-Dark theme. It's not too dark and it
+also feels way easier on my eyes than most of the light themes out there.
+Firefox does a good job of using my system theme to colour its UI except for the
+New Tab page which remains blindingly white.</p>
+
+<p>Here is how you can change the background of the New Tab page:</p>
+
+<ol>
+<li>Navigate to your Firefox profile directory:
+<ol>
+<li>Go to <code>about:support</code> using the address bar</li>
+<li>Click <code>Open Directory</code> next to the item in the table labelled "Profile
+Directory"</li>
+</ol></li>
+<li>Create the directory <code>chrome</code> in your Firefox profile directory if it doesn't
+exist.</li>
+<li>In the <code>chrome</code> directory, create the <code>userContent.css</code> file and populate it
+with the following:</li>
+</ol>
+
+<pre><code>@-moz-document url("about:newtab") {
+ body {
+ background-color: <colour> !important;
+ }
+}
+</code></pre>
+
+<p>Replace <code><colour></code> with your desired colour. I configure my Firefox with
+<code>#383c4a</code> because it's one of the colours that Arc-Dark features heavily so it
+meshes well with my system theme.</p>
+
+<p>You may also want to set this for <code>"about:blank"</code> if you use a blank page as the
+first page that opens when firefox launches.</p>]]></description>
+</item>
+<item>
<title>New Project: Borderlands 3 DPS Calculator</title>
<link>https://www.paritybit.ca/projects/borderlands-3-dps-calculator</link>
<guid>https://www.paritybit.ca/projects/borderlands-3-dps-calculator</guid>
diff --git a/public/sitemap.xml b/public/sitemap.xml
@@ -16,6 +16,7 @@
<url><loc>https://www.paritybit.ca/projects/dnd/roll</loc></url>
<url><loc>https://www.paritybit.ca/projects/dnd/initiative</loc></url>
<url><loc>https://www.paritybit.ca/guides</loc></url>
+ <url><loc>https://www.paritybit.ca/guides/firefox-new-tab-dark</loc></url>
<url><loc>https://www.paritybit.ca/guides/debian-with-btrfs</loc></url>
<url><loc>https://www.paritybit.ca/guides/using-rm-with-trash</loc></url>
<url><loc>https://www.paritybit.ca/about-me</loc></url>