Skip to content

Commit

Permalink
update height
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhgChgLiBot committed Jan 14, 2025
1 parent d9cb56e commit c023ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _plugins/zhgchgli-customize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def load_medium_followers(url, limit = 10)
post.content = post.content.gsub(/(_\[Post\])(.*)(converted from Medium by \[ZMediumToMarkdown\])(.*)(\._)/, '')

headerHTML = <<-HTML
<widgetic id="64ce7263ecb2a197598b4567" resize="fill-width" height="30" autoscale="on"></widgetic><script async src="https://widgetic.com/sdk/sdk.js"></script>
<widgetic id="64ce7263ecb2a197598b4567" resize="fill-width" height="50" autoscale="on"></widgetic><script async src="https://widgetic.com/sdk/sdk.js"></script>
HTML

footerHTML = <<-HTML
Expand All @@ -56,7 +56,7 @@ def load_medium_followers(url, limit = 10)

footerHTML += <<-HTML
<a href="https://www.buymeacoffee.com/zhgchgli" target="_blank"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a beer&emoji=🍺&slug=zhgchgli&button_colour=FFDD00&font_colour=000000&font_family=Bree&outline_colour=000000&coffee_colour=ffffff" alt="Buy me a beer"/></a>
<widgetic id="64ce71d5ecb2a165598b4567" resize="fill-width" height="30" autoscale="on"></widgetic><script async src="https://widgetic.com/sdk/sdk.js"></script>
<widgetic id="64ce71d5ecb2a165598b4567" resize="fill-width" height="50" autoscale="on"></widgetic><script async src="https://widgetic.com/sdk/sdk.js"></script>
<div onclick="this.style.position='';" style="text-align: center; position: -webkit-sticky; position: sticky; bottom: 0; z-index: 1; margin: 0 -1rem; padding: 5px; background: var(--main-bg); border-bottom: 1px solid var(--main-border-color);transition: all .2s ease-in-out;"><a href="#{$medium_url}" target="_blank" style="display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 20px;font-size:16px;font-weight:bold;color:#ffffff;background-color:#00ab6c;border-radius:5px;text-decoration:none;box-shadow:0 4px 6px rgba(0,0,0,0.1);transition:all 0.3s ease;cursor:pointer;" onmouseover="this.style.backgroundColor='#008f5a';this.style.transform='translateY(-2px)';this.style.boxShadow='0 6px 10px rgba(0,0,0,0.15)';" onmouseout="this.style.backgroundColor='#00ab6c';this.style.transform='translateY(0)';this.style.boxShadow='0 4px 6px rgba(0,0,0,0.1)';">Follow Me on Medium <span style="font-size:14px;color:rgba(255,255,255,0.9);font-weight:normal;opacity:0.9;">#{$medium_followers}+ Followers</span></a></div>
HTML

Expand Down

0 comments on commit c023ed8

Please sign in to comment.