merging.
This commit is contained in:
deepend 2020-05-06 23:09:51 -06:00
commit d4443f6f56
2 changed files with 46 additions and 42 deletions

View File

@ -67,12 +67,14 @@ hr {
from { content: "_"; }
to { content: ""; }
}
h1::after {
content: "_";
animation-name: cursor;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(1.0,0,0,1.0);
animation-duration: 1s;
@media not (prefers-reduced-motion: reduce) {
h1::after {
content: "_";
animation-name: cursor;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(1.0,0,0,1.0);
animation-duration: 1s;
}
}
h1 {
text-transform: uppercase;

View File

@ -46,54 +46,56 @@ $highlighting-css$
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header>
<h1 class="title">$$ $title$</h1>
<div class="content">
$if(title)$
<header>
<h1 class="title">$$ $title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$if(author)$
<p>authors:</p>
$for(author)$
<p class="author"><a href="/~$author$/">~$author$</a></p>
$endfor$
$endif$
$if(author)$
<p>authors:</p>
$for(author)$
<p class="author"><a href="/~$author$/">~$author$</a></p>
$endfor$
$endif$
$if(date)$
<p class="date">$date$</p>
$if(date)$
<p class="date">$date$</p>
$endif$
</header>
$endif$
</header>
$endif$
<br>
<div class="grid">
<div class="row">
<div class="col">
$if(toc)$
$if(toc-title)$
<h2>$toc-title$</h2>
$endif$
<nav id="$idprefix$TOC">
$table-of-contents$
</nav>
<hr>
<br>
<div class="grid">
<div class="row">
<div class="col">
$if(toc)$
$if(toc-title)$
<h2>$toc-title$</h2>
$endif$
<nav id="$idprefix$TOC">
$table-of-contents$
</nav>
<hr>
$endif$
<!-- unindent body so that code blocks don't have extra indents. See
https://stackoverflow.com/questions/42773587/code-block-formatting-issues-with-bootstrap-and-pandoc -->
$body$
$for(include-after)$
$include-after$
$endfor$
$for(include-after)$
$include-after$
$endfor$
</div>
</div>
</div>
</div>
</body>
<br>
<footer class="text-center">
<p>ECDSA fingerprint: SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE</p>
<a href="https://github.com/tildeclub/site">page source</a>
</footer>
</body>
</html>