summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-05-20 09:46:52 -0700
committercolin <colin@cicadas.surf>2023-05-20 09:46:52 -0700
commit53da0bfb9be3fe1fb203fc6ed3cb6e29edb45246 (patch)
tree36762a71230289dd72ab292a74ea521c903a83db
parent4aa6dc4cf4434b2855b72edb656cd294b7f9db24 (diff)
Css changes
-rw-r--r--fussy.lisp20
1 files changed, 9 insertions, 11 deletions
diff --git a/fussy.lisp b/fussy.lisp
index a67609f..dc5a991 100644
--- a/fussy.lisp
+++ b/fussy.lisp
@@ -409,8 +409,11 @@ that they are not loaded during image gen.")
(html:with-html
(:link :rel "stylesheet" :type "text/css" :href "/css/style.css")))
-(defparameter +css-reset+
- "
+
+(defparameter +style-css+
+ "
+/* CSS Reset */
+
html {
box-sizing: border-box;
font-size: 16px;
@@ -435,11 +438,8 @@ img {
height: auto;
}
-")
-
+/* Custom CSS */
-(defparameter +style-css+
- "
html, body {
height: 100%;
}
@@ -447,11 +447,12 @@ html, body {
.main {
height: 100%;
width: 100%;
- background-color: #eeeeff;
+ background-color: #fafffa;
}
.container {
width: 100%;
+ background-color: #fafffa;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
@@ -505,10 +506,7 @@ h1 {
(lzb:defendpoint* :get "/css/style.css" () ()
"Endpoint generating and serving main css"
(setf (lzb:response-header :content-type) "text/css")
- (concatenate 'string
- +css-reset+
- '(#\newline)
- +style-css+))
+ +style-css+)
(lzb:defendpoint* :get "/images/:pkg:/:theme:/:image:" () ()
"Endpoint for serving theme preview images"