Skip to content

Commit 0b5689a

Browse files
committed
Update Web APIs documentation
1 parent c71b811 commit 0b5689a

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

assets/stylesheets/global/_classes.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@
133133
border-color: var(--noteRedBorder);
134134
}
135135

136+
%note-gray, %label-gray {
137+
background: var(--boxBackground);
138+
border: 1px solid var(--boxBorder);
139+
}
140+
136141
//
137142
// External links
138143
//

assets/stylesheets/pages/_mdn.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,18 @@
2828

2929
p > code, li > code { @extend %label; }
3030

31-
details { @extend %box; }
31+
details { @extend %note; @extend %box; }
32+
details.baseline-indicator.not { @extend %note; @extend %note-gray; }
33+
details.baseline-indicator.low { @extend %note; @extend %note-blue; }
34+
details.baseline-indicator.high { @extend %note; @extend %note-green; }
3235
summary > div { display: inline; }
36+
summary .status-title { font-weight: bold; }
3337

3438
> .note,
3539
.notecard, // MDN 2021
36-
.notice,
40+
.notice {
41+
@extend %note; @extend %note-blue;
42+
}
3743
.warning,
3844
.overheadIndicator,
3945
.blockIndicator,

lib/docs/scrapers/mdn/dom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Docs
22
class Dom < Mdn
3-
# release = '2025-01-30'
3+
# release = '2025-06-01'
44
self.name = 'Web APIs'
55
self.slug = 'dom'
66
self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/API'

0 commit comments

Comments
 (0)