fixed width and responsiveness
This commit is contained in:
parent
a151516fd6
commit
f73005ac1a
@ -10,7 +10,7 @@
|
|||||||
{% for album in albums %}
|
{% for album in albums %}
|
||||||
<div class = "col-pad-2 card">
|
<div class = "col-pad-2 card">
|
||||||
<img src="{{album.image[3].text}}">
|
<img src="{{album.image[3].text}}">
|
||||||
<p style="text-align:center">{{ album.name }} / {{ album.artist.name -}}</p>
|
<p style="text-align:center">{{ album.name }}<br>{{ album.artist.name -}}</p>
|
||||||
<p style="text-align:center">{{- album.playcount }} plays</p>
|
<p style="text-align:center">{{- album.playcount }} plays</p>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -48,7 +48,7 @@ p {
|
|||||||
.gallerystrip img {
|
.gallerystrip img {
|
||||||
height: auto;
|
height: auto;
|
||||||
border: 10px solid #313439;
|
border: 10px solid #313439;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
box-shadow: 4px 4px 7px #070707;
|
box-shadow: 4px 4px 7px #070707;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ footer a {
|
|||||||
|
|
||||||
[class*="col-"] {
|
[class*="col-"] {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: calc(100% - 20px);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 768px) {
|
@media only screen and (min-width: 768px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user