Skip to content

Commit 3b4d3b9

Browse files
committed
Make CSS class for footnote stylings; add footnote for behind the scenes article
1 parent 999adf8 commit 3b4d3b9

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

index.html

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,15 @@
204204
.r-stack-left > p {
205205
margin: 0 !important;
206206
}
207+
div.footnote {
208+
margin-bottom: -15px;
209+
padding-left: 10px;
210+
width: 90%;
211+
}
212+
hr.footnote {
213+
margin-left: 0;
214+
width: 33%;
215+
}
207216
</style>
208217
</head>
209218
<body>
@@ -406,9 +415,23 @@ <h2>Pre-commit hooks != <code>pre-commit</code></h2>
406415
</li>
407416
<li class="fragment fade-in" data-fragment-index="3">
408417
The installed pre-commit hook then runs <code>pre-commit</code>,
409-
which in turn runs any checks you specify using a YAML file.
418+
which in turn runs any checks you specify using a YAML file.<sup
419+
>*</sup
420+
>
410421
</li>
411422
</ul>
423+
424+
<hr class="fragment fade-in footnote" data-fragment-index="3" />
425+
<div class="fragment fade-in footnote" data-fragment-index="3">
426+
<small
427+
><sup>*</sup>Check out my "<a
428+
href="https://stefaniemolin.com/articles/devx/pre-commit/behind-the-scenes/"
429+
target="_blank"
430+
rel="noopener noreferrer"
431+
>A Behind-the-Scenes Look at How Pre-Commit Works</a
432+
>" article for more information.
433+
</small>
434+
</div>
412435
</div>
413436
</section>
414437
<section id="pre-commit-setup">
@@ -605,8 +628,8 @@ <h2>Third-party hooks</h2>
605628
and speed very is important with pre-commit hooks.
606629
</p>
607630

608-
<hr align="left" style="width: 33%" />
609-
<div style="padding-left: 10px; width: 90%; margin-bottom: -15px">
631+
<hr class="footnote" />
632+
<div class="footnote">
610633
<small
611634
><sup>*</sup> Source:
612635
<a

0 commit comments

Comments
 (0)