Skip to content

Commit d4adecb

Browse files
committed
docs stylelint fixes
1 parent 2298f1a commit d4adecb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/assets/css/docusaurus.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
border-bottom: 1px solid #8eb8dc;
99
}
1010

11+
// stylelint-disable-next-line selector-not-notation
1112
.app-prose-scope .app-section--features p:not(.app-no-prose *) {
1213
margin-bottom: 0;
1314
}
@@ -22,7 +23,7 @@
2223
}
2324
}
2425

25-
/* Override prose-scope h2 size to govuk-heading-l for homepage sections. */
26+
// Override prose-scope h2 size to govuk-heading-l for homepage sections.
2627
@import "govuk-frontend/dist/govuk/base";
2728

2829
.govuk-template .app-prose-scope .app-section h2 {
@@ -34,18 +35,20 @@
3435
.govuk-template--rebranded .govuk-header,
3536
.govuk-template--rebranded .govuk-service-navigation.govuk-service-navigation--inverse,
3637
.govuk-template--rebranded .app-masthead {
38+
// stylelint-disable-next-line declaration-no-important
3739
background-color: #008531 !important;
3840
}
3941

4042
.govuk-template--rebranded .app-homepage .govuk-service-navigation--inverse .govuk-width-container {
43+
// stylelint-disable-next-line declaration-no-important
4144
border-color: #66b683 !important;
4245
}
4346

4447
.govuk-template__body.app-homepage .govuk-template__body-inner {
4548
background-color: #f4f8fb;
4649
}
4750

48-
.govuk-template__body.app-homepage #main-content {
51+
.govuk-template__body.app-homepage main {
4952
background-color: #ffffff;
5053
}
5154

0 commit comments

Comments
 (0)