Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/amp-social-share/0.1/amp-social-share.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ amp-social-share:focus {

/* Twitter Styling */
.amp-social-share-twitter {
background-color: #1da1f2;
background-color: #000;
}

/* Facebook Styling */
Expand Down
4 changes: 2 additions & 2 deletions extensions/amp-social-share/1.0/amp-social-share.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ amp-social-share::part(button):focus {
outline-offset: 0 !important;
}

/* Twitter Styling */
/* X (fka Twitter) Styling */
.amp-social-share-twitter {
color: #fff;
background-color: #1da1f2;
background-color: #000;
}

/* Facebook Styling */
Expand Down
6 changes: 5 additions & 1 deletion extensions/amp-story/1.0/amp-story-tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,9 @@
}

.amp-social-share-twitter-no-background {
background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><path fill="#1da1f2" d="M153.6 301.6c94.4 0 146-78.2 146-146 0-2.2 0-4.4-.2-6.6a104.4 104.4 0 0 0 25.6-26.5 102.4 102.4 0 0 1-29.5 8 51.5 51.5 0 0 0 22.6-28.3 102.8 102.8 0 0 1-32.6 12.4 51.3 51.3 0 0 0-87.4 46.8 145.6 145.6 0 0 1-105.7-53.6 51.3 51.3 0 0 0 15.9 68.5 51 51 0 0 1-23.3-6.4v.6a51.3 51.3 0 0 0 41.1 50.3 51.2 51.2 0 0 1-23.1.9 51.4 51.4 0 0 0 48 35.6 103 103 0 0 1-63.8 22 104.4 104.4 0 0 1-12.2-.7 145.2 145.2 0 0 0 78.6 23"/></svg>');
background-image: url('data:image/svg+xml;charset=utf-8,<svg width="1200" height="1227" viewBox="0 0 1200 1227" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="#000" /></svg>');
}

.i-amphtml-story-tooltip-custom-icon.amp-social-share-twitter-no-background {
background-size: 70% !important;
}
3 changes: 2 additions & 1 deletion third_party/optimized-svg-icons/amp-social-share-svgs.css

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