Difference between revisions of "Template:RBX"
(now supporting webkit variable.) |
(attempting to make the only gradient that works with MSIE 6 work better) |
||
Line 1: | Line 1: | ||
− | border:1px {{{border|#3F3F3F}}} solid; background:{{{legacy|#EFEFEF}}}; background-color:{{{legacy|#EFEFEF}}}; background: -moz-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: -webkit-gradient(linear, left top, left bottom, color-stop(6%,{{{topcolor|#DFDFDF}}}), color-stop(88%,{{{botcolor|#FFFFFF}}})); background: -webkit-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: -o-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: -ms-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='{{{ | + | border:1px {{{border|#3F3F3F}}} solid; background:{{{legacy|#EFEFEF}}}; background-color:{{{legacy|#EFEFEF}}}; background: -moz-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: -webkit-gradient(linear, left top, left bottom, color-stop(6%,{{{topcolor|#DFDFDF}}}), color-stop(88%,{{{botcolor|#FFFFFF}}})); background: -webkit-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: -o-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: -ms-linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); background: linear-gradient(top, {{{topcolor|#DFDFDF}}} 6%, {{{botcolor|#FFFFFF}}} 88%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='{{{topcolor|#FFFFFF}}}', endColorstr= '{{{botcolor|#EFEFEF}}}', GradientType=0 ); -moz-border-radius: {{{radius|1em}}}; -khtml-border-radius: {{{radius|1em}}}; -opera-border-radius: {{{radius|1em}}}; border-radius: {{{radius|1em}}}; -webkit-border-radius: {{{webkit|1em}}}; -webkit-box-shadow: 0.5em 0.5em 1em #000000; -moz-box-shadow: 0.5em 0.5em 1em #000000; box-shadow: 0.5em 0.5em 1em #000000 |
<noinclude>[[Category:Text Templates]]</noinclude> | <noinclude>[[Category:Text Templates]]</noinclude> |
Revision as of 00:50, 28 June 2012
border:1px #3F3F3F solid; background:#EFEFEF; background-color:#EFEFEF; background: -moz-linear-gradient(top, #DFDFDF 6%, #FFFFFF 88%); background: -webkit-gradient(linear, left top, left bottom, color-stop(6%,#DFDFDF), color-stop(88%,#FFFFFF)); background: -webkit-linear-gradient(top, #DFDFDF 6%, #FFFFFF 88%); background: -o-linear-gradient(top, #DFDFDF 6%, #FFFFFF 88%); background: -ms-linear-gradient(top, #DFDFDF 6%, #FFFFFF 88%); background: linear-gradient(top, #DFDFDF 6%, #FFFFFF 88%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr= '#EFEFEF', GradientType=0 ); -moz-border-radius: 1em; -khtml-border-radius: 1em; -opera-border-radius: 1em; border-radius: 1em; -webkit-border-radius: 1em; -webkit-box-shadow: 0.5em 0.5em 1em #000000; -moz-box-shadow: 0.5em 0.5em 1em #000000; box-shadow: 0.5em 0.5em 1em #000000