Template:User header: Difference between revisions
m (tweak for default issues - this should work for *most* individual pages already in place) |
m (Tweak defaults to account for new Vector dimensionsw) |
||
(2 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: 300px; position: relative; width: | <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> |