MediaWiki:Gadget-ShowAvatar.css:修订间差异

MediaWiki系统消息页面
(Git更新:([https://github.com/TopRealm/InterfaceCodes/commit/57a9f70952283b753e37c3efcd1e50e9f26e78b0 57a9f70]) feat:add ShowAvatar (#147))
 
(Git更新:([https://github.com/TopRealm/InterfaceCodes/commit/005681d617f0377f520ee98aa359ab0489c52696 005681d]) Update ShowAvatar.css)
第17行: 第17行:
*/
*/
/* <nowiki> */
/* <nowiki> */
#p-personal li {
margin-top: 1em;
margin-bottom: 0.2em;
}

#pt-userpage {
#pt-userpage {
background: none !important;
background: none !important;
第28行: 第23行:


#pt-avatar {
#pt-avatar {
margin-top: 0.25em !important;
margin-top: 0em !important;
margin-bottom: 0 !important;
margin-bottom: 0 !important;
}
}
第40行: 第35行:
border-radius: 5px;
border-radius: 5px;
top: 8px;
top: 8px;
position: relative;
}
}



2023年9月20日 (三) 14:17的版本

/**
 * 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> */
#pt-userpage {
    background: none !important;
    padding-left: 0 !important;
}

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

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

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

.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> */