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

Adds fix for social icons missing #35

Merged
merged 1 commit into from
Dec 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}