Template:Userpage:修订间差异

StellralMist留言 | 贡献
创建页面,内容为“<noinclude> {{Documentation}} </noinclude> <includeonly> <div class="userpage-header" style="position: relative; width: 100%; background: linear-gradient(135deg, #ffcfe3 0%, #a6c1ee 100%); border-radius: 15px; padding: 25px; margin-bottom: 30px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); overflow: hidden; font-family: 'Comic Sans MS', 'Microsoft YaHei', sans-serif;"> <!-- 装饰元素 --> <div style="position: absolute; top: -25px; right: -25px; font-siz…”
 
StellralMist留言 | 贡献
无编辑摘要
 
(未显示同一用户的3个中间版本)
第32行: 第32行:
             </div>
             </div>
              
              
             <!-- 右侧头像区域 -->
             <!-- 右侧头像区域 - 使用标准的File语法 -->
             <div style="text-align: center; margin-left: 20px;">
             <div style="text-align: center; margin-left: 20px;">
                 {{#if:{{{用户头像|}}}
                 {{#if:{{{用户头像|}}}
                     |<img src="{{{用户头像}}}" style="width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.2);" alt="用户头像" />
                     |<div style="width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.2); overflow: hidden; display: flex; align-items: center; justify-content: center;">
                        [[File:{{{用户头像}}}|120x120px|class=user-avatar]]
                      </div>
                     |<div style="width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); font-size: 40px; color: #ccc;">?</div>
                     |<div style="width: 120px; height: 120px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); font-size: 40px; color: #ccc;">?</div>
                 }}
                 }}
第54行: 第56行:
     <div style="display: flex; justify-content: center; margin-top: 25px; border-top: 1px solid rgba(255,255,255,0.5); padding-top: 15px;">
     <div style="display: flex; justify-content: center; margin-top: 25px; border-top: 1px solid rgba(255,255,255,0.5); padding-top: 15px;">
         <div style="display: flex; gap: 20px; flex-wrap: wrap;">
         <div style="display: flex; gap: 20px; flex-wrap: wrap;">
             <a href="{{fullurl:User:{{PAGENAME}}}}" style="color: #ff4a8d; text-decoration: none; font-weight: bold;">主页</a>
             [[User:{{PAGENAME}}|<span style="color: #ff4a8d; text-decoration: none; font-weight: bold;">主页</span>]]
             <a href="{{fullurl:User talk:{{PAGENAME}}}}" style="color: #5c6bc0; text-decoration: none; font-weight: bold;">讨论页</a>
             [[User talk:{{PAGENAME}}|<span style="color: #5c6bc0; text-decoration: none; font-weight: bold;">讨论页</span>]]
             <a href="{{fullurl:Special:Contributions/{{PAGENAME}}}}" style="color: #26a69a; text-decoration: none; font-weight: bold;">贡献</a>
             [[Special:Contributions/{{PAGENAME}}|<span style="color: #26a69a; text-decoration: none; font-weight: bold;">贡献</span>]]
             <a href="{{fullurl:Special:Watchlist}}" style="color: #ffa726; text-decoration: none; font-weight: bold;">监视列表</a>
             [[Special:Watchlist|<span style="color: #ffa726; text-decoration: none; font-weight: bold;">监视列表</span>]]
         </div>
         </div>
     </div>
     </div>
</div>
</div>


<!-- 添加一些交互效果 -->
<style>
.userpage-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
</style>
</includeonly>
</includeonly>