css changes

This commit is contained in:
0x01fe 2024-04-04 15:48:29 -05:00
parent 6a065df685
commit 9ebf599a07
2 changed files with 25 additions and 15 deletions

View File

@ -192,11 +192,10 @@ a:hover {
/* Text Settings
font-weight: bold;
line-height: 30pt; */
line-height: 0;
font-size: 0;
}
.albums img {
.real-albums img {
height: 100px;
width: 100px;
padding: 0 0;
@ -204,9 +203,18 @@ a:hover {
border: 0 0;
}
.albums h1 {
font-size: normal;
text-align: center;
padding: 0.5em 0;
.real-albums {
line-height: 0;
font-size: 0;
padding: 0 0;
margin: 0 0;
}
.albums h1 {
font-size: 2em;
text-align: center;
padding: 0 0;
margin: 15pt 0;
margin-top: -5pt;
}

View File

@ -31,14 +31,16 @@
<div class="albums">
<h1>Top Albums</h1>
{% for album in top_albums %}
<a title="{{ album.album_name}} by {{ album.artist_name }} - {{ album.listen_time }} Hours">
<img src="{{ album.album_cover }}">
</a>
{% if loop.index % 3 == 0 %}
<br>
{% endif %}
{% endfor %}
<div class="real-albums">
{% for album in top_albums %}
<a title="{{ album.album_name}} by {{ album.artist_name }} - {{ album.listen_time }} Hours">
<img src="{{ album.album_cover }}">
</a>
{% if loop.index % 3 == 0 %}
<br>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</body>