「Template:Tipbox」:修訂間差異

增加 1,002 位元組 、​ 2020年8月18日 (星期二)
無編輯摘要
無編輯摘要
無編輯摘要
第1行: 第1行:
<includeonly><div style="
<includeonly><div style="
background-color: #f8f9fa;
background-color: #F8F9FA;
color: rgba(0,0,0,0.65);
color: rgba(0,0,0,0.65);
border: 1px solid #a2a9b1;
border: 1px solid #A2A9B1;
border-radius:2px; 
border-radius:2px; 
box-shadow:0 1px 1px rgba(0,0,0,0.15);
box-shadow:0 1px 1px rgba(0,0,0,0.15);
第21行: 第21行:


{{#switch:{{{ template }}}
{{#switch:{{{ template }}}
  | blue = background-color: #e6f7ff;border: 1px solid #91d5ff
  | blue   = background-color: #E6F7FF; border: 1px solid #91D5FF
  | green = background-color: #E0F8E6;border: 1px solid #01DF74; 
  | green = background-color: #E0F8E6; border: 1px solid #01DF74;
  | orange = background-color: #F5ECCE;border: 1px solid #FFBF00; 
| orange = background-color: #F5ECCE; border: 1px solid #FFBF00;
  | yellow = background-color: #fff9ea;border: 1px solid #ffcc33
| yellow = background-color: #FFF9EA; border: 1px solid #FFCC33;
  | red = background-color: #F6CECE;border: 1px solid #FA5858; 
| red   = background-color: #F6CECE; border: 1px solid #FA5858;
| band     =                            border-top-right-radius:2px; border-bottom-right-radius:2px; border-left: 12px solid #A2A9B1;
| band-blue  = background-color: #E6F7FF; border: 1px solid #91D5FF; border-top-right-radius:2px; border-bottom-right-radius:2px; border-left: 12px solid #91D5FF;
| band-green  = background-color: #E0F8E6; border: 1px solid #01DF74; border-top-right-radius:2px; border-bottom-right-radius:2px; border-left: 12px solid #01DF74;
  | band-orange = background-color: #F5ECCE; border: 1px solid #FFBF00; border-top-right-radius:2px; border-bottom-right-radius:2px; border-left: 12px solid #FFBF00;
  | band-yellow = background-color: #FFF9EA; border: 1px solid #FFCC33; border-top-right-radius:2px; border-bottom-right-radius:2px; border-left: 12px solid #FFCC33;
  | band-red   = background-color: #F6CECE; border: 1px solid #FA5858; border-top-right-radius:2px; border-bottom-right-radius:2px; border-left: 12px solid #FA5858; 
}}
}}
{{{ style| }}}">{{{ content }}}</div></includeonly><noinclude>{{documentation}}[[分类:工具模板]][[分类:页首提醒模板]]</noinclude>
{{{ style| }}}">{{{ content }}}</div></includeonly><noinclude>{{documentation}}[[分类:工具模板]][[分类:页首提醒模板]]</noinclude>
499

次編輯