mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 08:36:04 +01:00
110aae8048
This change adds general code quality and documentation improvements. More info here: https://github.com/WordPress/twentynineteen/pull/546 Props grapplerulrich, iCaleb, allancole. Merges [44187] to trunk. See #45424. Built from https://develop.svn.wordpress.org/trunk@44298 git-svn-id: http://core.svn.wordpress.org/trunk@44128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
67 lines
1.2 KiB
SCSS
67 lines
1.2 KiB
SCSS
/* Social menu */
|
|
|
|
.social-navigation {
|
|
margin-top: calc(#{$size__spacing-unit} / 2 );
|
|
text-align: left;
|
|
|
|
ul.social-links-menu {
|
|
@include clearfix;
|
|
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
li {
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
vertical-align: -webkit-baseline-middle;
|
|
list-style: none;
|
|
|
|
&:nth-child(n+2) {
|
|
margin-left: 0.1em;
|
|
}
|
|
|
|
a {
|
|
border-bottom: 1px solid transparent;
|
|
display: block;
|
|
color: $color__text-main;
|
|
margin-bottom: -1px;
|
|
transition: opacity $link_transition ease-in-out;
|
|
|
|
&:hover,
|
|
&:active {
|
|
color: $color__text-main;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
&:focus {
|
|
color: $color__text-main;
|
|
opacity: 1;
|
|
border-bottom: 1px solid $color__text-main;
|
|
}
|
|
|
|
svg {
|
|
display: block;
|
|
width: 32px;
|
|
height: 32px;
|
|
|
|
// Prevent icons from jumping in Safari using hardware acceleration.
|
|
transform: translateZ(0);
|
|
|
|
&#ui-icon-link {
|
|
transform: rotate(-45deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.site-title + .social-navigation,
|
|
.site-description + .social-navigation {
|
|
|
|
@include media(tablet) {
|
|
margin-top: calc(#{$size__spacing-unit} / 5 );
|
|
}
|
|
}
|