.link { display: inline-flex; align-items: center; color: var(--medium-dark); line-height: 1; text-decoration: none; padding: 0.6em; } .link:hover, .link.current { border-bottom: 0.2em solid; margin-bottom: -0.2em; } .link:hover { border-color: var(--kinda-light); } .link.current { border-color: var(--link-underline); } .icon { width: 1.25em; height: 1.25em; vertical-align: -0.3em; } .label { font-size: 0.95em; font-weight: 500; margin-top: 0.1em; margin-left: 0.8em; } @media screen and (max-width: 768px) { .icon { width: 1.8em; height: 1.8em; } /* hide text next to emojis on mobile */ .label { display: none; } }