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