chore: Use IDs instead of classes for nav and footer; change name to site-nav/footer

This commit is contained in:
daudix
2024-01-22 22:12:46 +03:00
parent 68f9fd8086
commit 5939a6681f
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.footer { #site-footer {
text-align: center; text-align: center;
padding: 3rem 0 3rem; padding: 3rem 0 3rem;
font-size: 1rem; font-size: 1rem;

View File

@ -1,4 +1,4 @@
#header { #site-nav {
-webkit-backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
background-color: var(--nav-bg); background-color: var(--nav-bg);

View File

@ -1,4 +1,4 @@
<footer class="footer"> <footer id="site-footer">
{% if config.extra.footer.show_copyright %} {% if config.extra.footer.show_copyright %}
<p title="Last built at {{ now() | date(format='%F %R %Z') }}">&copy; {{ config.title }}, {{ now() | date(format="%Y") }}</p> <p title="Last built at {{ now() | date(format='%F %R %Z') }}">&copy; {{ config.title }}, {{ now() | date(format="%Y") }}</p>
{% endif %} {% endif %}

View File

@ -1,4 +1,4 @@
<header id="header"> <header id="site-nav">
<nav> <nav>
<a id="title" href="{{ get_url(path='') }}"> <a id="title" href="{{ get_url(path='') }}">
{% if config.extra.nav.icons %} {% if config.extra.nav.icons %}