Difference between revisions of "Template:Entry/Top"

From RimWorld Wiki
Jump to navigation Jump to search
(Fix for descriptions sometimes flowing behind the icon.)
(Removed deletion tag. This template still in active use.)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="infobox {{{1}}}" style='width: 25em'>
+
<div class="infobox {{{1}}}" style='width: 28em'>
 
<p class="heading">{{BASEPAGENAME}}</p>
 
<p class="heading">{{BASEPAGENAME}}</p>
 
<div class="wrapper">
 
<div class="wrapper">
<div style='position: absolute; top: 0; z-index: 1; margin: 8px 0 0 8px'>{{Icon Big|{{BASEPAGENAME}}}}</div>
+
<div style='position: relative; top: 0; z-index: 1; float: left; margin: 8px 0 8px 8px'>{{Icon Big|{{BASEPAGENAME}}}}</div>
<p class="text" style="display:block; padding: .5em; margin-left: 84px">{{P|Description}}</p>
+
<p class="text" style="display:block; padding: .5em; margin: -.5em 0 0 84px">{{P|Description}}</p>
 
<hr style='clear:both'>
 
<hr style='clear:both'>
 
<dl>
 
<dl>

Revision as of 04:11, 10 July 2020

Entry

[[|none|64px|link=Entry]]