Template:User page/sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


  - Cover -
  - Cover -
-->
-->
{{#if:{{{frame|}}}|<div style="background:{{#switch:{{{theme|}}}| dark = #0a0a0a | #default = #1f1f1f }}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:1em; display:flow-root; padding:{{{padding|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; ">|}}
{{#if:{{{frame|}}}|<div style="background:{{#switch:{{{theme|}}}| dark = #0a0a0a | #default = #1f1f1f }}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:1em; display:flow-root; padding:{{{padding|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; ">|}}
Line 18: Line 19:


<div style="display:flex; align-items:center; position:relative; z-index:3; padding: 0 clamp(8px, 2vw, 30px); margin-top:-64px; margin-bottom:20px">
<div style="display:flex; align-items:center; position:relative; z-index:3; padding: 0 clamp(8px, 2vw, 30px); margin-top:-64px; margin-bottom:20px">
{{#if:{{{frame|}}}|<div style="background:{{#switch:{{{theme|}}}| dark = #0a0a0a | #default = #1f1f1f }}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:1em; display:flow-root; padding:{{{padding|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; ">|}}
<!--
<!--


Line 24: Line 26:
-->
-->
<div style="display:flex; justify-content:center; align-items:center; min-width: 128px; width:128px; height:128px; background-color: {{#switch:{{{theme}}}
<div style="display:flex; justify-content:center; align-items:center; min-width: 128px; width:128px; height:128px; background-color: {{#switch:{{{theme}}}
| dark    = #212121
| dark    = #212121
| #default = #525252
| #default = #525252
Line 36: Line 39:
|<div style="width:224px; height:224px; transform:scale(.7); display:flex; align-items:center; justify-content:center; overflow:hidden; user-select:none; position:absolute">[[File:UserAvatarFrame{{#switch:{{{event|}}}|xmas=XMAS|}}-{{PAGENAME}}.png|{{Settings|user={{PAGENAME}}|avatar frame size|ifempty=}}|link=]]</div>|}}
|<div style="width:224px; height:224px; transform:scale(.7); display:flex; align-items:center; justify-content:center; overflow:hidden; user-select:none; position:absolute">[[File:UserAvatarFrame{{#switch:{{{event|}}}|xmas=XMAS|}}-{{PAGENAME}}.png|{{Settings|user={{PAGENAME}}|avatar frame size|ifempty=}}|link=]]</div>|}}
</div>
</div>
{{#if:{{{frame|}}}|</div>|}}
<!--
<!--



Revision as of 15:42, 26 March 2024


Add a cover (PNG or JPG)


Add an avatar (PNG or JPG)
User page/sandbox
User SandboxUser Settings