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:
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<div style="width:calc(100% + 224px); height:calc(100% + {{#if:{{{notitle|}}}|108|140}}px); background-color:rgb({{{pagecolor}}}); position:absolute; z-index:-100; top:{{#if:{{{notitle|}}}|-83|-113}}px; left:-200px"><div style="width:168px; height:100%; background-color:rgb({{{sidebarcolor}}}); left:-200px;"></div></div>
<div style="width:calc(100% + 224px); height:calc(100% + {{#if:{{{notitle|}}}|108|140}}px); background-color:rgb({{{bodycolor}}}); position:absolute; z-index:-100; top:{{#if:{{{notitle|}}}|-83|-113}}px; left:-200px"><div style="width:168px; height:100%; background-color:rgb({{{sidebarcolor}}}); left:-200px;"></div></div>
<div style="width:calc(100% + 224px); height:60px; background-color:rgb({{{headercolor}}}); position:absolute; z-index:-99; top:{{#if:{{{notitle|}}}|-143|-173}}px; left:-200px"></div>
<div style="width:calc(100% + 224px); height:60px; background-color:rgb({{{headercolor}}}); position:absolute; z-index:-99; top:{{#if:{{{notitle|}}}|-143|-173}}px; left:-200px"></div>
<div style="width:calc(100% - 30%); border-top:1px solid #525252; position:absolute; top:{{#if:{{{notitle|}}}|-35|-65}}px; left:-24px"></div>
<div style="width:calc(100% - 30%); border-top:1px solid #525252; position:absolute; top:{{#if:{{{notitle|}}}|-35|-65}}px; left:-24px"></div>
<div style="width:100%; height:100%; background-color:rgb({{{contentcolor}}}); box-sizing:border-box; font-smooth:never; -webkit-font-smoothing:none; font-family:Arial; color:white; position:static; padding:1.5em; top:0; {{{contentstyle|}}}">
<div style="width:100%; height:100%; background-color:rgb({{{contentcolor}}}); box-sizing:border-box; font-smooth:never; -webkit-font-smoothing:none; font-family:Arial; color:white; position:static; padding:1.5em; top:0; {{{contentstyle|}}}">
</onlyinclude></includeonly>{{doc}}
</onlyinclude></includeonly>{{doc}}

Revision as of 04:05, 12 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