User:Fen/ContentBox: Difference between revisions
No edit summary |
No edit summary |
||
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 {{{9|#4a6fa5}}}; box-shadow: 0 0 4px {{{9|#4a6fa5}}}; border-radius: 6px | <div style="width: {{{6|400px}}}; height: {{{7|400px}}}; background-color: transparent; color: {{{4|inherit}}}; text-align: left; overflow: hidden; border: 1px solid {{{9|#4a6fa5}}}; box-shadow: 0 0 4px {{{9|#4a6fa5}}}; border-radius: 6px; box-sizing: border-box;"> | ||
<!-- Top bar with | <!-- Top bar with no padding --> | ||
<div style="background-color: {{{5|#d0d8ff}}}; border-radius: 4px 4px 0 0 | <div style="background-color: {{{5|#d0d8ff}}}; border-radius: 4px 4px 0 0; display: flex; justify-content: space-between; align-items: center; padding: 0; margin: 0;"> | ||
<div>'''[[{{{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="width: 18px; text-align: center;">[[{{#if:{{{8|}}}|{{{8}}}|Main Page}}|<span role="button" style="color: {{{4|inherit}}}; text-decoration: none;">✖</span>]]</div> | |||
</div> | </div> | ||