summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-04-06 17:28:29 -0700
committercolin <colin@cicadas.surf>2023-04-06 17:28:29 -0700
commite24e3687944295f8bb1c634d6186c8bb651c18c2 (patch)
tree58f9ce40ec7022b25b2ea3490bb0a26765510c49
parentcf12cbb055e8065b7c039eef844ce1cf18cf970c (diff)
Tweaking display
-rw-r--r--fussy.lisp27
1 files changed, 12 insertions, 15 deletions
diff --git a/fussy.lisp b/fussy.lisp
index b67a8cb..11b3f4c 100644
--- a/fussy.lisp
+++ b/fussy.lisp
@@ -340,7 +340,7 @@ that they are not loaded during image gen.")
(defun nav ()
(html:with-html
(:nav
- (:a :href "/" "Fussy"))))
+ (:a :href "/" (:h1 "FUSSY")))))
(defun page-nav (page page-count)
"relative pagination nav to current page."
@@ -486,11 +486,10 @@ h1 {
(style))
(:body
(:div :class "main"
- (:h1 "FUSSY")
+ (nav)
(:p :class "center"
"Emacs Themes Gallery for your Daily Procrastination Needs." (:br)
(write-to-string (length all-themes)) " themes and counting...")
- (nav)
(page-nav page (length all-themes))
(:div )
(:div :class "container"
@@ -523,17 +522,15 @@ h1 {
(style))
(:body
(:div :class "main"
- (:h1 (package-namestring pkg) )
(nav)
- (:div :class "info"
- (:dl
- (:dt "Description")
- (:dd (theme-pkg-description pkg))
- (:dt "URL")
- (:dd (:a :href (theme-pkg-url pkg)
- (theme-pkg-url pkg)))
- (:dt "Number of Themes")
- (:dd (length themes))))
+ (:div :class "center"
+ (:h2 (package-namestring pkg) )
+ (:p (theme-pkg-description pkg))
+ (:p "This package contains"
+ (length themes)
+ (if (= 1 (length themes)) " theme" " themes"))
+ (:p (:a :href (theme-pkg-url pkg)
+ (theme-pkg-url pkg))))
(:div :class "container"
(dolist (theme themes)
(theme-preview-card theme)))))))))
@@ -553,9 +550,9 @@ h1 {
(style))
(:body
(:div :class "main"
- (:h1 theme)
(nav)
- (:div
+ (:div :class "center"
+ (:h2 theme)
(:p "A theme in the package "
(:a :href (url-path pkg) (package-namestring pkg))))
(:div :class "container"