Supports customizing the width of the follow-me QR code (#837)

This commit is contained in:
Jiajun-Peng 2025-03-31 10:05:57 +08:00 committed by GitHub
parent 2791a406f1
commit 5f4210feab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -47,9 +47,10 @@ if (hexo-config('follow_me')) {
.social-item-img {
display: none;
left: 50%;
max-width: $post-reward-img-width;
max-width: $post-followme-img-width;
position: absolute;
transform: translate(-50%, 20px);
z-index: 1;
}
}
}

View File

@ -294,6 +294,7 @@ $post-eof-margin-bottom = 60px; // or 120px for less white space;
$post-card-margin = 1em 0 0;
$post-reward-img-width = 180px;
$post-followme-img-width = $post-reward-img-width;
// Note colors