Skip to content
Open
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 assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

Empty file modified assets/built/source.js
100644 → 100755
Empty file.
33 changes: 32 additions & 1 deletion assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,6 @@ Search LOGO Login Subscribe
display: flex;
align-items: center;
gap: 8px;
margin-top: 20px;
margin-left: 6px;
}

Expand Down Expand Up @@ -3333,3 +3332,35 @@ body[class*=" gh-font-heading"]:not(.gh-font-heading-fira-sans):not(.gh-font-hea
.pswp--minimal--dark .pswp__top-bar {
background: none;
}

/* SHARE */
.gh-meta-share {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 20px;
}

.has-light-text .gh-button-share {
border-color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.85);
}

.has-light-text .gh-button-share:hover {
border-color: rgba(255, 255, 255, 0.85);
}

.gh-button-share {
display: inline-flex;
align-items: center;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 999px;
color: rgba(0, 0, 0, 0.85);
background: transparent;
cursor: pointer;
transition: all 0.4s ease;
}

.gh-button-share:hover {
border-color: rgba(0, 0, 0, 0.5);
}
45 changes: 25 additions & 20 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,33 @@
{{/if}}

{{#if @custom.show_post_metadata}}
<div class="gh-article-meta">
<div class="gh-article-author-image instapaper_ignore">
{{#foreach authors}}
{{#if profile_image}}
<a href="{{url}}">
<img class="author-profile-image" src="{{img_url profile_image size="xs"}}" alt="{{name}}">
</a>
{{else}}
<a href="{{url}}">{{> "icons/avatar"}}</a>
{{/if}}
{{/foreach}}
</div>
<div class="gh-article-meta-wrapper">
<h4 class="gh-article-author-name">{{authors}}</h4>
<div class="gh-article-meta-content">
<time class="gh-article-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
{{#if reading_time}}
<span class="gh-article-meta-length"><span class="bull">—</span> {{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
{{/if}}
<div class="gh-meta-share">
<div class="gh-article-meta">
<div class="gh-article-author-image instapaper_ignore">
{{#foreach authors}}
{{#if profile_image}}
<a href="{{url}}">
<img class="author-profile-image" src="{{img_url profile_image size="xs"}}" alt="{{name}}">
</a>
{{else}}
<a href="{{url}}">{{> "icons/avatar"}}</a>
{{/if}}
{{/foreach}}
</div>
<div class="gh-article-meta-wrapper">
<h4 class="gh-article-author-name">{{authors}}</h4>
<div class="gh-article-meta-content">
<time class="gh-article-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time>
{{#if reading_time}}
<span class="gh-article-meta-length"><span class="bull">—</span> {{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
{{/if}}
</div>
</div>
</div>
<a href="#/share" class="gh-button gh-button-share">
Share
</a>
</div>
</div>
{{/if}}

{{> "feature-image"}}
Expand Down