diff --git a/frontera_assets/css/_imports/trumps/s-article-list.css b/frontera_assets/css/_imports/trumps/s-article-list.css new file mode 100644 index 00000000..aaac1d25 --- /dev/null +++ b/frontera_assets/css/_imports/trumps/s-article-list.css @@ -0,0 +1,18 @@ +/* Overwrite Core-Styles which relies on Font Awesome */ +/* TODO: Update Core-Styles to rely explicitly or not at all */ +/* https://github.com/TACC/Core-Styles/blob/v2.33.1/src/lib/_imports/trumps/s-article-list.css#L138-L149 */ +[class*=s-article-list--] > p:last-child a::before { + content: "➔"; + background-color: var(--global-color-primary--xx-light); + width: 1em; + height: 1em; + box-sizing: content-box; + border: 0.25em solid var(--global-color-primary--xx-light); + border-radius: 0.75em; + padding-left: .0625em; + color: var(--global-color-primary--xx-dark); + display: inline-flex; + align-items: center; + font-size: 0.75em; + font-family: var(--global-font-family--serif); +} diff --git a/frontera_assets/css/template.home.css b/frontera_assets/css/template.home.css index 3e1ff5bb..fce1fa96 100644 --- a/frontera_assets/css/template.home.css +++ b/frontera_assets/css/template.home.css @@ -5,6 +5,7 @@ /* To let homepage use other patterns */ @import url("https://unpkg.com/@tacc/core-styles@0.13.0/dist/trumps/s-article-list.css"); +@import url("./imports/trumps/s-article-list.css"); @import url("https://unpkg.com/@tacc/core-styles@0.13.0/dist/trumps/s-article-preview.css"); /* To undo "from v1 to v2" migration styles */