Template:User header: Difference between revisions
(Create header template) |
m (Tweak defaults to account for new Vector dimensionsw) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="width:100%; text-align:center;"> | <div style="width:100%; text-align:center;"> | ||
<div style="width:100%; max-width: | <div style="width:100%; max-width: 1000px; text-align:center; direction:left; position:relative; display:inline-block; overflow: hidden; border-radius: 15px;"> | ||
<div style="height: | <div style="height: 300px; position: relative; width: 1000px; border-radius: 15px;; left:0.5%; display:inline-block; overflow: hidden;"> | ||
<div style="position:relative; top:- | <div style="position:relative; top:{{{top|-60}}}px">[[{{{cover|File:Royal Albert Bridge.jpg}}}|1000px]]</div> | ||
<div style="position: absolute; top: 10px; left: 40px;"> | <div style="position: absolute; top: 10px; left: 40px;"> | ||
<div style="color: white; font-size: 4em; line-height:1.3em; font-family: 'neo-sans',sans-serif; text-align:left"> | <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> | <div>{{{username}}}</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>]] | ||
</div> | </div> | ||
</div> | </div> | ||
<div style="position: absolute; bottom: 30px; right: 30px; padding: 0.4em; background-color: rgba(220, 240, 255, 0.8);-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);">[[{{{profile}}}|120px]]</div> | <div style="position: absolute; bottom: 30px; right: 30px; padding: 0.4em; background-color: rgba(220, 240, 255, 0.8);-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);">[[{{{profile|File:On Our Lines.svg}}}|120px]]</div> | ||
</div> | </div> | ||
</div><noinclude> | </div><noinclude> | ||
[[Category:Userpage templates]]</noinclude> | [[Category:Userpage templates]]</noinclude> |