Compare commits
1 Commits
33428ae44f
...
4d49471633
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d49471633 |
+15
-1
@@ -389,9 +389,12 @@ ul.menuitems {
|
||||
.social-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
list-style: none;
|
||||
margin: 3rem 0 0 0;
|
||||
/* At least double the standard 3rem inter-section gap (e.g. the gap
|
||||
above "Tags:") to set the icon row apart from the sidebar nav. */
|
||||
margin: 6rem 0 0 0;
|
||||
}
|
||||
|
||||
.social-links li {
|
||||
@@ -417,6 +420,17 @@ ul.menuitems {
|
||||
height: 1.25rem;
|
||||
}
|
||||
|
||||
/* About-me page variant: bigger icons, distinct gap from the text above. */
|
||||
.social-links--large {
|
||||
margin-top: 3rem;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.social-links--large svg {
|
||||
width: 5rem;
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
|
||||
.menuitems {
|
||||
list-style: none;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if SOCIAL %}
|
||||
<ul class="social-links">
|
||||
<ul class="social-links{% if social_links_variant %} social-links--{{ social_links_variant }}{% endif %}">
|
||||
{% for name, url, icon in SOCIAL %}
|
||||
<li><a href="{{ url }}" rel="me" aria-label="{{ name }}" title="{{ name }}">{% include "icons/" ~ icon ~ ".svg" %}</a></li>
|
||||
{% endfor %}
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
{{ page.content }}
|
||||
|
||||
{% if page.slug == 'about-me' %}
|
||||
{% set social_links_variant = 'large' %}
|
||||
{% include "includes/social_links.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user