Difference between revisions of "Template:TermDescription"
Jump to navigation
Jump to search
>Caledor92 |
>Caledor92 (testing flex items to solve the fragmented middle border issue) |
||
| Line 1: | Line 1: | ||
| − | <noinclude>[[Category:Templates]]</noinclude><includeonly><!-- | + | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><!-- |
| − | --><div style="width:{{#if: {{{totalwidth|}}}|{{{totalwidth|}}}px|100%}}"> | + | --><div style="width:{{#if: {{{totalwidth|}}}|{{{totalwidth|}}}px|100%}};display:flex;align-items:stretch;align-content: center"> |
| − | <div | + | <div style="display:flex;align-items:center;justify-content:flex-end;text-align: right;width:{{#if: {{{leftwidth|}}}|{{{leftwidth|}}}|120px}};padding: 3px 6px 3px 0;border-right:3px #528e52 solid;font-weight:bold">{{{1|-}}}</div> |
| − | <div | + | <div style="display:flex;align-items:center;width:{{#if: {{{rightwidth|}}}|{{{rightwidth|}}}|150px}};padding: 3px 0 3px 6px;border-left:0px #528e52 solid">{{{2|-}}}</div> |
</div><!-- | </div><!-- | ||
--></includeonly> | --></includeonly> | ||