Template:User header: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
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: 1600px; text-align:center; direction:left; position:relative; display:inline-block; overflow: hidden; border-radius: 15px;">
<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: 2000px; border-radius: 15px;; left:0.5%; display:inline-block; overflow: hidden;">
<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|-325}}}px">[[{{{cover|File:Royal Albert Bridge.jpg}}}|2000px]]</div>
<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}}}}};">

Latest revision as of 15:04, 2 November 2021

{{{username}}}
userpage
[[User:{{{username}}}|userpage]] • [[User talk:{{{username}}}|chat]] • [[Special:Contributions/{{{username}}}|contributions]]