“MediaWiki:Gadget-UserLinkAvatar.css”的版本间的差异

来自萌娘共享
跳转至: 导航搜索
1个标签由机器人或全自动脚本执行的操作
1个标签由机器人或全自动脚本执行的操作
 
第4行: 第4行:
 
  * -------------------------------------------------------------------------
 
  * -------------------------------------------------------------------------
 
  */
 
  */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.css|user=[[U:AnnAngela]]|co-authors=|longId=207bf48457c5da0079b42f6593083c93995b4b07|shortId=207bf48|summary=chore: Add previously-untracked files}}'; }  
+
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.css|user=[[U:AnnAngela]]|co-authors=|longId=207bf48457c5da0079b42f6593083c93995b4b07|shortId=207bf484|summary=chore: Add previously-untracked files}}'; }  
  
 
/* <pre> */
 
/* <pre> */

2024年4月16日 (二) 08:55的最新版本

/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.css|user=[[U:AnnAngela]]|co-authors=|longId=207bf48457c5da0079b42f6593083c93995b4b07|shortId=207bf484|summary=chore: Add previously-untracked files}}'; } 

/* <pre> */

img.userlink-avatar-small{
    margin-left:0.2em;
    margin-right:0.2em;
    width:1.5em;
    border-radius:15%;
    margin-top:-0.2em;
}

.userlink-avatar-large{
    display:none;
    position:absolute;
    top:1em;
    left:1em;
    padding:1.5em;
    border:solid #A7D7F9 1px;
    border-radius:3px;
    background-color:white;
}

.userlink-avatar-large img{
    min-width:128px;
}

.userlink-avatar-hover,
.userlink-avatar-hover .userlink-avatar-small{
    position:relative;
    cursor:pointer;
}

.userlink-avatar-hover:hover .userlink-avatar-large{
    display:block;
    z-index:91;
} 

/* </pre> */