Template:BgColor: Difference between revisions
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({{{ | <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
The above documentation is transcluded from Template:BgColor/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.