Rewrite index page

This commit is contained in:
2018-06-24 15:28:09 +03:00
parent adff4807dd
commit 071b4f6904
8 changed files with 76 additions and 48 deletions

View File

@ -0,0 +1,22 @@
%external-link-icon {
display: inline-block;
margin-left: 0.6em;
color: $base-font-color;
font-size: $base-font-size - 4px;
@media (max-width: $first-media-step) {
font-size: $base-font-size - 2px;
}
}
a[href*="//github.com"]:after {
@extend %external-link-icon;
font-family: 'Font Awesome 5 Brands', serif;
content: '\f09b';
}
a[target="_blank"]:not([href*="//github.com"]):after {
@extend %external-link-icon;
font-family: 'Font Awesome 5 Free', serif;
content: '\f35d';
}

View File

@ -0,0 +1,17 @@
.social {
list-style: none;
padding: 0;
margin: 3em 0;
display: block;
text-align: center;
&__item {
display: inline-block;
margin: 0 0.5em;
font-size: 180%;
}
&__link {
color: inherit;
}
}