Skip to content

Commit f4d7cd7

Browse files
committed
header margins
1 parent 306e28f commit f4d7cd7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/css/doc.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ body {
7878
}
7979

8080
@media screen and (min-width: 769px) {
81-
.doc > .sect-header > h1.page:first-child {
82-
/* margin-top: 2.5rem; */
81+
.has-banner .doc > .sect-header > h1.page:first-child {
82+
margin-top: 2.5rem;
8383
}
8484
}
8585

src/css/docs-ndl.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
}
55

66
@media screen and (min-width: 1024px) {
7-
body:not(.landing) main > .content {
7+
body.docs-ndl:not(.explainer) main > .content {
88
margin-top: 0;
99
}
1010
}
1111

1212
@media screen and (min-width: 769px) {
13-
.doc > .sect-header > h1.page:first-child {
13+
body.docs-ndl .doc > .sect-header > h1.page:first-child {
1414
margin-top: 0;
1515
}
1616
}

0 commit comments

Comments
 (0)