blog.trnck.dev

Contribution calendar

+20 -1
+19
_layouts/home.html
··· 1 1 {% include header.html %} 2 + <link 3 + rel="stylesheet" 4 + href="https://unpkg.com/github-calendar@latest/dist/github-calendar-responsive.css" 5 + /> 2 6 3 7 {% if site.layout == 'stacked' %} 4 8 <div class="container-lg py-6 p-responsive text-center"> ··· 49 53 {% include interests.html %} 50 54 {% endif %} 51 55 56 + <!-- Include the calendar library. --> 57 + <script 58 + src="https://unpkg.com/github-calendar@latest/dist/github-calendar.min.js" 59 + ></script> 52 60 61 + 62 + <!-- Prepare a container for your calendar. --> 63 + <div class="calendar"> 64 + <!-- Loading stuff --> 65 + Loading the data just for you. 66 + </div> 67 + 68 + <script> 69 + GitHubCalendar(".calendar", "filiptronicek", { responsive: true }); 70 + </script> 71 + 53 72 </div> 54 73 </div> 55 74 </div>
+1 -1
assets/styles.scss
··· 91 91 .octicon { 92 92 filter: invert(1); 93 93 } 94 - .link-gray-dark { 94 + .link-gray-dark, .contrib-number { 95 95 color: #e4e4e4 !important; 96 96 } 97 97 .border-md-right,