Difference between revisions of "Template:InfoCard"
From Ciliz|W4
Aponomarenko (talk | contribs) (Created page with "<templatestyles src="InfoCard/styles.css" /> <div class="wiki-template-infocard {{#if:{{{class|}}}|{{{class}}}}}"> <h3 class="wiki-template-infocard-title">{{{heading}}}</h3>...") |
Aponomarenko (talk | contribs) |
||
Line 1: | Line 1: | ||
− | < | + | <style> |
+ | .wiki-template-infocard { | ||
+ | border: 1px solid #ccc; | ||
+ | box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 ); | ||
+ | border-radius: 2px; | ||
+ | padding: 1em; | ||
+ | } | ||
+ | |||
+ | .wiki-template-infocard-title { | ||
+ | padding: 0 0 0.5625em 0; | ||
+ | margin: 0; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
<div class="wiki-template-infocard {{#if:{{{class|}}}|{{{class}}}}}"> | <div class="wiki-template-infocard {{#if:{{{class|}}}|{{{class}}}}}"> | ||
<h3 class="wiki-template-infocard-title">{{{heading}}}</h3> | <h3 class="wiki-template-infocard-title">{{{heading}}}</h3> |
Revision as of 13:11, 3 March 2020
<style> .wiki-template-infocard { border: 1px solid #ccc; box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 ); border-radius: 2px; padding: 1em; }
.wiki-template-infocard-title { padding: 0 0 0.5625em 0; margin: 0; } </style>
{{{heading}}}
{{{content}}}