Template:DQM2Enemy: Difference between revisions
m image alt text |
m rewrote head as flex instead of table layout, allow more width on mobile |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="background-color: #00ff00 | <div style="background-color: #00ff00; padding: 3px; border-radius: 7px; max-width: 63em;"> | ||
<div style=" | <div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center;"> | ||
<div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | ''{{{romanji}}}'' }})}}</div> | |||
< | <div>[[File:DWM2 Taras Adventure Logo.png|125px|link=Dragon Quest Monsters 2|alt=Dragon Quest Monsters 2]]</div> | ||
</ | </div> | ||
<div style="background-color: #E4EFF0 ; border-radius: 5px; padding: 3px;"> | <div style="background-color: #E4EFF0 ; border-radius: 5px; padding: 3px;"> | ||
<table style="border: 1px solid green; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | <table style="border: 1px solid green; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | ||
| Line 148: | Line 147: | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div></includeonly><noinclude> | ||