Skip to content

Commit

Permalink
Added in demos for card lists
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Tomas-Gonzalez committed Oct 26, 2023
1 parent b516328 commit 60e407b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/_imports/components/c-card-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
}
/* TODO: Consider changing this site wide; SEE:
:where([role=main],main) li:not(td li) { line-height: 1.6; } */
/* Tomas removes `:where(:not(…` (e.g. "not in portal"). He saw it needed to be
removed elsewhere. */
:is(.card, :--c-card, [class*="card--"]) ul:last-child {
margin-bottom: 2rem;
}
7 changes: 7 additions & 0 deletions src/lib/_imports/components/c-card/_c-card--list.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<article class="c-card c-card--plain">
<h3>Card - List</h3>
<ul>
<li><a href="#">Required Forms</a></li>
<li><a href="#">Camp Program</a></li>
</ul>
</article>
7 changes: 7 additions & 0 deletions src/lib/_imports/components/c-card/_c-card--many-variable.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,12 @@
</p>
<a href="#"><i class="icon icon-push-right">&gt;</i> Learn more</a>
</article>
<article class="c-card c-card--{{this._self.name}}">
<h3>Card - List</h3>
<ul>
<li><a href="#">Required Forms</a></li>
<li><a href="#">Camp Program</a></li>
</ul>
</article>

<p style="grid-column: 1/-1;">* Wrapping in a <kbd>&lt;p&gt;</kbd> tag was a fix in early 2023-01, but is now non-standard.</p>

0 comments on commit 60e407b

Please sign in to comment.