Listings
Simple listing
- Three variants are available to control the layout:
simple-listing--four
,simple-listing--three
,simple-listing--two
. You must always specify a variant. - Provide images via inline styles with
background-image: url(...);
. The ideal dimensions depend on the variant used (cf. examples below). Allimages should have a ratio of 16/10 (62.5%) or they will be cropped. - The heading elements inside the items can be marked with
h2
,h3
orh4
depending on the context in which the listing is used. The examples below demonstrate all three cases for testing purposes. If adapting the heading level to the context is too complex, a good default is generallyh3
.
Four column layout
Use simple-listing--four
to use four columns.
-
Level-2 heading
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet.
-
Cras pretium et elit
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
-
Consectetur adipisicing elit
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
-
Pretium bibendum
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet.
Three column layout
Use simple-listing--three
to use three columns.
-
Cras pretium et elit
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
-
Consectetur adipisicing elit cras pretium et pretium bibendum
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet deleniti dicta dignissimos.
-
Pretium bibendum
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
Two column layout
Use simple-listing--two
to use two columns.
Simple text listing
Simple listings can be turned into text-only listings with class simple-listing--text
.
Four column layout
Use simple-listing--four
to use four columns.
-
Level-2 heading
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt nam, id corporis itaque possimus quod libero quibusdam, voluptate suscipit, architecto veritatis. Sed, maxime.
-
Cras pretium et elit
Consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
-
Consectetur adipisicing elit
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
-
Pretium bibendum
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Optio cupiditate quis, neque, itaque est quae! Ipsam quas dolor modi vero placeat accusantium distinctio rem iusto reprehenderit. Deleniti dicta dignissimos saepe dolore.
Three column layout
Use simple-listing--three
to use three columns.
-
Consectetur adipisicing elit
Consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet.
-
Pretium bibendum
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
-
Cras pretium et elit
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. At, esse amet.
Two column layout
Use simple-listing--two
to use two columns.
-
Cras pretium et elit
Consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
-
Consectetur
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
One column layout
A fourth layout variant, simple-listing--one
, can then be used to display the items in a single column (and with a larger font size for the excerpts). Note that text-only listings with 2 and 3 columns are narrower than their image counterparts.
-
Cras pretium et elit
Consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
-
Consectetur
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At, esse amet. Deleniti dicta dignissimos saepe dolore, incidunt deserunt totam id earum.
Hero listing
-
Cras pretium et elit id bibendum elit id bibendum pretium et elit pretium et elit
Implement a template-based truncation to 20 words to prevent the summary from unbalancing the list item and extending the…
-
Cras pretium et elit id bibendum.
Implement a template-based truncation to 20 words to prevent the summary from unbalancing the list item and extending the…