css changes
This commit is contained in:
parent
6a065df685
commit
9ebf599a07
@ -192,11 +192,10 @@ a:hover {
|
|||||||
/* Text Settings
|
/* Text Settings
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 30pt; */
|
line-height: 30pt; */
|
||||||
line-height: 0;
|
|
||||||
font-size: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.albums img {
|
|
||||||
|
.real-albums img {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
padding: 0 0;
|
padding: 0 0;
|
||||||
@ -204,9 +203,18 @@ a:hover {
|
|||||||
border: 0 0;
|
border: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.albums h1 {
|
.real-albums {
|
||||||
font-size: normal;
|
line-height: 0;
|
||||||
text-align: center;
|
font-size: 0;
|
||||||
padding: 0.5em 0;
|
padding: 0 0;
|
||||||
|
margin: 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.albums h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
text-align: center;
|
||||||
|
padding: 0 0;
|
||||||
|
margin: 15pt 0;
|
||||||
|
margin-top: -5pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,14 +31,16 @@
|
|||||||
|
|
||||||
<div class="albums">
|
<div class="albums">
|
||||||
<h1>Top Albums</h1>
|
<h1>Top Albums</h1>
|
||||||
{% for album in top_albums %}
|
<div class="real-albums">
|
||||||
<a title="{{ album.album_name}} by {{ album.artist_name }} - {{ album.listen_time }} Hours">
|
{% for album in top_albums %}
|
||||||
<img src="{{ album.album_cover }}">
|
<a title="{{ album.album_name}} by {{ album.artist_name }} - {{ album.listen_time }} Hours">
|
||||||
</a>
|
<img src="{{ album.album_cover }}">
|
||||||
{% if loop.index % 3 == 0 %}
|
</a>
|
||||||
<br>
|
{% if loop.index % 3 == 0 %}
|
||||||
{% endif %}
|
<br>
|
||||||
{% endfor %}
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user