Replace signature logo with photo and name

This commit is contained in:
Tanner Collin 2020-08-27 23:33:03 +00:00
parent 35fce33baa
commit f2e94e2ae9
4 changed files with 40 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

View File

@ -30,9 +30,15 @@
</div> </div>
<div class="content"> <div class="content">
<div class="topbar"> <div class="topbar">
<p> <img src="/theme/me.jpg" class="me" alt="A picture of me smiling" />
<img src="/theme/logo.png" alt="My name in handwriting" /> <div class="info">
</p> Tanner Collin
<p class="contact-icons">
<a href="mailto:site@tannercollin.com"><img src="/theme/mail.svg" /></a>
<a href="https://t.me/tannercollin" target="_blank"><img src="/theme/telegram.svg" /></a>
<a href="https://github.com/tannercollin" target="_blank"><img src="/theme/github.svg" /></a>
</p>
</div>
</div> </div>
{% block content %} {% block content %}
{% endblock %} {% endblock %}

View File

@ -54,14 +54,39 @@ pre {
} }
.topbar { .topbar {
text-align: center; display: table;
margin-bottom: 1.5rem; overflow: auto;
margin: auto;
margin-top: -0.5rem;
font-size: 1.5rem;
} }
.content .topbar img { .topbar .me {
filter: invert(100%); float: left;
width: 14rem; height: 6rem;
height: auto; width: auto;
}
.topbar .info {
float: left;
margin-top: -0.25rem;
margin-left: 1.5rem;
}
.topbar .contact-icons {
margin-top: 1.5rem;
margin-left: 0.25rem;
margin-bottom: 0;
}
.topbar .contact-icons a {
border-bottom: none;
}
.topbar .contact-icons img {
width: 1.5rem;
height: 1.5rem;
margin-right: 1rem;
} }
.toc { .toc {