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

From EncyclopAtys

Jump to: navigation, search
m
m
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="width:100%; background:#{{ColorAtys|type=bg}}; border:medium outset #{{ColorAtys|type=dark}}; {{border-radius}}"
+
<div style="height: 100%">
|-
 
| style="height:38px; text-align:center; {{dn-css-gradient-h}} border:0px;" |
 
<div style="position:relative; left:-40%; top:5px;">[[File:{{{image}}}|38px|link=]]</div>
 
 
<div style="
 
<div style="
position:relative; top:-35px;
+
position:relative; left:4px; right: 4px; top:2px;
height:30px;
+
border:1px solid #{{ColorAtys|group={{{palette}}}}};
border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}};
+
height:25px;
color: #{{ColorAtys|type=fg|group={{{palette}}}}};
+
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
text-align: center;
+
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
"> <h2>'''{{{Header|Header}}}'''</h2>
+
border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
|-
+
border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}};
| colspan="2" style="text-align:left; border:0px" |{{{Content|Content}}}
+
color: #{{ColorAtys|type=fg|group={{{palette}}}}};
|}
+
font-weight: bold;
 +
font-size: 1.25em;
 +
text-align: center;
 +
">
 +
<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;
 +
  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>
 +
{{dn-content|id={{{id}}}|Content={{{Content}}}|link={{{link}}}}}
 +
</div>

Latest revision as of 22:45, 27 January 2021

Dummy.png

Title

{{{Content}}}

{{{link}}}