Somewhat improve CSS
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m53s

This commit is contained in:
Lewis Dale 2024-04-07 09:53:18 +01:00
parent 65a1c6f360
commit 15abe350df
5 changed files with 15 additions and 4 deletions

View File

@ -38,7 +38,7 @@
{% ogImage "./src/_includes/components/ogImage.njk", { title: pageTitle or title, subTitle: description } %}
</head>
<body>
<header class="wrapper-xl row space-between">
<header class="wrapper-lg row space-between">
<a href="/" class="site-title">LD</a>
<nav>

View File

@ -6,7 +6,7 @@ pagination:
size: 5
reverse: true
---
<main class="wrapper-md stack-lg">
<main class="wrapper-lg stack-xl">
<h1>Blog posts</h1>
<aside class="inverse text-center">

View File

@ -18,7 +18,7 @@
}
---
<main class="wrapper-md stack-lg">
<main class="wrapper-lg stack-xl">
<h1>Posts tagged “{{ tag }}”</h1>
<aside class="text-center">

View File

@ -27,5 +27,5 @@
.wrapper-xl {
--wrapper-size: var(--screen-xl);
--wrapper-padding: var(--space-size-xl);
--wrapper-padding: var(--space-size-l);
}

View File

@ -164,6 +164,10 @@ header {
p {
line-height: 1.6;
max-width: 65ch;
&:has(> picture) {
max-width: 100%;
}
}
footer {
@ -189,3 +193,10 @@ blockquote {
padding-left: var(--space-size-2xs);
margin-left: var(--space-size-2xs);
}
img, picture {
max-width: 100%;
max-height: 30rem;
height: auto;
object-fit: cover;
}