Skip to content

Commit

Permalink
draft
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Oct 12, 2023
1 parent 3d32bfe commit 5b69779
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions _includes/post/playlist.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="playlist-container">
<div class="playlist-media">
{% capture src %}{{page.playlist | slugify}}.png{% endcapture %} {% include
img.html src=src alt='album art' width='1000' height='1000' %} {% if
page.spotify %}
img.html src=src class='img-half' alt='album art' width='1000' height='1000'
%} {% if page.spotify %}
<p class="playlist-meta">
<a href="{{ page.spotify }}" class="btn"
>{% include icons/headphones.svg %} Listen on Spotify</a
Expand Down
16 changes: 8 additions & 8 deletions assets/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -421,16 +421,16 @@ picture {
grid-column: span 12;
}

.playlist-container {
display: flex;
grid-gap: 2em;
}
@media (width >= 50rem) {
.playlist-container {
display: flex;
grid-gap: 2em;
}

.playlist-container .playlist {
flex-grow: 1;
}
.playlist-container .playlist {
flex-grow: 1;
}

@media (width >= 50rem) {
.playlist-media {
max-width: 19rem;
}
Expand Down

0 comments on commit 5b69779

Please sign in to comment.