diff options
Diffstat (limited to 'site/css.lisp')
-rw-r--r-- | site/css.lisp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/site/css.lisp b/site/css.lisp new file mode 100644 index 0000000..ab01990 --- /dev/null +++ b/site/css.lisp @@ -0,0 +1,29 @@ +(in-package #:vampire) + +(defparameter +main-style+ + (lass:compile-and-write + ;; Add variables here, not just for reuse, but also for at-a-glance + ;; documentation and easy-of-fiddling + '(:let ((main-bg "#1c1c1c") + (secondary-bg "#2e2e2e") + (tertiary-bg "#cccccc") + (main-color "#e8e7d5") + (secondary-color "#ffffff") + (tertiary-color "#000000")) + (body + :background #(main-bg) + :color #(main-color) + :justify-content center + :display flex + :width 90vw + :margin auto) + + ;;(button) + + ;;((and button :hover)) + ))) + +(wknd:defendpoint style.css + :get :route "css" "style.css" + :returns "text/css" + :handle +main-style+) |