summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mulk/benki/book_marx.clj5
-rw-r--r--static/style/bookmarx.css10
2 files changed, 14 insertions, 1 deletions
diff --git a/src/mulk/benki/book_marx.clj b/src/mulk/benki/book_marx.clj
index 1883f3f..000e9c8 100644
--- a/src/mulk/benki/book_marx.clj
+++ b/src/mulk/benki/book_marx.clj
@@ -28,6 +28,9 @@
{:head (list
[:link {:rel "stylesheet"
:href (resolve-uri "/style/hammer-and-sickle.css")
+ :type "text/css"}]
+ [:link {:rel "stylesheet"
+ :href (resolve-uri "/style/bookmarx.css")
:type "text/css"}])})
(def bookmarx-submission-page
{:head (list
@@ -81,7 +84,7 @@
[:span {:class "bookmark-date"}
(escape-html (format-date (:date mark)))]
[:span {:class "bookmark-owner"} " by " (escape-html (:first_name mark))]]
- [:p {:class "bookmark-description"}
+ [:div {:class "bookmark-description"}
(htmlize-description (:description mark))]])]]))))
(defpage "/marx/tags" {}
diff --git a/static/style/bookmarx.css b/static/style/bookmarx.css
new file mode 100644
index 0000000..f200c9d
--- /dev/null
+++ b/static/style/bookmarx.css
@@ -0,0 +1,10 @@
+.bookmark-date-and-owner {
+ font-style: oblique;
+ color: #555;
+ /* text-indent: 1.5em; */
+ /* margin-left: 1.5em; */
+}
+
+.bookmark-description {
+ margin-left: 1.5em;
+}