Template:User header: Difference between revisions
m (tweak for default issues - this should work for *most* individual pages already in place) |
(variable for top text colour (default is *broken*, maintaining backwards compatibility with existing template users)) |
||
Line 4: | Line 4: | ||
<div style="position:relative; top:{{{top|-325}}}px">[[{{{cover|File:Royal Albert Bridge.jpg}}}|2000px]]</div> | <div style="position:relative; top:{{{top|-325}}}px">[[{{{cover|File:Royal Albert Bridge.jpg}}}|2000px]]</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"> | ||
<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> |