diff --git a/static/css/site.css b/static/css/site.css index 95b3c76..bc598de 100644 --- a/static/css/site.css +++ b/static/css/site.css @@ -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; diff --git a/templates/includes/social_links.html b/templates/includes/social_links.html index b2e038b..abe73c5 100644 --- a/templates/includes/social_links.html +++ b/templates/includes/social_links.html @@ -1,5 +1,5 @@ {% if SOCIAL %} -