Justify movie plots, add the imdb link

This commit is contained in:
Grégoire Delattre 2016-11-06 21:40:54 +01:00
parent a60528da15
commit 81207046a5
2 changed files with 16 additions and 1 deletions

View File

@ -9,4 +9,13 @@ body {
background-color:#f1c40f;
}
.movie-plot {
.text-justify;
margin-right: 5%;
}
.movie-details-buttons {
position: fixed;
bottom: 1%;
right: 1%;
}

View File

@ -40,7 +40,13 @@
{{ .Rating }} <small>({{ .Votes }} counts)</small>
</p>
<p>{{ .Plot }}</p>
<p class="movie-plot">{{ .Plot }}</p>
<div class="movie-details-buttons">
<a id="imdb-link" type="button" class="btn btn-warning" href="http://www.imdb.com/title/{{ .ImdbID }}">
IMDB
</a>
</div>
</div>
{{ end}}
</div>