Template:Style P-Separator custom/sandbox: Difference between revisions

добавлены настраиваемые отступы разделителя
(тест нейтрального адаптивного разделителя)
 
(добавлены настраиваемые отступы разделителя)
 
Line 4: Line 4:


Optional parameters: <code><nowiki>{{Style P-Separator custom/sandbox|width=15%|space=1em}}</nowiki></code>
Optional parameters: <code><nowiki>{{Style P-Separator custom/sandbox|width=15%|space=1em}}</nowiki></code>
</noinclude><includeonly><hr role="separator" style="box-sizing: border-box; width: {{{width|4em}}}; max-width: 100%; height: 0; margin: {{{space|1.5em}}} auto; border: 0; border-top: 1px solid currentColor;"></includeonly>
 
Independent spaces: <code><nowiki>{{Style P-Separator custom/sandbox|top=1em|bottom=0.5em}}</nowiki></code>
</noinclude><includeonly><hr role="separator" style="box-sizing: border-box; width: {{{width|4em}}}; max-width: 100%; height: 0; margin: {{{top|{{{space|0.75em}}}}}} auto {{{bottom|{{{space|0.75em}}}}}}; border: 0; border-top: 1px solid currentColor;"></includeonly>