nothing broken but nothing happening either, now with more css

This commit is contained in:
Thel Seraphim 2015-03-13 21:14:23 -07:00
parent e7f1120416
commit bb925b1e74
3 changed files with 13 additions and 1 deletions

5
resources/pronouns.css Normal file
View File

@ -0,0 +1,5 @@
.about {
font: large cursive
border:1px solid #060606
background-color:#F6CEFC
}

View File

@ -72,7 +72,9 @@
[subject object possessive-determiner possessive-pronoun reflexive]
(html
[:html
[:head ""]
[:head
[:title "Pronoun examples"]
[:link {:rel "stylesheet" :href "/pronouns.css"}]]
[:body
(examples-block subject object possessive-determiner possessive-pronoun reflexive)
(about-block)

View File

@ -28,6 +28,11 @@
:headers {"Content-Type" "text/html"}
:body (pages/pronouns (:* params) pronouns-table)})
(GET "/pronouns.css" {params :params}
{:status 200
:headers {"Content-Type" "text/css"}
:body (slurp (io/resource "pronouns.css"))})
(ANY "*" []
(route/not-found (slurp (io/resource "404.html")))))