Template:NewsBox
From UIT
(Difference between revisions)
(48 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | <pre>{{NewsBox|title|content}}</pre> | + | <pre>{{NewsBox|title|date|content}}</pre> |
</noinclude> | </noinclude> | ||
− | |||
<div style=" | <div style=" | ||
+ | /* global container */ | ||
background-color: #f1fdff; | background-color: #f1fdff; | ||
border: 1px solid #dedede; | border: 1px solid #dedede; | ||
− | + | border-radius: 10px; | |
− | width: | + | width: 90%; |
− | + | margin: 5px auto; | |
− | margin: 5px; | + | |
padding: 0px; | padding: 0px; | ||
− | |||
− | |||
− | |||
− | |||
"> | "> | ||
<div style=" | <div style=" | ||
− | border- | + | /* date container */ |
− | background-color:#d0e5f5; | + | background-color: #d0e5f5; |
− | + | border-radius: 10px 10px 0 0; | |
− | + | margin: 0px; | |
− | font- | + | padding: 1px 7px; |
− | + | float: right; | |
+ | "> | ||
+ | {{{2}}} | ||
+ | </div> <div style=" | ||
+ | /* title container */ | ||
+ | background-color: #d0e5f5; | ||
+ | border-radius: 10px 10px 0 0; | ||
+ | margin: 0px; | ||
+ | padding: 1px 5px; | ||
+ | font-size: 1.1em; | ||
+ | font-weight: bold; | ||
"> | "> | ||
{{{1}}} | {{{1}}} | ||
− | </div> | + | </div> |
<div style=" | <div style=" | ||
− | padding: 5px; | + | /* content container */ |
+ | border-radius: 0 0 10px 10px; | ||
+ | margin: 0px; | ||
+ | padding: 1px 5px; | ||
+ | max-height: 73px; | ||
+ | overflow: auto; | ||
"> | "> | ||
− | {{{ | + | {{{3}}} |
</div> | </div> | ||
</div> | </div> |
Latest revision as of 15:45, 5 June 2013
{{NewsBox|title|date|content}}
{{{2}}}
{{{1}}}
{{{3}}}