2020-01-09 22:11:00 +00:00
|
|
|
@import '../../variables.less';
|
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
2014-08-07 11:38:34 +00:00
|
|
|
/* Personal */
|
|
|
|
#p-personal {
|
|
|
|
position: absolute;
|
|
|
|
top: 0.33em;
|
|
|
|
right: 0.75em;
|
2020-04-02 16:50:46 +00:00
|
|
|
z-index: @z-index-personal;
|
2014-08-07 11:38:34 +00:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2018-10-16 02:13:07 +00:00
|
|
|
list-style: none none;
|
2014-08-07 11:38:34 +00:00
|
|
|
margin: 0;
|
|
|
|
padding-left: 10em; /* Keep from overlapping logo */
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
margin-left: 0.75em;
|
2018-10-15 23:19:45 +00:00
|
|
|
// `padding-top` instead of `margin-top` necessary for
|
|
|
|
// anonymous user icon position below
|
|
|
|
padding-top: 0.5em;
|
2019-09-29 20:21:41 +00:00
|
|
|
font-size: @font-size-nav-personal;
|
|
|
|
line-height: @line-height-nav-personal;
|
2014-08-07 11:38:34 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-15 23:19:45 +00:00
|
|
|
/* Icon for registered user names & anonymous message */
|
|
|
|
#pt-anonuserpage,
|
|
|
|
#pt-userpage a {
|
2018-10-09 19:29:58 +00:00
|
|
|
// SVG support using a transparent gradient to guarantee cross-browser
|
|
|
|
// compatibility (browsers able to understand gradient syntax support also SVG)
|
|
|
|
.background-image-svg( 'images/user-avatar.svg', 'images/user-avatar.png' );
|
2019-09-29 20:21:41 +00:00
|
|
|
background-position: @background-position-nav-personal-icon;
|
2014-08-07 11:38:34 +00:00
|
|
|
background-repeat: no-repeat;
|
2019-09-29 20:21:41 +00:00
|
|
|
background-size: @background-size-nav-personal-icon @background-size-nav-personal-icon;
|
2018-10-15 23:19:45 +00:00
|
|
|
// Same as `#p-personal li` above
|
|
|
|
padding-top: 0.5em !important; // stylelint-disable-line declaration-no-important
|
2018-10-09 19:29:58 +00:00
|
|
|
padding-left: 16px !important; // stylelint-disable-line declaration-no-important
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
2015-12-09 19:20:01 +00:00
|
|
|
|
2018-10-15 23:19:45 +00:00
|
|
|
#pt-userpage {
|
|
|
|
padding-top: 0 !important; // stylelint-disable-line declaration-no-important
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Show anonymous "Not logged in" text in gray */
|
2015-12-09 19:20:01 +00:00
|
|
|
#pt-anonuserpage {
|
2018-10-09 20:43:10 +00:00
|
|
|
color: #54595d;
|
2015-12-09 19:20:01 +00:00
|
|
|
}
|