Fix footer, re-implement commit ID coloration using CSS

This commit is contained in:
2023-11-26 10:24:36 -06:00
parent c777c132f6
commit 90cd980477
2 changed files with 11 additions and 10 deletions

View File

@@ -76,6 +76,14 @@ const titleTag = title != undefined ? `${title} | xevion.blog` : 'xevion.blog';
<slot name="default" />
</article>
</div>
<p class="text-center">
<a href="/feed.xml">Atom</a>
|
<a href={`${repository_url}/commit/${build_revision}`}>
<span id="commit-id" class="build-revision" style={{color: '#' + build_revision.slice(0, 6)}}>#{build_revision.slice(0, 7)}
</span>
</a>
</p>
</body>
<!-- <script type="text/javascript"> -->
<!-- /** Is all of this too much effort to make the animation play in just the right way? **/ -->
@@ -94,12 +102,5 @@ const titleTag = title != undefined ? `${title} | xevion.blog` : 'xevion.blog';
<!-- -->
<!-- } -->
<!-- </script> -->
<p class="text-center">
<a href="/feed.xml">Atom</a> |
<span id="commit-id" class="build-revision">
<a href={`${repository_url}/commit/${build_revision}`}>
#{build_revision.slice(0, 7)}
</a>
</span>
</p>
</html>

View File

@@ -283,8 +283,8 @@ article {
.build-revision {
font-family: "CMU Typewriter Text", sans-serif;
a {
color: #d2d2d2;
&:not(:hover) {
color: #d2d2d2 !important;
text-decoration: none;
}
}