Template:BgColor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
<div style="position:fixed; z-index:-99; top:0; left:0; background-color:rgb({{{bg2}}}); width:100vw; height:68px"></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>}}
<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}}
</includeonly></onlyinclude>{{doc|nolang=1}}

Revision as of 14:42, 7 February 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Changes the page style.

Created by user Kpabik for use in his profile.

Parameters

  • {{{bodycolor}}} - body background color
  • {{{headercolor}}} - header background color
  • {{{sidebarcolor}}} - sidebar background color
  • {{{contentcolor}}} - content background color