Add docs layout for patterns with stylesheet

This commit is contained in:
lindsaym-fa
2025-02-13 15:49:09 -05:00
parent 406d9a9708
commit 169337077d
3 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
{% extends '../_layouts/block.njk' %}
{% block head %}
<link href="{{ page.url }}../patterns.css" rel="stylesheet">
{% endblock %}

View File

@@ -0,0 +1,7 @@
.anchor-heading:has(+ wa-code-demo, + template + wa-code-demo) {
font-size: var(--wa-font-size-l);
}
wa-code-demo:has(+ .anchor-heading) {
margin-block-end: var(--wa-space-3xl);
}

View File

@@ -1,5 +1,5 @@
{
"layout": "block.njk",
"layout": "patterns.njk",
"tags": ["patterns"],
"wide": true,
"noAlpha": true