MediaWiki:Gadget-avatar.css:修订间差异
创建页面,内容为“#pt-avatar { padding-right: 10px; } #pt-avatar img { width: 28px; border-radius: 50%; } 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; }” |
无编辑摘要 |
||
(未显示2个用户的19个中间版本) | |||
第5行: | 第5行: | ||
width: 28px; | width: 28px; | ||
border-radius: 50%; | border-radius: 50%; | ||
} | |||
#pt-avatar a { | |||
margin: 0px -13px 0 -2px; | |||
} | } | ||
body.skin-vector-legacy #pt-avatar { | body.skin-vector-legacy #pt-avatar { | ||
第16行: | 第19行: | ||
border-radius: 15%; | border-radius: 15%; | ||
margin-top: -0.2em; | 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; | |||
} | } |
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;
}