mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
🐛 only first of type should be styled
Only add margin/padding to the first of type for the divs listed. These classes are used heavily in the docs and we don’t want to touch anything else.
This commit is contained in:
@@ -20,11 +20,11 @@ hr:first-of-type {
|
||||
}
|
||||
|
||||
|
||||
.section,
|
||||
.spirit-nav,
|
||||
.copyright-footer,
|
||||
.chapter,
|
||||
.refentry,
|
||||
.book {
|
||||
div.section:first-of-type,
|
||||
div.spirit-nav:first-of-type,,
|
||||
div.copyright-footer:first-of-type,,
|
||||
div.chapter:first-of-type,,
|
||||
div.refentry:first-of-type,,
|
||||
div.book:first-of-type, {
|
||||
@apply max-w-7xl px-3 md:px-6 mx-auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user