MediaWiki:Gadget-avatar.css:修订间差异
标签:撤销 已被回退 |
无编辑摘要 |
||
(未显示同一用户的8个中间版本) | |||
第22行: | 第22行: | ||
/* | /* 去掉新vector在移动版页面时的多余小人标志 */ | ||
@media | @media (max-width: 718px){ | ||
#vector-user-links-dropdown-label > span.vector-icon.mw-ui-icon-userAvatar.mw-ui-icon-wikimedia-userAvatar{ | #vector-user-links-dropdown-label > span.vector-icon.mw-ui-icon-userAvatar.mw-ui-icon-wikimedia-userAvatar{ | ||
background-image: unset !important; | background-image: unset !important; | ||
第30行: | 第30行: | ||
} | } | ||
.vector-user-links-main{ | .vector-user-links-main{ | ||
margin-right: | margin-right: 0.5em; | ||
} | } | ||
.vector-user-menu-logged-in .vector-dropdown-label::after { | |||
width: 1em !important; | |||
margin: 0 2px 0 -5px !important; | |||
} | |||
#vector-user-links-dropdown-label{ | |||
min-width: unset !important; | |||
border: unset !important; | |||
padding: 0 2px 0 2px !important; | |||
} | |||
.vector-header-container .mw-header, .vector-header-container .vector-sticky-header { | |||
min-width: unset !important; | |||
} | |||
.mw-logo { | |||
min-width: unset !important; | |||
} | |||
} | |||
/* 去掉旧vector的多余小人标志 */ | |||
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-tmpuserpage, .vector-user-menu-legacy #pt-userpage a { | |||
background-image: unset !important; | |||
padding-left: unset !important; | |||
} | } |
2024年11月4日 (一) 21:53的最新版本
#pt-avatar {
padding-right: 10px;
}
#pt-avatar img {
width: 28px;
border-radius: 50%;
}
#pt-avatar a {
margin: 0px -13px 0 -2px;
}
body.skin-vector-legacy #pt-avatar {
padding-top: 0px;
align-self: flex-start;
}
img.userlink-avatar {
margin-left: 0.2em;
margin-right: 0.2em;
width: 1.5em;
border-radius: 15%;
margin-top: -0.2em;
}
/* 去掉新vector在移动版页面时的多余小人标志 */
@media (max-width: 718px){
#vector-user-links-dropdown-label > span.vector-icon.mw-ui-icon-userAvatar.mw-ui-icon-wikimedia-userAvatar{
background-image: unset !important;
min-width: unset !important;
width: unset !important;
}
.vector-user-links-main{
margin-right: 0.5em;
}
.vector-user-menu-logged-in .vector-dropdown-label::after {
width: 1em !important;
margin: 0 2px 0 -5px !important;
}
#vector-user-links-dropdown-label{
min-width: unset !important;
border: unset !important;
padding: 0 2px 0 2px !important;
}
.vector-header-container .mw-header, .vector-header-container .vector-sticky-header {
min-width: unset !important;
}
.mw-logo {
min-width: unset !important;
}
}
/* 去掉旧vector的多余小人标志 */
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-tmpuserpage, .vector-user-menu-legacy #pt-userpage a {
background-image: unset !important;
padding-left: unset !important;
}