Template:NewsBox
From FSI
(Difference between revisions)
(:) |
|||
(5 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
<pre>{{NewsBox|title|content}}</pre> | <pre>{{NewsBox|title|content}}</pre> | ||
</noinclude> | </noinclude> | ||
− | |||
<div style=" | <div style=" | ||
/* global container */ | /* global container */ | ||
− | + | background-color: #f1fdff; | |
− | + | border: 1px solid #dedede; | |
− | + | position : fixed; | |
− | + | border-radius: 10px; | |
− | + | width: 90%; | |
− | + | margin: 3px auto; | |
− | + | padding: 0px; | |
− | + | ||
"> | "> | ||
− | + | <div style=" | |
− | + | /* title container */ | |
− | + | background-color: #d0e5f5; | |
− | + | border-radius: 10px 10px 0 0; | |
− | + | margin: 0px; | |
− | + | padding: 1px 3px; | |
− | + | font-size: 1.1em; | |
− | + | font-weight: bold; | |
"> | "> | ||
{{{1}}} | {{{1}}} | ||
− | + | </div> | |
− | + | <div style=" | |
− | + | /* content container */ | |
− | + | border-radius: 0 0 10px 10px; | |
− | + | margin: 0px; | |
− | + | padding: 1px 5px; | |
− | + | max-height: 73px; | |
− | + | overflow: auto; | |
− | + | "> | |
{{{2}}} | {{{2}}} | ||
− | + | </div> | |
</div> | </div> |
Latest revision as of 07:54, 29 May 2013
{{NewsBox|title|content}}
{{{1}}}
{{{2}}}