الگو:جعبه ماده: تفاوت میان نسخه‌ها

از ویکی داد
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(یک نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
```wiki
<div class="law-article-box" style="direction:rtl; text-align:right; width:92%; margin:28px auto; padding:0; background:#fffdf8; border:1px solid #d9dfdc; border-radius:6px; overflow:hidden;">
<div class="law-article-box" style="direction:rtl; text-align:right; width:92%; margin:28px auto; padding:0; background:#ffffff; border:1px solid #d8dde3; border-radius:6px; overflow:hidden;">


<!-- بدنه ماده -->
<div style="height:3px; background:#2f6f68;"></div>


<div style="display:flex; direction:rtl; align-items:stretch;">
<div style="display:flex; direction:rtl; align-items:stretch;">


<!-- شماره ماده -->
<div style="width:78px; flex:0 0 78px; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px 4px; background:#e8f0ed; border-left:1px solid #d5dfdb;">


<div style="width:78px; flex:0 0 78px; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:9px 3px; background:#172b3a; border-left:1px solid #253d4e;">
<div style="font-size:10px; color:#58736e; line-height:1.3;">
 
<div style="font-size:10px; color:#c9a85a; line-height:1.2;">
ماده
ماده
</div>
</div>


<div style="font-size:30px; font-weight:800; color:#ffffff; line-height:1.1;">
<div style="font-size:31px; font-weight:800; color:#245b55; line-height:1.1;">
{{{شماره|}}}
{{{شماره|}}}
</div>
</div>


<div style="margin-top:5px; font-size:9px; font-weight:bold; color:#d8c27d; line-height:1.3;">
<div style="margin-top:5px; font-size:9px; font-weight:bold; color:#3e776f; line-height:1.3;">
● {{{وضعیت|معتبر}}}
● {{{وضعیت|معتبر}}}
</div>
</div>
خط ۲۴: خط ۲۱:
</div>
</div>


<!-- متن ماده -->
<div style="flex:1; min-width:0; box-sizing:border-box; padding:14px 21px 16px; background:#fffdf8;">


<div style="flex:1; min-width:0; box-sizing:border-box; padding:13px 20px 15px; background:#ffffff;">
<div style="font-size:17px; color:#303936; line-height:2.15; text-align:justify;">
 
<div style="font-size:17px; color:#29343b; line-height:2.15; text-align:justify;">
{{{متن|}}}
{{{متن|}}}
</div>
</div>
خط ۳۶: خط ۳۱:
</div>
</div>


<!-- نوار ناوبری -->
<div style="display:flex; direction:rtl; align-items:center; justify-content:center; gap:8px; padding:10px 10px; background:#f1f4f2; border-top:1px solid #d9dfdc;">


<div style="display:flex; align-items:stretch; min-height:46px; background:#f5f7f8; border-top:1px solid #d9dfe3;">
{{#if:{{{قبل|}}}|


<div style="flex:1; display:flex; align-items:center; justify-content:center; padding:7px 8px; border-left:1px solid #d9dfe3; font-size:13px; font-weight:bold;">
<div style="flex:1; min-width:0;">
 
[[{{{قبل}}}|
{{#if:{{{قبل|}}}|
<span style="display:flex; align-items:center; justify-content:center; min-height:38px; box-sizing:border-box; padding:6px 8px; background:#ffffff; border:1px solid #cfdad6; border-radius:6px; color:#28706a; font-size:12px; font-weight:bold; white-space:nowrap;">
<span style="color:#176c88;">
← &nbsp; ماده قبل
[[{{{قبل}}}|← &nbsp; ماده قبل]]
</span>
</span>
]]
</div>
}}
}}


</div>
{{#if:{{{فهرست|}}}|
 
<div style="flex:1.15; display:flex; align-items:center; justify-content:center; padding:7px 8px; background:#edf1f3; border-left:1px solid #d9dfe3; font-size:13px; font-weight:800;">


{{#if:{{{فهرست|}}}|
<div style="flex:1.15; min-width:0;">
<span style="color:#172b3a;">
[[{{{فهرست}}}|
[[{{{فهرست}}}|☰ &nbsp; فهرست مواد]]
<span style="display:flex; align-items:center; justify-content:center; min-height:38px; box-sizing:border-box; padding:6px 8px; background:#dfeae6; border:1px solid #bfcfca; border-radius:6px; color:#245b55; font-size:12px; font-weight:800; white-space:nowrap;">
☰ &nbsp; فهرست مواد
</span>
</span>
]]
</div>
}}
}}


</div>
{{#if:{{{بعد|}}}|


<div style="flex:1; display:flex; align-items:center; justify-content:center; padding:7px 8px; font-size:13px; font-weight:bold;">
<div style="flex:1; min-width:0;">
 
[[{{{بعد}}}|
{{#if:{{{بعد|}}}|
<span style="display:flex; align-items:center; justify-content:center; min-height:38px; box-sizing:border-box; padding:6px 8px; background:#ffffff; border:1px solid #cfdad6; border-radius:6px; color:#28706a; font-size:12px; font-weight:bold; white-space:nowrap;">
<span style="color:#176c88;">
ماده بعد &nbsp; →
[[{{{بعد}}}|ماده بعد &nbsp; →]]
</span>
</span>
]]
</div>
}}
}}


خط ۷۱: خط ۶۹:


</div>
</div>
</div>
```

نسخهٔ کنونی تا ۱۰ سپتامبر ۲۰۲۶، ساعت ۱۵:۳۵

ماده

● معتبر