aboutsummaryrefslogtreecommitdiffhomepage
path: root/explore.lisp
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-12-11 21:24:03 -0600
committershoshin <shoshin@cicadas.surf>2022-12-11 21:24:03 -0600
commit9fe45e4f7b54279f114e133e12a33f596dc7ef26 (patch)
tree2ceac1f9555efaaf9d123196620fc4c11eac5b3d /explore.lisp
parent8ea45fdb238952fa92d57979d71db61de105f59e (diff)
Add: more refinements to responsive styles
Diffstat (limited to 'explore.lisp')
-rw-r--r--explore.lisp10
1 files changed, 3 insertions, 7 deletions
diff --git a/explore.lisp b/explore.lisp
index 1774a2d..5c99fb8 100644
--- a/explore.lisp
+++ b/explore.lisp
@@ -8,15 +8,13 @@
(defun create-playlist-explore-card (parent pl)
(with-clog-create parent
- (div (:bind card)
+ (div (:bind card :class "card")
(a (:link (url-to-playlist pl) )
- (img (:bind thumb))
+ (img (:bind thumb :class "thumb"))
(br ())
(span (:content (playlist-title pl)))
(span (:content " -- "))
(span (:content (secs-to-hms (playlist-duration pl))))))
- (setf (maximum-width thumb) "180px"
- (width card) "200px")
(when-let (track (first (playlist-tracks pl)))
(setf (url-src thumb) (or (track-thumb-url track) "")))))
@@ -45,6 +43,4 @@
(recent-playlists-area ()))
(div ()
(section (:h3 :content "Who uses this?" :class "center"))
- (user-list ()))))
- (setf (maximum-width playlist-area) "80%"
- (minimum-width playlist-area) "500px")))
+ (user-list ()))))))