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
8 8
9 &._page-error { position: static; }9 &._page-error { position: static; }
10 10
11 > h1, > section > h1 { @extend ._lined-heading; }11 > h1,
12 > h1:first-child, > section:first-of-type > h1 { margin-top: 0; }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 }
13 21
14 a[href^="http:"], a[href^="https:"] { @extend %external-link; }22 a[href^="http:"], a[href^="https:"] { @extend %external-link; }
15 23
lib/docs/scrapers/mdn/css.rb+1−1
@@ -1,6 +1,6 @@
1module Docs1module Docs
2 class Css < Mdn2 class Css < Mdn
3 # release = '2023-04-24'3 # release = '2023-10-24'
4 self.name = 'CSS'4 self.name = 'CSS'
5 self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/CSS'5 self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/CSS'
6 self.root_path = '/Reference'6 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