Difference between revisions of "Template:Content-A"

From University Innovation Fellows
Jump to navigation Jump to search
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<div class="Content-A">
 
<div class="Content-A">
 
<div style="display: flex; flex-wrap: nowrap; width: 100%;">
 
<div style="display: flex; flex-wrap: nowrap; width: 100%;">
         <div style="background-color: {{{color}}};width: 12px; line-height: 50px;"></div>
+
         <div id="r_h1" style="background-color: {{{color}}};width: 12px; line-height: 50px;"></div>
         <h1 style="margin-left: 10px; border-bottom: none;margin-top: 0.45em;font-weight: 600;font-family:'Comic Neue', sans-serif;">{{{title}}}</h1>
+
         <h1 style="margin-left: 17px; border-bottom: none;margin-top: 0.45em;font-weight: 800;font-family:'Comic Neue', sans-serif;">{{{title}}}</h1>
 
</div>
 
</div>
<p style="margin-left: 23px;font-family:{{{c-font|sans-serif}}};">{{{content}}}</p>
+
<div style="margin-left: 30px;font-family:{{{c-font|sans-serif}}}; text-align:left;">{{{content}}}</div>
 
</div>
 
</div>
 +
 +
<noinclude>
 +
== Usage ==
 +
<nowiki>{{Content-A|color=green|title=Demo title| content=I am the content}}</nowiki>
 +
 +
 +
Output:
 +
{{Content-A|color=green|title=Demo title| content=I am the content}}
 +
</noinclude>

Latest revision as of 17:59, 28 June 2022

{{{title}}}

{{{content}}}


Usage

{{Content-A|color=green|title=Demo title| content=I am the content}}


Output:

Demo title

I am the content