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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 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">
<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; z-index:15"> [[File:{{{icon|}}}|40px|link={{{link|}}}]] </div>
<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>
<div style="display:inherit; flex-direction:column; justify-content:center"> <!--
<div style="display:inherit; flex-direction:column; justify-content:center"> <!--
--> <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> <!--
--> <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> <!--

Latest revision as of 23:53, 3 November 2024