Undo nav changes, increase paragraph text size
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m5s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m5s
This commit is contained in:
parent
435800af35
commit
2a900ce835
@ -41,23 +41,21 @@
|
||||
{% ogImage "./src/_includes/components/ogImage.njk", { title: pageTitle or title, subTitle: description } %}
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<header class="wrapper-lg row space-between">
|
||||
<a href="/" class="site-title">LD</a>
|
||||
<div class="nav-container wrapper-lg row space-between w-full">
|
||||
<nav>
|
||||
<ul class="row" role='list'>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/blogroll">Blogroll</a></li>
|
||||
<li><a href="/events/2024">Events</a></li>
|
||||
<li><a href="/links">Links</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav>
|
||||
<ul class="row" role='list'>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/blogroll">Blogroll</a></li>
|
||||
<li><a href="/events/2024">Events</a></li>
|
||||
<li><a href="/links">Links</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<a href="/feed/" class="rss" aria-label="RSS feed">
|
||||
<i class="fa-solid fa-rss"></i>
|
||||
</a>
|
||||
</div>
|
||||
<a href="/feed/" class="rss" aria-label="RSS feed">
|
||||
<i class="fa-solid fa-rss"></i>
|
||||
</a>
|
||||
<fieldset class="color-scheme">
|
||||
<legend>Change your colour scheme</legend>
|
||||
<label>
|
||||
|
@ -22,7 +22,7 @@ eleventyImport:
|
||||
<li class="stack-xs">
|
||||
<h2><a href="{{ item.url }}">{{ item.data.title | safe }}</a></h2>
|
||||
<time class="block" datetime="{{ item.date | dateToRfc3339 }}">{{ item.date | dateDisplay }}</time>
|
||||
<div class="e-content p-summary">{{ item.content | excerpt }}</div>
|
||||
<p class="e-content p-summary">{{ item.content | excerpt }}</p>
|
||||
<a href="{{ item.url }}" class="inline-block">Read more</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
@ -4,6 +4,9 @@
|
||||
border-radius: 10px;
|
||||
color: var(--color-primary);
|
||||
height: fit-content;
|
||||
max-width: 60ch;
|
||||
padding: var(--space-size-xs);
|
||||
text-align: center;
|
||||
p {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
@ -4,9 +4,7 @@
|
||||
padding: 0;
|
||||
display: flex;
|
||||
gap: var(--space-size-xs);
|
||||
/* grid-column: auto/span 2; */
|
||||
justify-content: end;
|
||||
width: 100%;
|
||||
justify-content: flex-end;
|
||||
|
||||
legend {
|
||||
position:absolute;
|
||||
|
@ -29,7 +29,7 @@
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
p {
|
||||
/* p {
|
||||
max-width: 50ch;
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
.nav-container {
|
||||
--grid-item-size: clamp(30rem, 70vw, var(--screen-lg));
|
||||
grid-column: auto / span 4;
|
||||
}
|
@ -153,18 +153,15 @@ nav {
|
||||
}
|
||||
|
||||
header {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-size, clamp(2rem, 10vw, 10rem)), 1fr));
|
||||
grid-gap: 10px;
|
||||
padding: var(--space-size-m);
|
||||
place-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
padding-top: var(--space-size-s);
|
||||
padding-bottom: var(--space-size-s);
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.6;
|
||||
max-width: 65ch;
|
||||
max-width: 70ch;
|
||||
text-wrap: balance;
|
||||
|
||||
&:has(> picture) {
|
||||
max-width: 100%;
|
||||
|
@ -15,12 +15,10 @@ layout: base.njk
|
||||
</p>
|
||||
</aside>
|
||||
|
||||
{% image metadata.author.avatar, "My face", "box circle u-photo", "300px", [300] %}
|
||||
|
||||
<p class="inline-block max-w-[45ch] p-note">
|
||||
I'm a software engineer who loves building things for the web. I consider myself a generalist, but on a given day I'll probably be working with Typescript, HTML and CSS, and on occasion a touch of .NET. I work for <a href="https://triptease.com" target="_blank" rel="noreferrer" class="p-org">Triptease</a> as a Senior Software Engineer, and on the side I'm learning Rust by building a <a href="/post/creating-a-sinclair-basic-interpreter/">Sinclair BASIC Interpreter</a>.
|
||||
</p>
|
||||
|
||||
{% image metadata.author.avatar, "My face", "box circle u-photo", "300px", [300] %}
|
||||
|
||||
<p class="p-note">
|
||||
When I'm not working I love cycling, reading fiction (mostly sci-fi and ghost stories), and spending time with my family & our border collie.
|
||||
|
Loading…
Reference in New Issue
Block a user