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

From EncyclopAtys

Jump to: navigation, search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<div style="height: 100%">
 
<div style="
 
<div style="
position:relative; left:4px; right: 4px; top:2px;
+
position:relative; left:4px; right: 4px; top:2px;
border:1px solid #{{ColorAtys|group={{{palette}}}}};
+
border:1px solid #{{ColorAtys|group={{{palette}}}}};
height:25px;
+
height:25px;
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
+
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
+
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
+
border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}};
+
border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}};
color: #{{ColorAtys|type=fg|group={{{palette}}}}};
+
color: #{{ColorAtys|type=fg|group={{{palette}}}}};
font-weight: bold;
+
font-weight: bold;
font-size: 1.25em;
+
font-size: 1.25em;
text-align: center;
+
text-align: center;
 
">
 
">
 
<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>
Line 21: Line 22:
 
   text-align:left;  
 
   text-align:left;  
 
   padding:.15em .4em;
 
   padding:.15em .4em;
   text-shadow: #{{ColorAtys|type=light|group={{{palette}}}}} -0.1em -0.1em 0.2em,
+
   text-shadow: #{{ColorAtys|type=light|group={{{palette}}}}} -0.1em -0.1em 0.2em, #{{ColorAtys|type=dark|group={{{palette}}}}} 0.1em 0.1em 0.2em;">
  #{{ColorAtys|type=dark|group={{{palette}}}}} 0.1em 0.1em 0.2em;">
 
 
   {{{title|Title}}}
 
   {{{title|Title}}}
 
   </h2>
 
   </h2>
 
  </div>
 
  </div>
 
</div>
 
</div>
 
+
{{dn-content|id={{{id}}}|Content={{{Content}}}|link={{{link}}}}}
<div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:0px;">
 
{{{Content|}}}
 
{{#if:{{{link|}}}|<div align="right">{{{link}}}</div>|}}
 
 
</div>
 
</div>

Latest revision as of 22:45, 27 January 2021

Dummy.png

Title

{{{Content}}}

{{{link}}}