fug bixes and erformance penhancements

This commit is contained in:
Lynne Megido 2021-01-08 19:03:12 +10:00
parent 6debfa111e
commit f05115de6f
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
3 changed files with 15 additions and 11 deletions

View File

@ -28,4 +28,3 @@ permalink: /
<p>
The Jekyll source directory used to build this site is available <a href="https://git.bune.city/lynnesbian/lynnesbian.space">here</a>, although I can't see anyone getting much use out of it.
</p>
</p>

View File

@ -19,18 +19,21 @@
<body>
{% comment %}{% include header.html %}{% endcomment %}
<header>
<picture id="bune">
<source type="image/webp" srcset="/assets/img/bune.webp">
<img id="bune" src='/assets/img/bune.png' alt="A drawing of a rabbit with brown-tipped ears sniffing the air excitedly!">
<picture id="logo">
<source type="image/webp" srcset="/assets/img/lynnesoft-centred.png">
<img id="logo"
src="/assets/img/lynnesoft-centred.png"
alt="A cyan-purple parallelogram with an outline of the letter L in its bottom-left corner.">
</picture>
<nav>
<a href='/' {%- if page.title == "Home" %} class='current'{% endif -%}>Home</a>
{%- for html_page in site.content -%}
{%- unless html_page.url == '/' -%}
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>
{{ html_page.title }}
</a>
{%- endunless -%}
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>
{{ html_page.title }}
</a>
{%- endunless -%}
{%- endfor -%}
</nav>
</header>

View File

@ -17,6 +17,7 @@ main article {
background: white;
min-height: 100%;
overflow: auto;
font-size: 1.1em;
}
main article h1,
@ -26,7 +27,8 @@ main article h2 {
header {
/* sidebar */
background: #6c4e7b;
/*background: #6c4e7b;*/
background: #333;
z-index: 1;
}
@ -46,9 +48,9 @@ nav a:hover {
background: #ffffff44;
}
#bune {
#logo {
object-fit: contain;
display: block;
width: min(100%, 150px);
margin: 30px auto 50px auto;
margin: 30px auto 80px auto;
}