[hugo/ux] use tailwind css
This commit is contained in:
parent
bbceb050c8
commit
ada8acf75e
1 changed files with 14 additions and 8 deletions
|
@ -12,11 +12,17 @@
|
||||||
(hiccup/html {:escape-strings? false}
|
(hiccup/html {:escape-strings? false}
|
||||||
[:html
|
[:html
|
||||||
[:head
|
[:head
|
||||||
[:meta {:name "referrer" :content "no-referrer"}]]
|
[:meta {:name "referrer" :content "no-referrer"}]
|
||||||
[:body {:style "margin: auto;max-width: 65%;"}
|
[:link {:rel "stylesheet" :href "/css/app.css"}]]
|
||||||
[:div
|
[:body
|
||||||
|
[:div {:class "container p-2 mx-auto"}
|
||||||
|
[:div {:class "flex flex-row flex-wrap py-4"}
|
||||||
|
[:div {:class "w-full sm:w-1/3 md:w-1/4 px-2"}
|
||||||
|
[:div {:class "sticky top-0 p-4 bg-slate-300 rounded-xl w-full"}
|
||||||
|
[:nav]]]
|
||||||
|
[:div {:class "w-full sm:w-2/3 md:w-3/4 pt-1 px-2"}
|
||||||
[:h1 (:title content)]
|
[:h1 (:title content)]
|
||||||
[:time (:time content)]
|
[:time (:time content)]
|
||||||
[:hr]]
|
[:hr]
|
||||||
[:div
|
[:div
|
||||||
(:content content)]]]))}))
|
(:content content)]]]]]]))}))
|
||||||
|
|
Loading…
Reference in a new issue