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

از ویکی داد
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
خط ۱: خط ۱:
```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:#fffdf8; border:1px solid #d9dfdc; border-radius:6px; overflow:hidden;">
<!-- نوار باریک بالایی -->


<div style="height:3px; background:#2f6f68;"></div>
<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:10px 4px; background:#e8f0ed; border-left:1px solid #d5dfdb;">
خط ۲۷: خط ۲۰:


</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:14px 21px 16px; background:#fffdf8;">
خط ۴۰: خط ۳۱:
</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:#f1f4f2; border-top:1px solid #d9dfdc;">
{{#if:{{{قبل|}}}|
 
<!-- ماده قبل -->
 
<div style="flex:1; display:flex; align-items:center; justify-content:center; padding:7px 8px; border-left:1px solid #d9dfdc; font-size:13px; font-weight:bold;">


{{#if:{{{قبل|}}}|
<div style="flex:1; min-width:0;">
<span style="color:#28706a;">
[[{{{قبل}}}|
[[{{{قبل}}}|← &nbsp; ماده قبل]]
<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;">
← &nbsp; ماده قبل
</span>
</span>
]]
</div>
}}
}}


</div>
{{#if:{{{فهرست|}}}|


<!-- فهرست -->
<div style="flex:1.15; min-width:0;">
 
[[{{{فهرست}}}|
<div style="flex:1.15; display:flex; align-items:center; justify-content:center; padding:7px 8px; background:#e5ece9; border-left:1px solid #d9dfdc; font-size:13px; font-weight:800;">
<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; فهرست مواد
{{#if:{{{فهرست|}}}|
<span style="color:#245b55;">
[[{{{فهرست}}}|☰ &nbsp; فهرست مواد]]
</span>
</span>
]]
</div>
}}
}}


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


<!-- ماده بعد -->
<div style="flex:1; min-width:0;">
 
[[{{{بعد}}}|
<div style="flex:1; display:flex; align-items:center; justify-content:center; padding:7px 8px; font-size:13px; font-weight:bold;">
<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;">
 
ماده بعد &nbsp; →
{{#if:{{{بعد|}}}|
<span style="color:#28706a;">
[[{{{بعد}}}|ماده بعد &nbsp; →]]
</span>
</span>
]]
</div>
}}
}}


خط ۸۱: خط ۶۹:


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

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

ماده

● معتبر