Template:Status: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<includeonly><div style="display:flex; border:1px solid {{#switch:{{{type}}}
<includeonly><div style="display:flex; border:1px solid {{#switch:{{{type}}}
| active  = rgb(159, 206, 59, .3)
| active  = rgb(159, 206, 59, .3)
| away    = rgb(235, 185, 23, .3)
| away    = rgb(235, 132, 23, .3)
| hyper    = rgb(58, 155, 240, .3)
| hyper    = rgb(58, 155, 240, .3)
| #default = rgb(207, 207, 207, 0.3)
| #default = rgb(207, 207, 207, .3)
}}; border-radius: .5em; overflow:hidden; margin-block:.5em;">
}}; border-radius: .5em; overflow:hidden; margin-block:.5em;">


<p style="background:{{#switch:{{{type}}}
<p style="background:{{#switch:{{{type}}}
| active  = rgb(159, 206, 59, .3)
| active  = rgb(159, 206, 59, .3)
| away    = rgb(235, 185, 23, .3)
| away    = rgb(235, 132, 23, .3)
| hyper    = rgb(58, 155, 240, .3)
| hyper    = rgb(58, 155, 240, .3)
| #default = rgb(207, 207, 207, 0.3)
| #default = rgb(207, 207, 207, .3)
}}; flex-basis:3em; align-items:center; display:inline-flex; margin:0; padding:.3em; justify-content:center; font-weight:bold;">
}}; flex-basis:3em; align-items:center; display:inline-flex; margin:0; padding:.3em; justify-content:center; font-weight:bold;">
{{#switch:{{{type}}}
{{#switch:{{{type}}}
Line 22: Line 22:
<p style="background:{{#switch:{{{type}}}
<p style="background:{{#switch:{{{type}}}
| active  = rgb(159, 206, 59, .1)
| active  = rgb(159, 206, 59, .1)
| away    = rgb(235, 185, 23, .1)
| away    = rgb(235, 132, 23, 0.1)
| hyper    = rgb(58, 155, 240, .1)
| hyper    = rgb(58, 155, 240, .1)
| #default = rgb(207,207,207, .1)  
| #default = rgb(207, 207, 207, .1)  
}};
}};



Revision as of 07:39, 28 March 2023