Template:BgColor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<onlyinclude><includeonly><div style="position: fixed; z-index: -100; top: 0; left: 0; background-color: rgb({{{bg1}}}); width: 100vw; height: 100vh"></div>
<onlyinclude><includeonly>
<div style="position: fixed; z-index: -99; top: 0; left: 0; background-color: rgb({{{bg2}}}); width: 100vw; height: 68px"></div><div style="position: static; top: 0; left: 0; width: 100%; height: 100%; padding: 1em 2em; font-smooth: never; -webkit-font-smoothing: none; font-family: Arial; background-color: rgb({{{bg3}}}); color: white;{{{bg3style|}}}">{{#if:{{{disabletitle|}}}||<h1>{{{title|{{FULLPAGENAME}}}}}</h1>}}</includeonly></onlyinclude>{{doc|nolang=1}}
<div style="position:fixed; z-index:-100; top:0; left:0; background-color:rgb({{{bg1}}}); width:100vw; height:100vh"></div>
<div style="position:fixed; z-index:-99; top:0; left:0; background-color:rgb({{{bg2}}}); width:100vw; height:68px"></div>
<div style="position:static; top:0; left:0; width:100%; height:100%; padding:1em 2em; font-smooth:never; -webkit-font-smoothing:none; font-family:Arial; box-sizing:border-box; background-color:rgb({{{bg3}}}); color:white;{{{bg3style|}}}">{{#if:{{{disabletitle|}}}||<h1>{{{title|{{FULLPAGENAME}}}}}</h1>}}
</includeonly</onlyinclude>{{doc|nolang=1}}

Revision as of 14:40, 7 February 2023