mediawiki-skins-Citizen/resources/skins.citizen.styles/skinning/interface-subtitle.less
alistair3149 90862b193e
feat(tokens): deprecate old line height variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:33:46 -04:00

41 lines
729 B
Plaintext

/*
* Citizen
*
* Module: mediawiki.skinning.interface-subtitle
* Version: REL1_39
*
* Date: 2023-06-06
*/
#siteSub,
#contentSub,
#contentSub2 {
overflow: hidden;
font-size: var( --font-size-x-small );
line-height: var( --line-height-xxx-small );
color: var( --color-subtle );
text-overflow: ellipsis;
}
// #contentSub can be empty
#contentSub:not( :empty ),
#contentSub2 {
margin-bottom: var( --space-md );
}
// Reduced spacing if both sub1 and 2 exists
#contentSub + #contentSub2 {
margin-top: ~'calc( var( --space-xs ) * -1 )';
}
#citizen-tagline-user > span + span::before {
margin: 0 var( --space-xxs );
content: '·';
-webkit-user-select: none;
user-select: none;
}
span.subpages {
display: block;
}