Adds link in cover

This commit is contained in:
Ketan Gupta
2016-07-02 23:39:18 +05:30
parent 23be604439
commit 8601168db3
2 changed files with 17 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<div class="cover-image center-vertical"><img class="center-both img-center-fill" src="/images/posts/{{ post.image }}" alt=""></div>
{% endif %}
<div class="cover center-both text-center">
<h1 class="title">{{ post.title }}</h1>
<a href="{{ post.url }}" class="cover-link"> <h1 class="title">{{ post.title }}</h1></a>
</div>
<div class="left">

View File

@ -164,12 +164,28 @@ body {
color: white;
}
.cover-link {
text-decoration: none;
}
.cover-link:hover {
text-decoration: none;
}
.title {
font-family: Merriweather;
font-size: 42px;
font-weight: bold;
color: #ffffff;
text-shadow: 1px 1px 10px #000000;
-webkit-transition: text-shadow 0.5s ease;
-moz-transition: text-shadow 0.5s ease;
-o-transition: text-shadow 0.5s ease;
transition: text-shadow 0.5s ease;
}
.title:hover {
text-shadow: 1px 1px 10px #777777;
}
.cover-image {