Merge pull request 'fix: Deduplicate .example h2 / .section h2 CSS (#310)' (#591) from fix/issue-310 into main

This commit is contained in:
johba 2026-03-23 09:44:04 +01:00
commit cd1524013d

View file

@ -127,7 +127,8 @@
margin-bottom: 3rem; margin-bottom: 3rem;
} }
.section h2 { .section h2,
.example h2 {
font-size: 0.75rem; font-size: 0.75rem;
font-weight: 600; font-weight: 600;
letter-spacing: 0.2em; letter-spacing: 0.2em;
@ -356,17 +357,6 @@
background: var(--surface); background: var(--surface);
} }
.example h2 {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent-dim);
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border);
}
.example img { .example img {
width: 100%; width: 100%;
border: 1px solid var(--border); border: 1px solid var(--border);