Commit 843b3cc5 authored by Kaushal Modi's avatar Kaushal Modi

Add the "notes" post-fix to post single headings too

parent 6a60695c
......@@ -4,7 +4,7 @@
<!-- h-entry validation: https://xray.p3k.io/ -->
<!-- authorship testing: https://sturdy-backbone.glitch.me/ -->
<article class="post h-entry">
<article class="post h-entry {{ .Section }}">
<header>
{{ if .Params.draft }}
<div class="draft right">Draft</div>
......
......@@ -37,7 +37,7 @@
/* h2 Post titles on any list page (index.html, taxonomy list, etc. */
/* Org TODO keywords */
/* Section numbers */
/* Post-fix "notes" to notes headings in summaries on index.html */
/* Post-fix "notes" to Notes headings in summaries, post singles */
/* Post-fix a "." to section numbers */
/* Block quotes */
/* Headline Hashes */
......@@ -699,13 +699,20 @@ h6 .section-num {
color: var(--grey);
}
/* ** Post-fix "notes" to notes headings in summaries on index.html */
/* ** Post-fix "notes" to Notes headings in summaries, post singles */
.post.notes h1::after,
.summary.notes h2 a::after {
font-size: 0.9em;
content: "notes";
padding: 2px 5px 2px 5px; /* top, right, bottom, left */
vertical-align: 0.05em;
margin-left: 5px;
}
.post.notes h1::after {
background: var(--grey);
color: white;
}
.summary.notes h2 a::after {
background: var(--theme-color);
color: white;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment