mediawiki-extensions-Echo/modules/styles/mw.echo.ui.DatedSubGroupListWidget.less
Volker E c2dba98a9d build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass
Change-Id: I2789e3b93d1fc5743ea94b946fcd3e3ba8798e5e
2019-01-09 18:42:06 -08:00

44 lines
835 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;
}
}
}