Template:TextContentOverlay: Difference between revisions

miraheze>Nyhilo
Move css to injected style. Change font size from rem to em
miraheze>Nyhilo
Forgot to put the tag around the css
Line 1: Line 1:
<style>
<style>
.nomic-text-overlay {
   color: transparent;
   color: transparent;
   font-size: 1.5em;
   font-size: 1.5em;
Line 5: Line 6:
   padding: 1em;
   padding: 1em;
   max-width: 720px;
   max-width: 720px;
}
</style>
</style>
<div class="nomic-text-overlay">
<div class="nomic-text-overlay">
{{{HTML}}}
{{{HTML}}}
</div>
</div>