Skip to content

Commit

Permalink
Migrate card list support to core-styles (#360)
Browse files Browse the repository at this point in the history
Co-authored-by: Wesley Bomar <[email protected]>
  • Loading branch information
R-Tomas-Gonzalez and wesleyboar authored Nov 6, 2023
1 parent 457c6c9 commit 7da8bbb
Showing 1 changed file with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
/* SUPPORT LIST IN CARD */

/* FAQ: The Portal uses Bootstrap ".card" for ticket modal */
:is(.card, .c-card, [class*="card--"]) ul {
/* list-style: none; *//* H.P. restored bullets, M.S. does not know */
padding-left: 1em; /* overwrite core-styles.cms */
}
/* To add space between line items */
/* FAQ: Using margin and li:not(:first-of-type) because of multi-line items */
:is(.card, .c-card, [class*="card--"]) li:not(:first-of-type) {
margin-top: 0.5em;
}
/* TODO: Consider changing this site wide; SEE:
:where([role=main],main) li:not(td li) { line-height: 1.6; } */
:is(.card, .c-card, [class*="card--"]) ul:last-child:where(:not(#page-portal *)) {
margin-bottom: 2rem;
}





/* ADD CARD--IMAGE */

/* Image */
Expand Down

0 comments on commit 7da8bbb

Please sign in to comment.