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> <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. 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>
</p>

View file

@ -19,12 +19,15 @@
<body> <body>
{% comment %}{% include header.html %}{% endcomment %} {% comment %}{% include header.html %}{% endcomment %}
<header> <header>
<picture id="bune"> <picture id="logo">
<source type="image/webp" srcset="/assets/img/bune.webp"> <source type="image/webp" srcset="/assets/img/lynnesoft-centred.png">
<img id="bune" src='/assets/img/bune.png' alt="A drawing of a rabbit with brown-tipped ears sniffing the air excitedly!"> <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> </picture>
<nav> <nav>
<a href='/' {%- if page.title == "Home" %} class='current'{% endif -%}>Home</a>
{%- for html_page in site.content -%} {%- for html_page in site.content -%}
{%- unless html_page.url == '/' -%} {%- unless html_page.url == '/' -%}
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}> <a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>

View file

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