Skip to content

Commit 2ae4c90

Browse files
committed
Update CSS documentation
1 parent c34b5ac commit 2ae4c90

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

assets/stylesheets/components/_page.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@
88

99
&._page-error { position: static; }
1010

11-
> h1, > section > h1 { @extend ._lined-heading; }
12-
> h1:first-child, > section:first-of-type > h1 { margin-top: 0; }
11+
> h1,
12+
> header > h1,
13+
> section > h1 {
14+
@extend ._lined-heading;
15+
}
16+
> h1:first-child,
17+
> header:first-of-type > h1,
18+
> section:first-of-type > h1 {
19+
margin-top: 0;
20+
}
1321

1422
a[href^="http:"], a[href^="https:"] { @extend %external-link; }
1523

lib/docs/scrapers/mdn/css.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Docs
22
class Css < Mdn
3-
# release = '2023-04-24'
3+
# release = '2023-10-24'
44
self.name = 'CSS'
55
self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/CSS'
66
self.root_path = '/Reference'

0 commit comments

Comments
 (0)