Skip to content

Commit b9be16a

Browse files
committed
fix(frontera): do not rely on Font Awesome
1 parent 41ba14a commit b9be16a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* Overwrite Core-Styles which relies on Font Awesome */
2+
/* TODO: Update Core-Styles to rely explicitly or not at all */
3+
/* https://github.com/TACC/Core-Styles/blob/v2.33.1/src/lib/_imports/trumps/s-article-list.css#L138-L149 */
4+
[class*=s-article-list--] > p:last-child a::before {
5+
content: "➔";
6+
background-color: var(--global-color-primary--xx-light);
7+
width: 1em;
8+
height: 1em;
9+
box-sizing: content-box;
10+
border: 0.25em solid var(--global-color-primary--xx-light);
11+
border-radius: 0.75em;
12+
padding-left: .0625em;
13+
color: var(--global-color-primary--xx-dark);
14+
display: inline-flex;
15+
align-items: center;
16+
font-size: 0.75em;
17+
font-family: var(--global-font-family--serif);
18+
}

frontera_assets/css/template.home.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
/* To let homepage use other patterns */
77
@import url("https://unpkg.com/@tacc/core-styles@0.13.0/dist/trumps/s-article-list.css");
8+
@import url("./_imports/trumps/s-article-list.css");
89
@import url("https://unpkg.com/@tacc/core-styles@0.13.0/dist/trumps/s-article-preview.css");
910

1011
/* To undo "from v1 to v2" migration styles */

0 commit comments

Comments
 (0)