Source code of my website
1
fork

Configure Feed

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

๐Ÿ’„ : correcly space sidebar social links

+13 -1
+11 -1
assets/css/custom.css
··· 54 54 } 55 55 } 56 56 57 + .sidebar-socials { 58 + border-top: solid 1px white; 59 + padding: 1rem 0 1rem 0; 60 + 61 + display: flex; 62 + justify-content: space-evenly; 63 + } 64 + 57 65 @media (max-width: 48em) { 58 66 .sidebar { 59 67 padding: 1rem; ··· 64 72 margin-top: 0; 65 73 margin-bottom: 0; 66 74 display: flex; 75 + flex-wrap: wrap; 67 76 justify-content: space-evenly; 68 77 gap: 1rem; 78 + border-top: none; 69 79 .heading { 70 80 text-decoration-line: underline; 71 81 text-decoration-style: dotted; ··· 78 88 display: none; 79 89 } 80 90 } 81 - .social { 91 + .sidebar-socials { 82 92 display: none; 83 93 } 84 94 .footnote {
+2
themes/poison/layouts/partials/sidebar/socials.html layouts/_partials/sidebar/socials.html
··· 1 + <div class="sidebar-socials"> 1 2 {{ if .Site.Params.github_url }} 2 3 <a target="_blank" class="social" title="GitHub" href="{{ .Site.Params.github_url }}"> 3 4 <svg xmlns="http://www.w3.org/2000/svg" width="1.2em" height="1.2em" viewBox="-2 -2 24 24"> ··· 146 147 </svg> 147 148 </a> 148 149 {{ end }} 150 + </div>