mediawiki-skins-Vector/resources/common/components/UserLinks.less

24 lines
602 B
Plaintext
Raw Normal View History

// Common styles for the UserLinks component.
@import '../variables.less';
@import 'mediawiki.mixins.less';
/* Personal Menu */
#p-personal .vector-menu-content-list {
display: flex;
flex-wrap: wrap;
flex-grow: 1;
justify-content: flex-end;
align-items: baseline;
}
/* Icon for registered user names & anonymous message */
#pt-anonuserpage,
.vector-user-menu-legacy #pt-userpage a {
background-image: url( images/user-avatar.svg );
background-repeat: no-repeat;
background-size: @background-size-nav-personal-icon @background-size-nav-personal-icon;
padding-top: 0;
padding-left: 1.5em;
}