User:Fen/ContentBox: Difference between revisions

Fen (talk | contribs)
No edit summary
Fen (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<!-- Outer wrapper with fixed width -->
<!-- Outer wrapper with fixed width -->
<div style="width: {{{6|400px}}}; height: {{{7|400px}}}; background-color: transparent; color: {{{4|inherit}}}; text-align: left; overflow: hidden; border: 1px solid {{{3|#4a6fa5}}}; box-shadow: 0 0 4px {{{3|#4a6fa5}}}; border-radius: 6px; box-sizing: border-box;">
<div style="width: {{{6|400px}}}px; height: {{{7|400px}}}px; background-color: transparent; color: {{{4|inherit}}}; text-align: left; overflow: hidden; border: 1px solid {{{3|#4a6fa5}}}; box-shadow: 0 0 4px {{{3|#4a6fa5}}}; border-radius: 6px; box-sizing: border-box;">


   <!-- Top bar with no padding -->
   <!-- Top bar with no padding -->
Line 7: Line 7:
     <div style="padding-left: 5px;">'''[[{{{1}}}|<span style="color: {{{4|inherit}}}">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]'''
     <div style="padding-left: 5px;">'''[[{{{1}}}|<span style="color: {{{4|inherit}}}">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]'''
     </div>
     </div>
     <div style="padding-right: 5px; text-align: center;">[[{{#if:{{{8|}}}|{{{8}}}|Main Page}}|<span role="button" style="color: {{{4|inherit}}}; text-decoration: none;"><small>{{{9|}}}</small></span>]]</div>
     <div style="padding-right: 5px; text-align: center;"> <span role="button" style="color: {{{4|inherit}}}; text-decoration: none;"><small>{{{8|}}}</small></span></div>
   </div>
   </div>


   <!-- Inner content area fills rest of box height -->
   <!-- Inner content area fills rest of box height -->
   <div style="background-color: transparent; padding: 10px; overflow-y: auto; border-radius: 0 0 5px 5px; box-sizing: border-box; overflow-y: scroll; height: 100%;">{{:{{{1}}}}}</div>
   <div style="background-color: transparent; padding: 10px; overflow-y: auto; border-radius: 0 0 5px 5px; box-sizing: border-box; overflow-y: scroll; height: 97%; color: initial;">{{:{{{1}}}}}</div>


</div>
</div>