mediawiki-extensions-Echo/modules/styles/mw.echo.ui.DatedSubGroupListWidget.less
Moriel Schottlender ebbe2e81af Make date headings a proper semantic <h2> heading
To support accessibility, make sure the titles in Special:Notifications
are <h2> headings.

Bug: T149955
Change-Id: I4f15694efb04896e9bd7b026d297891047759644
2017-04-13 22:39:28 +00:00

43 lines
834 B
Plaintext

@import '../echo.variables';
.mw-echo-ui-datedSubGroupListWidget {
.mw-body-content &-title {
// Since the title is <h2> we want to specifically
// change the styling to bring it back to mimic a
// content span. We also must override the h2 rules
// so specificity is important
font-weight: inherit;
font-size: inherit;
font-family: inherit;
border: 0;
&-primary {
font-size: 1.5em;
margin-right: 0.5em;
display: inline-block;
&:first-letter {
text-transform: uppercase;
}
}
&-secondary {
font-size: 1.5em;
color: @grey-light;
}
}
@media all and ( max-width: ( @specialpage-hd-width - 1 ) ) {
.mw-echo-ui-subGroupListWidget-header-row-markAllReadButton {
font-size: 0.8em;
}
&-title-primary {
font-size: 1.2em;
}
&-title-secondary {
display: none;
}
}
}