This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Modify to your preferences */ | |
.post-preview { | |
border-bottom: 1px solid var(--code); | |
margin-bottom: 2em; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide Categories on Posts */ | |
ul.post-tags { display: none; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Center all content in the header */ | |
.site-header { text-align: center; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Light mode */ | |
:root { | |
--text: #000000; | |
--link: #1565C0; | |
--link_visited: #1565C0; | |
--accent1: #333333; | |
--accent2: #666666; | |
--background: #ffffff; | |
--code: #e3e3e3; | |
--button-text: #ffffff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Change the color in "content" below to whatever you'd like --> | |
<meta name="theme-color" media="(prefers-color-scheme: light)" content="blue" /> | |
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#FFA500" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { background: var(--link); max-width: 55em; } | |
.site-header { text-align: center; } | |
.site-header, .page-content, footer { background: var(--background); padding: 1em; border-radius: 0.333em; margin: 1em 0; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Remove the description from the header */ | |
p.description { display: none; } | |
/* Center all content in the header */ | |
.site-header { text-align: center; } | |
/* Easily change the size of the entire site. Size and spacing throughout the site is based on the overall font size. By changing it, everything throughout the site will chang to match. I suggest something in the 16-24px range. */ | |
body { font-size: 18px; } | |
/* Hide Categories on Posts */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.__sri-title-box {font-weight: bold;} | |
.__sri-title {margin-bottom: 0;} | |
.sri-group .sr-group {border-left: 1px solid #1761b4; width: 99%;} | |
#web_archive {display: none;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ $pages := where site.RegularPages "Type" "post" }} | |
{{ if and (gt (len $pages) 1) (in $pages . ) }} | |
<div class="post-nav"> | |
{{ with $pages.Prev . }} | |
<span class="previous"> | |
<a class="prev" href="{{ .Permalink }}">← Previous Post</a> | |
</span> | |
{{ end }} {{ with $pages.Next . }} | |
<span class="next"> | |
<a class="next" href="{{ .Permalink }}">Next Post →</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test |
NewerOlder