Difference between revisions of "Template:TermDescription"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
(testing flex to solve the fragmented middle border issue part 2)
imported>Elaeagnifolia
m (Reverted edits by Elaeagnifolia (talk) to last revision by Caledor92)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Templates]]</noinclude><includeonly><!--
 
<noinclude>[[Category:Templates]]</noinclude><includeonly><!--
--><div style="display:flex;align-items:stretch;justify-content: center;width:{{#if: {{{totalwidth|}}}|{{{totalwidth|}}}px|100%}}">
+
--><div style="width:{{#if: {{{totalwidth|}}}|{{{totalwidth|}}}px|100%}}" align="center">
<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 style="display: table-cell;width:{{#if: {{{leftwidth|}}}|{{{leftwidth|}}}|120px}};text-align:right;padding: 3px 8px 3px 0;margin: 0 -6px 0 0;border-right:3px #528e52 solid;font-weight:bold;vertical-align:middle">{{{1|-}}}</div>
<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 style="display: table-cell;width:{{#if: {{{rightwidth|}}}|{{{rightwidth|}}}|150px}};text-align:left;padding: 3px 0 3px 6px;border:0px #528e52 solid;vertical-align:middle">{{{2|-}}}</div>
</div></includeonly>
+
</div><!--
 +
--></includeonly>

Latest revision as of 15:30, 14 November 2019