Somewhat improve CSS
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m53s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m53s
This commit is contained in:
parent
65a1c6f360
commit
15abe350df
@ -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>
|
||||
|
@ -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">
|
||||
|
@ -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">
|
||||
|
@ -27,5 +27,5 @@
|
||||
|
||||
.wrapper-xl {
|
||||
--wrapper-size: var(--screen-xl);
|
||||
--wrapper-padding: var(--space-size-xl);
|
||||
--wrapper-padding: var(--space-size-l);
|
||||
}
|
@ -164,6 +164,10 @@ header {
|
||||
p {
|
||||
line-height: 1.6;
|
||||
max-width: 65ch;
|
||||
|
||||
&:has(> picture) {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
@ -188,4 +192,11 @@ blockquote {
|
||||
border-left: 5px solid var(--color-accent);
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user