mediawiki-extensions-Discus.../modules/dt.debug.less
Hannah Okwelum 4403887e88 Prepare Less styles for math=parens-division
Bug: T368921
Change-Id: I4c6db2d39883d31cf4216da0e3d79136287bf960
2024-07-31 20:12:15 +01:00

68 lines
1 KiB
Plaintext

@import 'mediawiki.skin.variables.less';
.mw-dt-heading {
font-size: 110%;
font-weight: bold;
}
.mw-dt-comment {
border: 1px solid #ccc;
border-radius: 3px;
padding: 5px;
margin-top: 0.5em;
> summary {
padding-left: 0.25em;
&:focus {
outline: 0;
background: @background-color-progressive-subtle !important; /* stylelint-disable-line declaration-no-important */
}
}
> .mw-dt-comment {
margin-left: 1.5em;
}
&-body {
margin-left: 1.25em;
overflow: hidden;
}
> .mw-dt-comment[ data-level='1' ] {
margin-left: 0;
}
&-signature {
margin-left: (1.25em / 0.9);
font-size: 90%;
color: #666;
summary > & {
margin-left: (0.25em / 0.9);
}
}
&-author {
font-weight: bold;
}
[ data-level='1' ],
[ data-level='3' ],
[ data-level='5' ],
[ data-level='7' ],
[ data-level='9' ],
[ data-level='11' ] {
background: @background-color-interactive;
}
[ data-level='0' ],
[ data-level='2' ],
[ data-level='4' ],
[ data-level='6' ],
[ data-level='8' ],
[ data-level='10' ] {
background: @background-color-base;
}
}