Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #35 from bigbitecreative/hotfix/social-icons
Browse files Browse the repository at this point in the history
Adds fix for social icons missing
  • Loading branch information
jaymcp authored Dec 11, 2018
2 parents b18b7c5 + 811dcdf commit c153c1d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
14 changes: 8 additions & 6 deletions src/styles/components/_social.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
width: 20px;
height: 20px;
color: transparent;
visibility: hidden;
}

.social-facebook::after,
.social-google::after,
.social-instagram::after,
.social-twitter::after,
.social-youtube::after {
position: absolute;
top: calc(50% - 14px);
left: calc(50% - 14px);
content: "";
width: 20px;
height: 20px;
Expand All @@ -26,21 +28,21 @@
}

.social-facebook::after {
@include icon_svg(20px, 20px, "black", "facebook");
@include icon_svg(20px, 20px, "white", "facebook");
}

.social-google::after {
@include icon_svg(20px, 20px, "black", "google");
@include icon_svg(20px, 20px, "white", "google");
}

.social-instagram::after {
@include icon_svg(20px, 20px, "black", "instagram");
@include icon_svg(20px, 20px, "white", "instagram");
}

.social-twitter::after {
@include icon_svg(20px, 20px, "black", "twitter");
@include icon_svg(20px, 20px, "white", "twitter");
}

.social-youtube::after {
@include icon_svg(20px, 20px, "black", "youtube");
@include icon_svg(20px, 20px, "white", "youtube");
}
13 changes: 7 additions & 6 deletions src/styles/layout/_page-foot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
flex-wrap: wrap;
justify-content: center;
margin: 0;
margin-left: 18px;
margin-left: 10px;
list-style: none;

.rtl & {
Expand All @@ -273,12 +273,13 @@
}

.page-footerSocial a {
@include state-background(lighten($color-black, 20%));
display: block;

&:hover {
text-decoration: none;
}
}

.page-footerSocial a span {
padding: 10px;
width: 40px;
height: 40px;
.page-footerSocial a {
margin: 0 5px;
}

0 comments on commit c153c1d

Please sign in to comment.