From 2ae4c9085b8bc552c487b5f94d92a63e390cb5c3 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 24 Oct 2023 17:37:23 +0200 Subject: [PATCH] Update CSS documentation --- assets/stylesheets/components/_page.scss | 12 ++++++++++-- lib/docs/scrapers/mdn/css.rb | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/stylesheets/components/_page.scss b/assets/stylesheets/components/_page.scss index de02fffb..e3c735dc 100644 --- a/assets/stylesheets/components/_page.scss +++ b/assets/stylesheets/components/_page.scss @@ -8,8 +8,16 @@ &._page-error { position: static; } - > h1, > section > h1 { @extend ._lined-heading; } - > h1:first-child, > section:first-of-type > h1 { margin-top: 0; } + > h1, + > header > h1, + > section > h1 { + @extend ._lined-heading; + } + > h1:first-child, + > header:first-of-type > h1, + > section:first-of-type > h1 { + margin-top: 0; + } a[href^="http:"], a[href^="https:"] { @extend %external-link; } diff --git a/lib/docs/scrapers/mdn/css.rb b/lib/docs/scrapers/mdn/css.rb index 10ed8025..bc172ff4 100644 --- a/lib/docs/scrapers/mdn/css.rb +++ b/lib/docs/scrapers/mdn/css.rb @@ -1,6 +1,6 @@ module Docs class Css < Mdn - # release = '2023-04-24' + # release = '2023-10-24' self.name = 'CSS' self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/CSS' self.root_path = '/Reference'