Difference between revisions of "Template:List item box"

From LFS Manual
Jump to navigationJump to search
m
m
Line 1: Line 1:
<li style="position: relative; display: inline-block; padding-top: {{{4}}}px; list-style: none; border: 1px solid #c8ccd1; background-color: #FAFAFA; overflow: hidden">
+
<li style="padding-top: {{{4}}}px; list-style: none; border: 1px solid #c8ccd1; background-color: #FAFAFA; overflow: hidden">
{{#if:{{{3|}}}|<div style="position:absolute; top: 0; left: 50%; transform: translate(-50%, 0); height: {{{4}}}px; overflow: hidden">[[File:{{{3}}}|link=]]</div>}}
+
{{#if:{{{3|}}}|<div style="overflow: hidden;display: flex; justify-content: center;">[[File:{{{3}}}|link=]]</div>}}
 
<div style="padding: 16px">
 
<div style="padding: 16px">
 
<div style="font-size: 210%; line-height: 1.4; margin-bottom: 14px">{{{1}}}</div>
 
<div style="font-size: 210%; line-height: 1.4; margin-bottom: 14px">{{{1}}}</div>
Line 17: Line 17:
 
=== With image ===
 
=== With image ===
  
 +
{{list item box|Getting started|
 +
Learn how to
 +
* test
 +
* test
 +
|Modeller load and save objects.jpg|44}}
 +
{{list item box|Getting started|
 +
Learn how to
 +
* test
 +
* test
 +
|Modeller load and save objects.jpg|44}}
 
{{list item box|Getting started|
 
{{list item box|Getting started|
 
Learn how to
 
Learn how to
Line 24: Line 34:
  
 
<div style="width: 10%">
 
<div style="width: 10%">
 
 
{{list item box|Getting started|
 
{{list item box|Getting started|
 
Learn how to
 
Learn how to

Revision as of 23:15, 2 December 2023

  • {{{1}}}
    {{{2}}}
  • Documentation

  • Getting started

    Learn how to

    • test
    • test
  • With image

  • Modeller load and save objects.jpg
    Getting started

    Learn how to

    • test
    • test
  • Modeller load and save objects.jpg
    Getting started

    Learn how to

    • test
    • test
  • Modeller load and save objects.jpg
    Getting started

    Learn how to

    • test
    • test
  • Modeller load and save objects.jpg
    Getting started

    Learn how to

    • test
    • test