Difference between revisions of "InfoFighter"
From Sega Retro
Line 2: | Line 2: | ||
{{#vardefine:fgcolor | {{#if:{{{fgcolour|}}}{{{fgcolor|}}} | {{{fgcolour|}}}{{{fgcolor|}}} | white}} }} | {{#vardefine:fgcolor | {{#if:{{{fgcolour|}}}{{{fgcolor|}}} | {{{fgcolour|}}}{{{fgcolor|}}} | white}} }} | ||
|- | |- | ||
− | | rowspan="2" style="background: {{#var:bgcolor}}; border | + | | rowspan="2" style="background: {{#var:bgcolor}}; border: 1px solid {{#var:bgcolor}}; color: {{#var:fgcolor}}; padding: 0; position: relative; vertical-align: top;" | {{#if:{{{portrait|}}} | <div style="background: linear-gradient(transparent 50%, {{#var:bgcolor}} 100%); position: relative; left: 0; top: 0; z-index: 2;"><div style="visibility: hidden;">{{{portrait|}}}</div></div> }} |
<div style="position: absolute; left: 0; top: 0; z-index: 1;">{{{portrait|}}}</div> | <div style="position: absolute; left: 0; top: 0; z-index: 1;">{{{portrait|}}}</div> | ||
{{#if:{{{sprite|}}} | <div style="margin-bottom: 2em; text-align: center;">{{{sprite|}}}</div> }} | {{#if:{{{sprite|}}} | <div style="margin-bottom: 2em; text-align: center;">{{{sprite|}}}</div> }} | ||
Line 11: | Line 11: | ||
{{#if:{{{info5|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info5name|}}}:</div><div style="padding-left: 1em;">{{{info5|}}}</div> }} | {{#if:{{{info5|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info5name|}}}:</div><div style="padding-left: 1em;">{{{info5|}}}</div> }} | ||
{{#if:{{{info6|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info6name|}}}:</div><div style="padding-left: 1em;">{{{info6|}}}</div> }} | {{#if:{{{info6|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info6name|}}}:</div><div style="padding-left: 1em;">{{{info6|}}}</div> }} | ||
− | | style="background: linear-gradient(to right, {{#var:bgcolor}} 50%, transparent 100%); border: | + | | style="background: linear-gradient(to right, {{#var:bgcolor}} 50%, transparent 100%); border: 1px solid {{#var:bgcolor}}; color: {{#var:bgcolor}}; font-size: 2rem; font-weight: bold; font-variant: small-caps; height: 1em; line-height: 100%; padding: 0.25em 0.5em; text-align: right; text-shadow: 2px 2px {{#var:fgcolor}};" | {{{name|}}} |
|- | |- | ||
− | | style="vertical-align: top;" | {{{desc|}}} | + | | style="border: 1px solid {{#var:bgcolor}}; vertical-align: top; width: 100%;" | {{{desc|}}} |
|- | |- | ||
</includeonly><noinclude> | </includeonly><noinclude> |