Template:Paired list stack: Difference between revisions

added border color parameter
m padding fix
Line 1: Line 1:
<includeonly><dl style="margin: 5px; border-top: 1px solid {{{border color|#c8ccd1}}}; border-left: 1px solid {{{border color|#c8ccd1}}}; border-right: 1px solid {{{border color|#c8ccd1}}}; border-radius: 3px; overflow: hidden; text-align: center;">
<includeonly><dl style="margin: 5px; border-top: 1px solid {{{border color|#c8ccd1}}}; border-left: 1px solid {{{border color|#c8ccd1}}}; border-right: 1px solid {{{border color|#c8ccd1}}}; border-radius: 3px; padding-bottom: 1px; overflow: hidden; text-align: center;">
     <div style="display: flex; flex-wrap: wrap; border-bottom: 1px solid {{{border color|#c8ccd1}}};">
     <div style="display: flex; flex-wrap: wrap; border-bottom: 1px solid {{{border color|#c8ccd1}}};">
         <dt style="flex: 1 0 15ch; margin: 0; padding: 2px; line-height: inherit; font-family: inherit; background-color: {{{key background color|#eaecf0}}};">{{{key 1|}}}
         <dt style="flex: 1 0 15ch; margin: 0; padding: 2px; line-height: inherit; font-family: inherit; background-color: {{{key background color|#eaecf0}}};">{{{key 1|}}}