1
Fork 0

Make everything in the social list a link

This commit is contained in:
Jake Howard 2018-01-01 17:26:31 +00:00
parent b5360cebc6
commit d451ad6d6c
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 14 additions and 2 deletions

View file

@ -2,9 +2,13 @@
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
<div class="col-sm-3 mt-3">
<div class="card text-center">
<h1 class="display-3"><i class="{{ $e.icon }}"></i></h1>
<a href="{{ $e.icon }}" class="colour-invert">
<h1 class="display-3"><i class="{{ $e.icon }}"></i></h1>
</a>
<div class="card-body">
<h3>{{ $e.name }}</h3>
<a href="{{ $e.icon }}" class="colour-invert">
<h3>{{ $e.name }}</h3>
</a>
<a href="{{ $e.link }}">
<p>{{ $e.username }}</p>
</a>

View file

@ -18,6 +18,14 @@ a {
&:hover {
color: $black;
}
&.colour-invert {
color: $black;
&:hover {
color: $primary;
}
}
}
pre code {