-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd3612c
commit bc99c63
Showing
6 changed files
with
61 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="image-list"> | ||
{% for item in include.items %} | ||
{% include elements/hex-icon.html file=item.image %} | ||
<div class="small"> | ||
{{ item.description }} | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.image-list { | ||
display: grid; | ||
grid-template-columns: repeat(1, min-content 1fr); | ||
align-items: center; | ||
row-gap: 20px; | ||
|
||
.small { | ||
font-size: 85%; | ||
margin-right: var(--padding-lg); | ||
} | ||
} | ||
|
||
@media (min-width: 35em) { | ||
.image-list { | ||
row-gap: 40px; | ||
grid-template-columns: repeat(2, min-content 1fr); | ||
} | ||
} | ||
|
||
@media (min-width: 55em) { | ||
.image-list { | ||
row-gap: 60px; | ||
grid-template-columns: repeat(3, min-content 1fr); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: Image List | ||
type: components | ||
module: _includes/components/image-list.html | ||
|
||
items: | ||
- image: icons/merge-type.svg | ||
description: Lorem ipsum dolor sit amet consectetur, adipisicing elit | ||
- image: icons/folder.svg | ||
description: Quia quos autem veniam libero! | ||
--- | ||
{% include components/image-list.html items=page.items %} |