Skip to content

Commit

Permalink
Add local footer social icons for mastodon and google scholar
Browse files Browse the repository at this point in the history
  • Loading branch information
jdwjdwjdw committed Jan 23, 2024
1 parent d50ae31 commit 3364c1c
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion themes/stanford_basic/dist/css/components.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions themes/stanford_basic/src/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
'filter-menu/index',
'hero/index',
'link/index.scss',
'local-footer/index',
'lockup/index',
'masthead/index',
'multi-menu/index',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@charset "UTF-8";

.su-local-footer {
.su-local-footer__social-google {
i {
&::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--%3E%3Cpath d='M390.9 298.5c0 0 0 .1 .1 .1c9.2 19.4 14.4 41.1 14.4 64C405.3 445.1 338.5 512 256 512s-149.3-66.9-149.3-149.3c0-22.9 5.2-44.6 14.4-64h0c1.7-3.6 3.6-7.2 5.6-10.7c4.4-7.6 9.4-14.7 15-21.3c27.4-32.6 68.5-53.3 114.4-53.3c33.6 0 64.6 11.1 89.6 29.9c9.1 6.9 17.4 14.7 24.8 23.5c5.6 6.6 10.6 13.8 15 21.3c2 3.4 3.8 7 5.5 10.5zm26.4-18.8c-30.1-58.4-91-98.4-161.3-98.4s-131.2 40-161.3 98.4L0 202.7 256 0 512 202.7l-94.7 77.1z'/%3E%3C/svg%3E");
}
}

&:hover,
&:focus {
i {
&::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--%3E%3Cpath fill='%234285f4' d='M390.9 298.5c0 0 0 .1 .1 .1c9.2 19.4 14.4 41.1 14.4 64C405.3 445.1 338.5 512 256 512s-149.3-66.9-149.3-149.3c0-22.9 5.2-44.6 14.4-64h0c1.7-3.6 3.6-7.2 5.6-10.7c4.4-7.6 9.4-14.7 15-21.3c27.4-32.6 68.5-53.3 114.4-53.3c33.6 0 64.6 11.1 89.6 29.9c9.1 6.9 17.4 14.7 24.8 23.5c5.6 6.6 10.6 13.8 15 21.3c2 3.4 3.8 7 5.5 10.5zm26.4-18.8c-30.1-58.4-91-98.4-161.3-98.4s-131.2 40-161.3 98.4L0 202.7 256 0 512 202.7l-94.7 77.1z'/%3E%3C/svg%3E");
}
}
}
}

.su-local-footer__social-mastodon {
i {
&::before {
content: fa-content($fa-var-mastodon);
}
}

&:hover,
&:focus {
i {
&::before {
color: #6364ff;
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@charset "UTF-8";

// Local Footer Roll Up

@import 'local-footer';

0 comments on commit 3364c1c

Please sign in to comment.