User:THE OWL/Sandbox/Templates/Software docs island: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{switch:{{{1|}}} | island = <div style="display:flex; flex:auto; gap:.8em; min-width:320px; width:100%; background-color:rgb(41 41 42 / 99%); background-image:linear-gradien...")
 
(Undo revision 488275 by THE OWL (talk))
Tag: Undo
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{switch:{{{1|}}}
<includeonly><onlyinclude><div style="display:flex; gap:.8em; min-width:320px; box-sizing:border-box; background-color:rgb(41 41 42 / 99%); background-image:linear-gradient(35deg, rgba({{{color-glow|}}}), transparent); border:1px solid rgb(255 255 255 / 10%); border-radius:6px; position:relative; padding:1em">
 
<div style="display:inherit; justify-content:center; align-items:center; min-width:60px; min-height:60px; width:60px; height:60px; background-color:rgb({{{color|}}}); border-radius:4px; user-select:none"> <span style="z-index:15"> [[File:{{{icon|}}}|40px|link={{{link|}}}]] </span> </div>
| island = <div style="display:flex; flex:auto; gap:.8em; min-width:320px; width:100%; background-color:rgb(41 41 42 / 99%); background-image:linear-gradient(35deg, rgba({{{color-glow|}}}), transparent); border:1px solid rgb(255 255 255 / 10%); border-radius:6px; padding:1em">
<div style="display:inherit; flex-direction:column; justify-content:center"> <!--
<div style="display:inherit; justify-content:center; align-items:center; min-width:60px; min-height:60px; width:60px; height:60px; background-color:rgb({{{color|}}}); border-radius:4px; user-select:none"> [[File:{{{icon|}}}|40px|link={{{link|}}}]] </div>
--> <span> [[{{{link|}}}|<span style="font-weight:600; font-size:1.2em; color:rgb(255 255 255 / 80%); position:relative; z-index:15"> {{{title|}}} </span>]][[{{{link|}}}|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:10"></span>]] </span> <!--
<div style="display:inherit; flex-direction:column; justify-content:center"> <!--
--> <span style="font-weight:400; font-size:1.1em; color:rgb(255 255 255 / 47%); z-index:15"> {{{desc|}}} </span>
--> <span> [[{{{link|}}}|<span style="font-weight:600; font-size:1.2em; color:rgb(255 255 255 / 80%)"> {{{title|}}} </span>]] </span> <!--
</div>
--> <span style="font-weight:400; font-size:1.1em; color:rgb(255 255 255 / 47%)"> {{{desc|}}} </span>
</div></onlyinclude></includeonly>
</div>
</div>
 
}}

Latest revision as of 09:17, 7 September 2025