Template:User header: Difference between revisions
m (+adjustment parameter) |
m (Tweak defaults to account for new Vector dimensionsw) |
||
(5 intermediate revisions by the same user 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:{{{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>{{{username}}}</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> | ||
Line 10: | Line 10: | ||
</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> |