add footer

This commit is contained in:
simon 2023-03-23 16:43:12 +07:00
parent db628be364
commit 435e7e662c
3 changed files with 18 additions and 4 deletions

View File

@ -19,6 +19,10 @@ h2 {
font-family: Sen-Bold;
}
footer {
margin-top: 2rem;
}
.md-typeset .note > .admonition-title {
background-color: var(--accent-font-dark);
}
@ -31,10 +35,6 @@ h2 {
border-color: var(--accent-font-light);
}
.md-footer-meta.md-typeset {
display: none;
}
[data-md-color-scheme="tubearchivist"] {
--md-default-bg-color: var(--main-bg);
--md-default-fg-color: var(--main-font);

View File

@ -33,6 +33,7 @@ theme:
logo: assets/favicon.ico
favicon: assets/favicon.ico
font: false
custom_dir: overrides
palette:
scheme: tubearchivist
features:

View File

@ -0,0 +1,13 @@
<div class="md-copyright">
{% if config.copyright %}
<div class="md-copyright__highlight">
{{ config.copyright }}
</div>
{% endif %}
{% if not config.extra.generator == false %}
© <script type="text/javascript">document.write(new Date().getFullYear());</script> TubeArchivist | <span title="built date">{{ build_date_utc.strftime("%Y-%m-%d %H:%M:%S") }} UTC</span> | made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
</a>
{% endif %}
</div>