Difference between revisions of "Template:Ambox"

From BIONICLEsector01
(It seems neither Swert nor Dorek has been here for a while, so I think I'll go ahead and add this in... feel free to revert this and all later edits if you feel it better.)
(Use .overlay-background for dark mode support)
 
Line 1: Line 1:
<div style="width:80%;margin-left:auto;margin-right:auto;background:rgba(255, 255, 255, 0.75);padding:5px;border-left:5px solid {{{bg_color}}};">
+
<div class="overlay-background" style="width:80%;margin-left:auto;margin-right:auto;padding:5px;border-left:5px solid {{{bg_color}}};">
 
<div style="display:table-cell;padding-left:.5em;width:100%;vertical-align:middle;">
 
<div style="display:table-cell;padding-left:.5em;width:100%;vertical-align:middle;">
 
<div style="font-size:150%;font-weight:bold;">{{{header}}}</div>
 
<div style="font-size:150%;font-weight:bold;">{{{header}}}</div>

Latest revision as of 03:45, 27 May 2019

{{{header}}}
{{{text}}}
{{{image}}}