Template:TextContentOverlay: Difference between revisions

From Infinite Nomic Wiki
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>

Revision as of 22:01, 14 April 2022

<style> .nomic-text-overlay {

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

} </style>

{{{HTML}}}