[2025-04-25] Multiple design improvements

- Font size and scaling better for different displays
- Added 88x31 buttons in footer
- Other minor changes to CSS and layouts
This commit is contained in:
Andrew Conlin 2025-04-25 14:45:55 +01:00
parent 5a1ce2af21
commit c51385f72b
18 changed files with 68 additions and 57 deletions

View file

@ -0,0 +1,11 @@
<ul style="list-style-type:none;margin:0;padding:0;font-size:16px;">
{% for post in site.posts %}
{% assign category = post.category %}
{% if category == page.title %}
<li>
<p><span style="font-family: Geist Mono">{{ post.date | date: "%Y-%m-%d" }} / </span><a href="{{ post.url }}">{{ post.title }}</a></p>
</li>
{% endif %}
{% endfor %}
</ul>
<hr>

View file

@ -1,8 +1,16 @@
<br> <br>
<div style="text-align: center;font-family: Geist Mono;font-size:small;"> <div style="text-align: center;font-family: Geist Mono;font-size:12px;">
<span class="growshrink">Be nice to each other!</span><br> <span class="growshrink">Be nice to each other!</span><br><br>
<img style="display:inline-block;" src="/assets/images/88x31/apache-powered.gif">
<img style="display:inline-block;" src="/assets/images/88x31/bestviewedcomp.gif">
<img style="display:inline-block;" src="/assets/images/88x31/debian.gif">
<img style="display:inline-block;" src="/assets/images/88x31/firefox3.gif">
<img style="display:inline-block;" src="/assets/images/88x31/internetprivacy.gif">
<img style="display:inline-block;" src="/assets/images/88x31/neovim.gif">
<br><br>
Last updated: {{ site.time }}<br>
<a href="https://git.andrewconl.in/andrew/site/src/tag/{{ site.version }}/">{{ site.version }}</a><br>
<br>
© {{ site.author }} 2023-2025<br> © {{ site.author }} 2023-2025<br>
All rights reverse engineered<br> All rights reverse engineered<br>
Last updated: {{ site.time }}<br>
<a href="https://git.andrewconl.in/andrew/site/src/tag/{{ site.version }}/">{{ site.version }}</a>
</div> </div>

View file

@ -1,5 +1,4 @@
<h1><a href="/">andrewconl.in</a> <span style="color: #A89984;font-size:medium">is tracking his progress</span></h1> <span style="font-size: 24px;"><a href="/">andrewconl.in</a></span> <span style="color: #A89984;font-size:12px">is CSSing</span><br>
<div> <span style="font-size: 16px;word-spacing: 5px"><a href="/blog">blog</a> <a href="/til">til</a> <a href="/projects">projects</a> <a href="/meta">meta</a> <a href="/feed.xml">feed</a> <a href="/archive">[archive]</a></span>
<p style="font-size: x-large;"><a href="/blog">blog</a>&nbsp;&nbsp;&nbsp;<a href="/til">til</a>&nbsp;&nbsp;&nbsp;<a href="/projects">projects</a>&nbsp;&nbsp;&nbsp;<a href="/meta">meta</a>&nbsp;&nbsp;&nbsp;<a href="/feed.xml">feed</a>&nbsp;&nbsp;&nbsp;<a href="/archive">[archive]</a></p> <br>
</div>
<hr> <hr>

1
_includes/pageTitle.html Normal file
View file

@ -0,0 +1 @@
<span style="font-size: 16px;"><a href="/">~</a> / <a href="">{{page.title}}</a><br></span>

View file

@ -1,10 +1,9 @@
--- ---
layout: default layout: default
--- ---
<span style="font-size: x-large;"><a href="/">~</a> > <a href="/{{page.category}}">{{page.category}}</a> > <a href="">{{page.title}}</a><br></span> <span style="font-size: 16px;"><a href="/">~</a> / <a href="/{{page.category}}">{{page.category}}</a> / <a href="">{{page.title}}</a><br></span>
<br> <span style="font-family: Geist Mono;font-size:16px;">
<span style="font-family: Geist Mono;"> {{ page.date | date: "%Y-%m-%d" }}<br>
{{ page.date | date: "%Y-%m-%d" }}<br>
{{ content | reading_time | pluralize: "minute" }} {{ content | reading_time | pluralize: "minute" }}
</span> </span>
<hr> <hr>

View file

@ -3,15 +3,5 @@ layout: default
title: archive title: archive
--- ---
<span style="font-size: x-large;"><a href="/">~</a> > <a href="">[{{page.title}}]</a><br></span> {% include pageTitle.html %}
<ul style="list-style-type:none;margin:0;padding:0;"> {% include categoryList.html %}
{% for post in site.posts %}
{% assign category = post.category %}
{% if category == 'archive' %}
<li>
<p><span style="font-family: Geist Mono">{{ post.date | date: "%Y-%m-%d" }} / </span><a href="{{ post.url }}">{{ post.title }}</a></p>
</li>
{% endif %}
{% endfor %}
</ul>
<hr>

View file

@ -22,6 +22,7 @@ code {
div.container { div.container {
margin: 0 auto; margin: 0 auto;
zoom: 1.5;
} }
div.content { div.content {
@ -38,6 +39,10 @@ div.content {
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
} }
div.container {
margin: 0 auto;
zoom: 1.4
}
} }
@media screen and (max-width: 1080px) { @media screen and (max-width: 1080px) {
@ -47,6 +52,10 @@ div.content {
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
} }
div.container {
margin: 0 auto;
zoom: 1.2
}
} }
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
@ -56,6 +65,10 @@ div.content {
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
} }
div.container {
margin: 0 auto;
zoom: 1.0
}
} }
body { body {
@ -75,16 +88,16 @@ pre {
a { a {
color: #E7D7AD; color: #E7D7AD;
text-decoration: none; text-decoration: none;
border-bottom: 3px solid #FABD2F; border-bottom: 2px solid #FABD2F;
border-radius: 2px; border-radius: 1px;
} }
a:hover { a:hover {
color: #000000; color: #000000;
background: #FABD2F; background: #FABD2F;
text-decoration: none; text-decoration: none;
border-bottom: 3px solid #FABD2F; border-bottom: 2px solid #FABD2F;
border-radius: 2px; border-radius: 1px;
} }
img { img {
@ -118,3 +131,11 @@ span.growshrink {
color: #FABD2F; color: #FABD2F;
} }
} }
p {
font-size: 14px
}
h1 {
font-size: 24px
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

View file

@ -4,15 +4,5 @@ title: blog
backlink: false backlink: false
--- ---
<span style="font-size: x-large;"><a href="/">~</a> > <a href="">{{page.title}}</a><br></span> {% include pageTitle.html %}
<ul style="list-style-type:none;margin:0;padding:0;"> {% include categoryList.html %}
{% for post in site.posts %}
{% assign category = post.category %}
{% if category == 'blog' %}
<li>
<p><span style="font-family: Geist Mono">{{ post.date | date: "%Y-%m-%d" }} / </span><a href="{{ post.url }}">{{ post.title }}</a></p>
</li>
{% endif %}
{% endfor %}
</ul>
<hr>

View file

@ -6,7 +6,6 @@ permalink: /
<span style="color: #A89984;"><i>“Man is said to be a reasoning animal. I do not know why he has not been defined as an affective or feeling animal. Perhaps that which differentiates him from other animals is feeling rather than reason. More often I have seen a cat reason than laugh or weep. Perhaps it weeps or laughs inwardly — but then perhaps, also inwardly, the crab resolves equations of the second degree.”</i></span><br> <span style="color: #A89984;"><i>“Man is said to be a reasoning animal. I do not know why he has not been defined as an affective or feeling animal. Perhaps that which differentiates him from other animals is feeling rather than reason. More often I have seen a cat reason than laugh or weep. Perhaps it weeps or laughs inwardly — but then perhaps, also inwardly, the crab resolves equations of the second degree.”</i></span><br>
<span style="float: right;"><b>― Miguel de Unamuno, Tragic Sense of Life</b></span><br><br> <span style="float: right;"><b>― Miguel de Unamuno, Tragic Sense of Life</b></span><br><br>
Email: <a href="mailto:andrew@andrewconl.in">andrew@andrewconl.in</a><br> Email: <a href="mailto:andrew@andrewconl.in">andrew@andrewconl.in</a><br>
Mastodon: <a rel="me" href="https://mastodon.scot/@andrwcnln">andrwcnln@mastodon.scot</a><br> Git forge: <a href="https://git.cnln.dev/explore/repos">git.cnln.dev</a><br>
GitHub: <a href="https://github.com/andrwcnln">@andrwcnln</a><br>
RSS: <a href="/feed.xml">/feed.xml</a><br> RSS: <a href="/feed.xml">/feed.xml</a><br>
<hr> <hr>

View file

@ -3,8 +3,9 @@ layout: default
title: meta title: meta
--- ---
<span style="font-size: x-large;"><a href="/">~</a> > <a href="">{{page.title}}</a><br></span> {% include pageTitle.html %}
<p>Both the Sans Serif and Monospace fonts used on this site are <a href="https://vercel.com/font">Geist, by Vercel</a>.</p> <p>Both the Sans Serif and Monospace fonts used on this site are <a href="https://vercel.com/font">Geist, by Vercel</a>.</p>
<p>Background colour is #000000, text colour is #E7D7AD, accent colour is #FABD2F.</p> <p>Background colour is #000000, text colour is #E7D7AD, accent colour is #FABD2F.</p>
<p>The site is built using Jekyll. Source is available <a href="https://git.andrewconl.in/andrew/site">here</a>.</p> <p>The site is built using Jekyll. Source is available <a href="https://git.andrewconl.in/andrew/site">here</a>.</p>
<p>The 88x31 buttons in the footer were sourced from <a href="https://cyber.dabamos.de/88x31/">here</a>.</p>
<hr> <hr>

View file

@ -2,8 +2,9 @@
layout: default layout: default
title: projects title: projects
--- ---
<span style="font-size: x-large;"><a href="/">~</a> > <a href="">{{page.title}}</a><br></span>
<ul style="list-style-type:none;margin:0;padding:0;"> {% include pageTitle.html %}
<ul style="list-style-type:none;margin:0;padding:0;font-size:16px;">
<p><span style="font-family:Geist Mono"><a href="https://pypi.org/project/tictoc">tictoc</a> / </span>Fast, simple and accurate Python timing. Written in Rust.</p> <p><span style="font-family:Geist Mono"><a href="https://pypi.org/project/tictoc">tictoc</a> / </span>Fast, simple and accurate Python timing. Written in Rust.</p>
<p><span style="font-family:Geist Mono"><a href="https://year-progress.cnln.dev">year-progress</a> / </span>A fun side project which gives the progress through the year, relative to other things.</p> <p><span style="font-family:Geist Mono"><a href="https://year-progress.cnln.dev">year-progress</a> / </span>A fun side project which gives the progress through the year, relative to other things.</p>
</ul> </ul>

View file

@ -3,15 +3,6 @@ layout: default
title: til title: til
backlink: false backlink: false
--- ---
<span style="font-size: x-large;"><a href="/">~</a> > <a href="">{{page.title}}</a><br></span>
<ul style="list-style-type:none;margin:0;padding:0;"> {% include pageTitle.html %}
{% for post in site.posts %} {% include categoryList.html %}
{% assign category = post.category %}
{% if category == 'til' %}
<li>
<p><span style="font-family: Geist Mono">{{ post.date | date: "%Y-%m-%d" }} / </span><a href="{{ post.url }}">{{ post.title }}</a></p>
</li>
{% endif %}
{% endfor %}
</ul>
<hr>