Template:TextContentOverlay: Difference between revisions

From Infinite Nomic Wiki
miraheze>Nyhilo
HTMLMarkdown -> HTML to make it easier to remember
miraheze>Nyhilo
Move css to injected style. Change font size from rem to em
Line 1: Line 1:
<div style="color: transparent;font-size: 1.5rem;position: absolute;padding: 1rem;max-width: 720px;">
<style>
  color: transparent;
  font-size: 1.5em;
  position: absolute;
  padding: 1em;
  max-width: 720px;
</style>
<div class="nomic-text-overlay">
{{{HTML}}}
{{{HTML}}}
</div>
</div>

Revision as of 21:57, 14 April 2022

<style>

 color: transparent;
 font-size: 1.5em;
 position: absolute;
 padding: 1em;
 max-width: 720px;

</style>

{{{HTML}}}