Skip to content

Commit

Permalink
feat/tup 617: Migrate c-card fixes to core-styles (#251)
Browse files Browse the repository at this point in the history
* Added in card style fixes

* Added in card style fixes. Made adjustments to variables and syntax

* removes unnecessary style because it already exists

* Adds back in style. It allows for more specificity.

* clean up comment

* Update src/lib/_imports/components/c-card.css

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>

* Update src/lib/_imports/components/c-card.css

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>

* Update src/lib/_imports/components/c-card.css

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>

---------

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>
  • Loading branch information
R-Tomas-Gonzalez and wesleyboar authored Nov 2, 2023
1 parent d8630b6 commit acf9769
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/components/c-card.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core-styles.cms.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.docs.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/lib/_imports/components/c-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,9 @@
line-height: 1.7;
margin-bottom: 2rem; /* to mimic <p> */
}

/* FAQ: Used on image cards for staff like on /education/k-12-students/ */
/* SEE: https://www.tacc.utexas.edu/education/k-12-students/high-school-camps/gencyber/ */
:is(.card, :--c-card) h4 {
margin-bottom: 0.375em;
}

0 comments on commit acf9769

Please sign in to comment.