Template:Box-round: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
(Change border colour and title colour)
(Update to fix all previous style issues)
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div>  
<includeonly>
<div style="background: {{{titlebackground|#5f9fbc}}};<!--
<div style="clear: both;"></div>  
        -->color: {{{titleforeground|#000}}};<!--
<div style="background: {{{titlebackground|#5f9fbc}}};  
        -->padding: .1em;<!--
            color: {{{titleforeground|#000}}};
        -->text-align: center;<!--
            padding: .1em;
        -->font-weight: bold;<!--
            text-align: center;
        -->font-size: 100%;<!--
            font-weight: bold;
        -->margin-bottom: 0px;<!--
            font-size: 100%;
        -->border-bottom: none;<!--
            margin-bottom: 0px;
        -->{{border-radius|1.5em 1.5em 0 0}}<!--
            border-bottom: none;
        -->{{{titlestyle|}}};"><!--
            border-radius: {{{border-radius|8px 8px 0 0}}};
   --><span class="plainlinks" <!-- EDIT LINK PARAMETERS
 
        -->style="float:right;<!--
            {{{titlestyle|}}};">
              -->margin-bottom:.1em;<!--
   {{navbar|Box-round|mini=y|style=float:right;margin-bottom:.1em;font-size:80%;padding-right:0.5em;}}
              -->font-size: 80%;<!--
   <h2 style="font-size:100%;
              -->padding-right: 0.5em;"><!--
            font-weight:bold;
        --><font color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</font>&nbsp;<!--
            border: none;  
   --></span ><!--
            margin: 0;  
  --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em; color: {{{titleforeground|#fff}}}">{{{title}}}</h2></div>
            padding:0;  
<div style="display: block; border-left: 1px solid {{{border|#5f9fbc}}}; border-right: 1px solid {{{border|#5f9fbc}}}; border-bottom: 1px solid {{{border|#5f9fbc}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; {{border-radius|0 0 1.5em 1.5em}} {{{style|}}};">{{{1|{{{text|{{{content}}}}}}}}}</div>
            padding-bottom:.1em;  
            color: {{{titleforeground|#fff}}};">
  {{{title}}}</h2>
</div>
<div style="display: block;  
            border-left: 1px solid {{{border|#5f9fbc}}};  
            border-right: 1px solid {{{border|#5f9fbc}}};  
            border-bottom: 1px solid {{{border|#5f9fbc}}};  
            vertical-align: top;  
            background: {{{background|#fff}}};  
            color: {{{foreground|#000}}};  
            margin-bottom: 10px;  
            padding: .8em 1em 1em 1.3em;  
            margin-top: 0em;  
            border-radius: {{{border-radius|0 0 8px 8px}}};
            {{{style|}}};">
{{{1|{{{text|{{{content}}}}}}}}}
</div>
</includeonly>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>

Revision as of 15:25, 18 August 2018