模板:Block
出自Meshal Lite
第3行: | 第3行: | ||
|info=inherit | |info=inherit | ||
|legend=inherit | |legend=inherit | ||
− | | | + | |datalist=inherit |
|cmpgntale=inherit | |cmpgntale=inherit | ||
|cmpgntip=inherit | |cmpgntip=inherit | ||
第11行: | 第11行: | ||
|info=rgb(254,249,227) | |info=rgb(254,249,227) | ||
|legend=rgb(238, 237, 233) | |legend=rgb(238, 237, 233) | ||
− | | | + | |datalist =rgb(255,255,255) |
|cmpgntale=rgb(224,212,197) | |cmpgntale=rgb(224,212,197) | ||
|cmpgntip=rgb(227,231,244) | |cmpgntip=rgb(227,231,244) | ||
第19行: | 第19行: | ||
|info=rgb(255,255,255) | |info=rgb(255,255,255) | ||
|legend=rgb(74, 59, 45) | |legend=rgb(74, 59, 45) | ||
− | | | + | |datalist=#4e5154 |
|cmpgntale=rgb(255,255,255) | |cmpgntale=rgb(255,255,255) | ||
|cmpgntip=rgb(255,255,255) | |cmpgntip=rgb(255,255,255) | ||
第27行: | 第27行: | ||
|info=rgb(140,127,104) | |info=rgb(140,127,104) | ||
|legend=rgb(203, 198, 188) | |legend=rgb(203, 198, 188) | ||
− | | | + | |datalist=#f2f2f2 |
|cmpgntale=rgb(152,112,88) | |cmpgntale=rgb(152,112,88) | ||
|cmpgntip=rgb(82,83,136) | |cmpgntip=rgb(82,83,136) | ||
|op=rgb(146,116,112) | |op=rgb(146,116,112) | ||
|#default=rgb(116,125,130)}}}}{{#vardefine: containerStyle|{{#switch: {{{3|{{{preset|rule}}}}}}| | |#default=rgb(116,125,130)}}}}{{#vardefine: containerStyle|{{#switch: {{{3|{{{preset|rule}}}}}}| | ||
− | | | + | |datalist=box-shadow: 0 0 3px rgba(0,0,0,.1); |
|#default=}}}}<div class="block" style="background-color: {{{contentBgColor |{{#var: contentBgColor}}}}}; border-color: {{{headerBgColor |{{#var: headerBgColor}}}}}; width: calc(100% - {{{indent|0}}}em); margin-left: {{{indent|0}}}em;{{#var: containerStyle}};"><div class="blockTitle" style="background-color: {{{headerBgColor |{{#var: headerBgColor}}}}}; color: {{{headerTextColor|{{#var: headerTextColor}}}}}; {{{headerStyle|}}}">{{{1|{{{title|}}}}}}<span style="float:right; font-size:smaller;">{{{tip|}}}</span></div> | |#default=}}}}<div class="block" style="background-color: {{{contentBgColor |{{#var: contentBgColor}}}}}; border-color: {{{headerBgColor |{{#var: headerBgColor}}}}}; width: calc(100% - {{{indent|0}}}em); margin-left: {{{indent|0}}}em;{{#var: containerStyle}};"><div class="blockTitle" style="background-color: {{{headerBgColor |{{#var: headerBgColor}}}}}; color: {{{headerTextColor|{{#var: headerTextColor}}}}}; {{{headerStyle|}}}">{{{1|{{{title|}}}}}}<span style="float:right; font-size:smaller;">{{{tip|}}}</span></div> | ||
<div class="blockContent" style="color: {{{contentTextColor|{{#var:contentTextColor}}}}}; {{{contentStyle|}}}"> | <div class="blockContent" style="color: {{{contentTextColor|{{#var:contentTextColor}}}}}; {{{contentStyle|}}}"> |