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: -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: 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">{{#if:{{{disabletitle|}}}||<h1>{{{title|{{FULLPAGENAME}}}}}</h1>}}</includeonly></onlyinclude>{{doc|nolang=1}}
<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">
{{#if:{{{disabletitle|}}}||<h1>{{{title|{{FULLPAGENAME}}}}}</h1>}}</includeonly></onlyinclude>{{doc|nolang=1}}

Revision as of 16:30, 29 January 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