~xdavidwu/xdavidwu.link

bdd3f972af180f7e1d5114ac895c0210934dbfa4 — xdavidwu 3 years ago 8f9f43a
footer: follow: move to flexbox
2 files changed, 4 insertions(+), 4 deletions(-)

M _includes/footer.html
M _sass/minimal-mistakes/_footer.scss
M _includes/footer.html => _includes/footer.html +3 -3
@@ 1,13 1,13 @@
<div class="page__footer-follow">
  <ul class="social-icons"><!--
  <ul class="social-icons">
    {% if site.footer.links %}
      {% for link in site.footer.links %}
        {% if link.label and link.url %}
        --><li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i>{{ link.label }}</a></li><!--
          <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i>{{ link.label }}</a></li>
        {% endif %}
      {% endfor %}
    {% endif %}
--></ul>
  </ul>
</div>

<div class="page__footer-copyright">&copy; {{ site.since }}-{{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a>. Based on <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.<br>Content is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA</a>. Code is <a href="{{ site.license_url }}">MIT</a>.</div>

M _sass/minimal-mistakes/_footer.scss => _sass/minimal-mistakes/_footer.scss +1 -1
@@ 34,10 34,10 @@
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
  }

  li {
    display: inline-block;
    font-size: $type-size-6;
    text-transform: uppercase;