Difference between revisions of "Template:Dn-content-box"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 13: Line 13:
 
">
 
">
 
<div style="position:absolute; left:5px; top:-5px;">[[File:{{{image|dummy.png}}}|38px|link=]]</div>
 
<div style="position:absolute; left:5px; top:-5px;">[[File:{{{image|dummy.png}}}|38px|link=]]</div>
<div style="position:absolute; left:40px; top:2px; right:0px"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="margin:0; border-bottom:0; font-size:120%; font-weight:bold; text-align:left; padding:.15em .4em;
+
<div style="position:absolute; left:40px; top:2px; right:0px">
text-shadow: #{{ColorAtys|type=light|group={{{palette}}}}} -0.1em -0.1em 0.2em, #{{ColorAtys|type=dark|group={{{palette}}}}} 0.1em 0.1em 0.2em;">{{{title|Title}}}</h2></div></div>
+
<h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="
 +
  margin:0;  
 +
  border-bottom:0;  
 +
  font-size:120%;  
 +
  font-weight:bold;  
 +
  text-align:left;  
 +
  padding:.15em .4em;
 +
  text-shadow: #{{ColorAtys|type=light|group={{{palette}}}}} -0.1em -0.1em 0.2em,
 +
  #{{ColorAtys|type=dark|group={{{palette}}}}} 0.1em 0.1em 0.2em;">
 +
  {{{title|Title}}}
 +
  </h2>
 +
</div>
 +
</div>
  
 
<div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:0px;">
 
<div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:0px;">

Revision as of 17:27, 26 January 2021

Dummy.png

Title