Template:User page/sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
--> | --> | ||
{{#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:{{{radius frame|{{#switch:{{{style|}}}|1=6px|1em}}}}}; ; display:flow-root; padding:{{{padding|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; ">|}} | ||
<div style="display:flex; justify-content:center; align-items:center; height:256px; {{#if:{{{cover gradient|}}}|background-image:{{{cover gradient}}};|}} background-color:{{#switch:{{{theme}}} | <div style="display:flex; justify-content:center; align-items:center; height:256px; {{#if:{{{cover gradient|}}}|background-image:{{{cover gradient}}};|}} background-color:{{#switch:{{{theme}}} | ||
| dark = #181818 | | dark = #181818 | ||
Line 19: | 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: | {{#if:{{{frame|}}}|<div style="background:{{#switch:{{{theme|}}}| dark = #0a0a0a | #default = #1f1f1f }}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:{{{radius avatar|{{#switch:{{{style|}}}|1=6px|10em}}}}}; display:flow-root; padding:{{{padding|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; ">|}} | ||
<!-- | <!-- | ||