Template:TextContentOverlay: Difference between revisions
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: | ||
< | <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>