diff --git a/sass/style.scss b/sass/style.scss index 6e3d0eb..1df0e7b 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -10,8 +10,8 @@ body { } main.songs { - display: grid; - grid-template-columns: 1fr 3fr; + display: flex; + flex-direction: column; gap: 1em; max-width: 50em; margin: 0 auto; @@ -22,7 +22,23 @@ main.songs { } .filters { - // ... + // `display: grid` is set via JS to prevent displaying the inputs + // on browsers wih JavaScript disabled. + display: none; + grid-template-columns: 2fr 1fr 1fr; + gap: 1em; + margin: 1em 0; + + &>* { + border: 1px solid #aaa; + border-radius: .5em; + padding: .5em 1em; + font-size: 1em; + } + + &>.button { + text-align: center; + } } .song-list { diff --git a/templates/index.html b/templates/index.html index d2a6fe2..c82d933 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,7 +12,9 @@ {% block content %}
- FILTERS + +
classic
+
mixtape
{% for song in section.pages %}