Template:User header: Difference between revisions
Appearance
m Tweak defaults to account for new Vector dimensionsw |
i really hope this doesnt break |
||
| Line 5: | Line 5: | ||
<div style="position: absolute; top: 10px; left: 40px;"> | <div style="position: absolute; top: 10px; left: 40px;"> | ||
<div style="color: {{{usercolor|white}}}; font-size: 4em; line-height:1.3em; font-family: 'neo-sans',sans-serif; text-align:left; text-shadow: 2px 2px 5px {{Greater colour contrast ratio|{{{usercolor|white}}}}};"> | <div style="color: {{{usercolor|white}}}; font-size: 4em; line-height:1.3em; font-family: 'neo-sans',sans-serif; text-align:left; text-shadow: 2px 2px 5px {{Greater colour contrast ratio|{{{usercolor|white}}}}};"> | ||
<div>{{{username}}}</div> | <div>{{#if: {{{username}}}|{{#if:{{{displayname}}}}}</div> | ||
<div style="margin-right:2.4em">{{{subhead|userpage}}}</div></div></div> | <div style="margin-right:2.4em">{{{subhead|userpage}}}</div></div></div> | ||
<div style="position: absolute; bottom: 15px; left: 30px; padding-right: 0.4em; background-color: rgba(200, 220, 255, 0.5); -moz-box-shadow: 0 0 7px rgb(200, 220, 255); -webkit-box-shadow: 0 0 7px rgb(200, 220, 255); box-shadow: 0 0 7px rgb(200, 220, 255);; padding: 1px 9px; color:#fff!important">[[User:{{{username}}}|<span style="color:#fff">userpage</span>]] • [[User talk:{{{username}}}|<span style="color:#fff">chat</span>]] • [[Special:Contributions/{{{username}}}|<span style="color:#fff">contributions</span>]] | <div style="position: absolute; bottom: 15px; left: 30px; padding-right: 0.4em; background-color: rgba(200, 220, 255, 0.5); -moz-box-shadow: 0 0 7px rgb(200, 220, 255); -webkit-box-shadow: 0 0 7px rgb(200, 220, 255); box-shadow: 0 0 7px rgb(200, 220, 255);; padding: 1px 9px; color:#fff!important">[[User:{{{username}}}|<span style="color:#fff">userpage</span>]] • [[User talk:{{{username}}}|<span style="color:#fff">chat</span>]] • [[Special:Contributions/{{{username}}}|<span style="color:#fff">contributions</span>]] | ||