A platform for community discussion. Free, open, simple.
$mobile-breakpoint: 700px;
.d-page-header,
.d-page-subheader {
&__title-row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: stretch;
margin-bottom: var(--space-2);
// Keyed on the title classes as well as the tags: a subheader nested under
// another heading picks its own level, and its styling must not depend on
// which level it picked.
h1,
h2,
.d-page-header__title,
.d-page-subheader__title {
margin: 0;
}
.d-page-subheader__title {
font-size: var(--font-up-2);
}
.d-page-header__actions,
.d-page-subheader__actions {
display: flex;
align-items: center;
justify-content: flex-end;
@media (max-width: $mobile-breakpoint) {
flex-direction: column;
}
button {
margin-left: var(--space-2);
@media (max-width: $mobile-breakpoint) {
width: 100%;
margin-bottom: var(--space-2);
margin-left: 0;
}
}
}
}
.d-nav-submenu {
background: transparent;
border-bottom: 1px solid var(--content-border-color);
.horizontal-overflow-nav {
background: transparent;
&::before {
display: none;
}
&::after {
display: none;
}
}
.nav-pills {
width: auto;
margin: 0;
}
}
}
.d-page-header {
&__title-row {
@media (max-width: $mobile-breakpoint) {
flex-direction: row;
align-items: center;
.d-page-header__actions {
button {
margin-bottom: 0;
}
}
}
}
&__drawer {
display: flex;
align-items: center;
margin-bottom: var(--space-2);
&:not(:has(*)) {
display: none;
}
}
}
.d-page-subheader {
&__title-row {
@media (max-width: $mobile-breakpoint) {
flex-direction: row;
align-items: center;
}
}
}
.d-page-action-list-item {
.btn-primary {
color: var(--primary);
}
}
.d-page-header__learn-more {
&::before {
content: "• ";
}
}