Template:Quote: Difference between revisions

From Subnautica Wiki
(1st try; expansion based on Quote2 with improvements.)
m (Template images linking removed.)
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
<includeonly>
<includeonly>
<div class="image" style=" background: #0D2337;
<div class="image" style=" background: #0D2337;
float:{{#if:{{{float|}}}|{{{float}}}|none}};
float: ;
width: 100%;
width:{{#if:{{{width|}}}|{{{width}}}%|60%}};
float:{{#if:{{{float|}}}|{{{float}}}|right}};
width:{{#if:{{{width|}}}|{{{width}}}%|60}};
border: 1.5px solid #0f5376;
border: 1.5px solid #0f5376;
border-radius: 40px;
border-radius: 40px;
Line 14: Line 12:
padding: 20px 30px 20px 90px;
padding: 20px 30px 20px 90px;
position: relative;
position: relative;
margin:{{#if:{{{margin|}}}|margin:{{{margin}}}|0.5em}};
margin:{{#if:{{{margin|}}}|{{{margin}}}|0 0 1em}};
min-width: 300px;
min-width: 300px;
max-width: 100%;
min-height: 94px;">
min-height: 94px;">
<div class="icon" style=" position: absolute;
<div class="icon" style=" position: absolute;
left: 5px;
left: 5px;
top: 50%;
top: 50%;
margin-top: -35px;">[[File:QuoteBar.png]]</div>
margin-top: -35px;">[[File:QuoteBar.png|link=]]</div>
<div class="icon" style=" position: absolute;
<div class="icon" style=" position: absolute;
left: 30px;
left: 30px;
top: 50%;
top: 50%;
margin-top: -25px;">[[File:TestQuoteIcon.png]]</div>
margin-top: -25px;">[[File:TestQuoteIcon.png|link=]]</div>
<div class="content">
<div class="content">
<p style=" margin: 0 0 .6em;
<p style=" margin: 0 0 .6em;
Line 38: Line 37:
top: 50%;
top: 50%;
transform: rotate(180deg);
transform: rotate(180deg);
margin-top: -35px;">[[File:QuoteBar.png]]
margin-top: -35px;">[[File:QuoteBar.png|link=]]
</div>
</div>
</div>
</div>

Latest revision as of 01:53, 5 January 2019