mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Supports customizing the width of the follow-me QR code (#837)
This commit is contained in:
parent
2791a406f1
commit
5f4210feab
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user