MediaWiki:Gadget-ShowAvatar.css

MediaWiki系统消息页面
Github-bot留言 | 贡献2023年9月20日 (三) 14:04的版本 (Git更新:([https://github.com/TopRealm/InterfaceCodes/commit/57a9f70952283b753e37c3efcd1e50e9f26e78b0 57a9f70]) feat:add ShowAvatar (#147))
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/**
 * SPDX-License-Identifier: GPL-3.0
 * _addText: '{{Gadget Header|license=GPL-3.0}}'
 *
 * @source <https://github.com/TopRealm/InterfaceCodes/tree/master/src/Gadgets/Appearance/ShowAvatar.css>
 */
/**
 * +--------------------------------------------------------+
 * |         === WARNING: GLOBAL GADGET FILE ===            |
 * +--------------------------------------------------------+
 * |      All changes should be made in the repository,     |
 * |              otherwise they will be lost.              |
 * +--------------------------------------------------------+
 * |      Changes to this page may affect many users.       |
 * |  Please discuss changes at talk page before editing.   |
 * +--------------------------------------------------------+
 */
/* <nowiki> */
#p-personal li {
    margin-top: 1em;
    margin-bottom: 0.2em;
}

#pt-userpage {
    background: none !important;
    padding-left: 0 !important;
}

#pt-avatar {
    margin-top: 0.25em !important;
    margin-bottom: 0 !important;
}

#pt-avatar img {
    width: 2.5em;
    border-radius: 50%;
}

.skin-citizen #user-rootpage-avatar {
    border-radius: 5px;
    top: 8px;
    position: relative;
}

.skin-gongbi #user-rootpage-avatar {
    border-radius: 10px;
    padding: 4px;
}

/* 1.28+ Echo fix */
#p-personal #pt-notifications-alert,
#p-personal #pt-notifications-notice {
    margin-top: 0.8em;
}
/* </nowiki> */