「テンプレート:折り畳みボックス」の版間の差分

編集の要約なし
デザイン微調整
3行目: 3行目:
<div class="custom-template-expandable-box-header" style="background-color: {{{header_color|white}}}; display: flex; justify-content: space-between;">
<div class="custom-template-expandable-box-header" style="background-color: {{{header_color|white}}}; display: flex; justify-content: space-between;">
<p style="text-align: center; width: 100%; font-size: 120%; font-weight: bold; margin: 0;">{{{title}}}</p>
<p style="text-align: center; width: 100%; font-size: 120%; font-weight: bold; margin: 0;">{{{title}}}</p>
<p class="custom-template-expandable-box-toggle-label" style="flex-shrink: 0; padding: 0 0.5rem; margin: 0; color: blue; text-decoration: underline; cursor: pointer; width: 4rem; text-align: right;"></p>
<p class="custom-template-expandable-box-toggle-label" style="flex-shrink: 0; padding: 0; margin: 0; color: blue; text-decoration: underline; cursor: pointer; width: 4rem; text-align: right;"></p>
</div>
</div>
<div class="custom-template-expandable-box-contents" style="padding: 0.5rem; background-color: #fcfcfc; ">
<div class="custom-template-expandable-box-contents" style="padding: 0rem; background-color: #fcfcfc; ">
{{{contents}}}
{{{contents}}}
</div>
</div>