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|}}}|143| | <div style="width:calc(100% + 224px); height:calc(100% + {{#if:{{{notitle|}}}|143|140}}px); background-color:rgb({{{bg1}}}); position:absolute; z-index:-100; top:{{#if:{{{notitle|}}}|-143|-113}}px; left:-200px"><div style="background-color:{{{bg1}}};"></div></div> | ||
<div style="width:calc(100% + 224px); height:60px; background-color:rgb({{{bg2}}}); 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({{{bg2}}}); 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({{{bg3}}}); box-sizing:border-box; font-smooth:never; -webkit-font-smoothing:none; font-family:Arial; color:white; position:static; padding:1.5em; top:0; {{{bg3style|}}}"> | <div style="width:100%; height:100%; background-color:rgb({{{bg3}}}); box-sizing:border-box; font-smooth:never; -webkit-font-smoothing:none; font-family:Arial; color:white; position:static; padding:1.5em; top:0; {{{bg3style|}}}"> | ||
</onlyinclude></includeonly>{{doc}}{{BgColor|bg2=100, 100, 100|bg1=50, 50, 50|bg3=25, 25, 25|disabletitle=1|bg3style=border-radius:10px}} | </onlyinclude></includeonly>{{doc}}{{BgColor|bg2=100, 100, 100|bg1=50, 50, 50|bg3=25, 25, 25|disabletitle=1|bg3style=border-radius:10px}} |
Revision as of 03:42, 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.