Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ module.exports = {
className: "footer-slack-link",
},
{
label: "Twitter",
href: "https://twitter.com/pecanproject",
label: "𝕏 (formerly Twitter)",
href: "https://x.com/pecanproject",
className: "footer-twitter-link",
Comment thread
allgandalf marked this conversation as resolved.
Outdated
},
],
Expand Down
6 changes: 3 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ html[data-theme="dark"] .footer-slack-link::before {
background-size: contain;
}

.footer-twitter-link {
.footer-x-link {
display: flex;
align-items: center;
gap: 8px;
color: var(--ifm-footer-link-color);
}

.footer-twitter-link::before {
.footer-x-link::before {
content: "";
width: 24px;
height: 24px;
Expand All @@ -139,7 +139,7 @@ html[data-theme="dark"] .footer-slack-link::before {
background-size: contain;
}

html[data-theme="dark"] .footer-twitter-link::before {
html[data-theme="dark"] .footer-x-link::before {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.053,7.988l5.631,8.024h-1.497L8.566,7.988H10.053z M21,21H3V3h18V21z M17.538,17l-4.186-5.99L16.774,7h-1.311l-2.704,3.16L10.552,7H6.702l3.941,5.633L6.906,17h1.333l3.001-3.516L13.698,17H17.538z'/%3E%3C/svg%3E") no-repeat center;
background-size: contain;
}
Expand Down
Loading