History

Update CSS documentation

Simon Legner committed 3 years ago

Commit 2ae4c901 parent c34b5ac2 files · +11 −3Browse files

Unified · Split

2 files
  1. assets/stylesheets/components/_page.scss +10 −2
  2. lib/docs/scrapers/mdn/css.rb +1 −1
assets/stylesheets/components/_page.scss+10−2
@@ -8,8 +8,16 @@ · 7 unmodified lines
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+1−1
@@ -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'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t