Template:User header: Difference between revisions
m (add a shadow based on text colour) |
m (Tweak defaults to account for new Vector dimensionsw) |
||
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: {{{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}}}}};"> |