blog.trnck.dev
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #31 from Ullaakut/force-bottom

Make stargazers and forks stick to bottom of repo cards

authored by

Brandon Rosage and committed by
GitHub
08c8e8a4 22818b3a

+13 -15
+1 -1
.gitignore
··· 1 1 *.gem 2 2 .bundle 3 3 .sass-cache 4 - _site 4 + _site/ 5 5 Gemfile.lock
+12 -14
_includes/repo-card.html
··· 1 - <div class="github-component height-full text-left {% if site.style == 'dark' %}box-shadow{% else %}border border-gray-light{% endif %} bg-white rounded-1 p-3"> 2 - <div class="d-flex flex-justify-between flex-items-start mb-1"> 3 - <h1 class="f4 lh-condensed mb-1"> 4 - <a href="{{ repository.html_url }}"> 5 - {% octicon repo height:20 class:"mr-1 v-align-middle" fill:"#586069" aria-label:repo %} 6 - {{ repository.name }} 7 - </a> 8 - </h1> 1 + <div class="github-component d-flex flex-column flex-justify-between height-full text-left {% if site.style == 'dark' %}box-shadow{% else %}border border-gray-light{% endif %} bg-white rounded-1 p-3"> 2 + <div> 3 + <div class="d-flex flex-justify-between flex-items-start mb-1"> 4 + <h1 class="f4 lh-condensed mb-1"> 5 + <a href="{{ repository.html_url }}"> 6 + {% octicon repo height:20 class:"mr-1 v-align-middle" fill:"#586069" aria-label:repo %} 7 + {{ repository.name }} 8 + </a> 9 + </h1> 10 + </div> 11 + <div class="text-gray mb-2 ws-normal">{{ repository.description }}</div> 9 12 </div> 10 - <div class="text-gray mb-2 ws-normal">{{ repository.description }}</div> 11 - <div class="d-flex f6 mt-2 text-gray"> 12 - {% if repository.language %} 13 - <span class="repo-language-color ml-0 mr-1" style="background-color:{{ site.data.colors[repository.language]["color"] }}"></span> 14 - <span class="mr-3" itemprop="programmingLanguage">{{ repository.language }}</span> 15 - {% endif %} 13 + <div class="d-flex f6"> 16 14 {% if repository.stargazers_count %} 17 15 <a href="{{ repository.html_url }}/stargazers" class="d-inline-block link-gray mr-4"> 18 16 <svg class="octicon octicon-star mr-1" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"></path></svg>{{ repository.stargazers_count }}