Remove wrapper-lg from mains
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m31s

This commit is contained in:
Lewis Dale 2024-10-11 11:50:29 +01:00
parent b0e9634302
commit 14f0c09490
6 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<main class="wrapper-lg stack-xl"> <main class="stack-xl">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<aside class="inverse text-center"> <aside class="inverse text-center">

View File

@ -2,7 +2,7 @@
layout: "base.njk" layout: "base.njk"
--- ---
<main class="wrapper-lg events"> <main class="events">
<article class="stack-lg"> <article class="stack-lg">
<h1 class="text-center">{{ title }}</h1> <h1 class="text-center">{{ title }}</h1>
<div class="stack-lg"> <div class="stack-lg">

View File

@ -3,7 +3,7 @@ layout: base.njk
includeFA: true includeFA: true
--- ---
<main class="wrapper-lg stack-lg"> <main class="stack-lg">
<h1 class="text-center">{{ title }}</h1> <h1 class="text-center">{{ title }}</h1>
<div class="wrapper-md stack-lg"> <div class="wrapper-md stack-lg">
{{ content | safe }} {{ content | safe }}

View File

@ -2,7 +2,7 @@
title: Blogroll title: Blogroll
layout: base.njk layout: base.njk
--- ---
<main class="wrapper-lg stack-lg"> <main class="stack-lg">
<article> <article>
<h1 class="text-center">{{ title }}</h1> <h1 class="text-center">{{ title }}</h1>
<div class="stack-lg"> <div class="stack-lg">

View File

@ -2,7 +2,7 @@
background-color: var(--color-callout-bg); background-color: var(--color-callout-bg);
border: 2px solid var(--color-callout-border); border: 2px solid var(--color-callout-border);
/* border-radius: 10px; */ /* border-radius: 10px; */
color: var(--color-primary); color: var(--color-callout-text, var(--color-primary));
height: fit-content; height: fit-content;
padding: var(--space-size-2xs); padding: var(--space-size-2xs);
text-align: center; text-align: center;
@ -39,4 +39,10 @@
margin: 0; margin: 0;
} }
} }
&[data-callout="warning"] {
--color-callout-bg: light-dark(var(--color-amber-400), var(--color-amber-800));
--color-callout-border: light-dark(var(--color-amber-600), var(--color-amber-600));
--color-callout-text: light-dark(var(--color-neutral-900), var(--color-neutral-200));
}
} }

View File

@ -2,7 +2,7 @@
title: Saved links title: Saved links
layout: base.njk layout: base.njk
--- ---
<main class="wrapper-lg stack-lg"> <main class="stack-lg">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<p> <p>