Difference between revisions of "Template:Intro to base"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
m (Added box-sizing parameter so that the border doesn't cause the base to be slightly larger than the main box)
imported>Sdkb
(test)
Line 10: Line 10:
 
             background: #EEE;
 
             background: #EEE;
 
             border: 1px solid lightgrey;
 
             border: 1px solid lightgrey;
             border-top: 3px solid lightgrey;
+
             <!-- border-top: 3px solid lightgrey; -->
             box-sizing: border-box;">
+
             box-sizing: border-box;
 +
            z-index: -5;">
 
<div style = "display:inline-block; flex:1 1 200px; padding: 10px; text-align: center;">{{{left|<noinclude>left</noinclude>}}}</div>
 
<div style = "display:inline-block; flex:1 1 200px; padding: 10px; text-align: center;">{{{left|<noinclude>left</noinclude>}}}</div>
 
<div style = "display:inline-block; flex:1 1 200px; padding: 10px; text-align: center;">{{{right|<noinclude>right</noinclude>}}}</div>
 
<div style = "display:inline-block; flex:1 1 200px; padding: 10px; text-align: center;">{{{right|<noinclude>right</noinclude>}}}</div>

Revision as of 17:38, 4 April 2020

left
right


Template documentation[view] [edit] [history] [purge]

Usage

This template is for adding a consistently formatted base to the {{intro to}} tutorial series template.

{{intro to base
| left  = left bottom links box
| right = right bottom links box
}}