Template:User info: Difference between revisions

m
Make contact section slightly less cram
(Wikimedia colors from m:Brand)
m (Make contact section slightly less cram)
Line 27:
<div style="display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 1em;">
 
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px250px; margin-{{dir|2=left|3=right}}: 2em;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{#ifeq:{{{about|}}}||<translate><!--T:6-->
About me</translate>|{{{about|About me}}}}}</h2>
Line 33:
</div>
 
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px250px; margin-{{dir|2=left|3=right}}: 2em;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{#ifeq:{{{work|}}}||<translate><!--T:7-->
My work</translate>|{{{work|My work}}}}}</h2>
Line 42:
</div>
 
{{#if:{{{contact me|}}}|<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 140px160px; padding: 0 1em 1em 1em; background: #f4f4f4;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{#ifeq:{{{contact|}}}| |<translate><!--T:10-->
Contact me</translate>|{{{contact|Contact me}}}}}</h2>
Anonymous user