diff options
| -rw-r--r-- | bin/serve.fnl | 2 | ||||
| -rw-r--r-- | static/style.css | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index 420100e..4c2253e 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -309,7 +309,7 @@ :alt product.title} ""]] (site-name-template product.site) [:a {:href link :style "text-decoration: none;" :rel "nofollow"} - [:NO-ESCAPE (.. "<h2>" (unescape product.title) "</h2>")]] + [:NO-ESCAPE (.. "<div class=\"title\">" (unescape product.title) "</div>")]] [:div {:class "price"} (if product.price (.. (str.format-price product.price) "₽") "") (if (< 0 product.weight) diff --git a/static/style.css b/static/style.css index a1e9c86..898d7bf 100644 --- a/static/style.css +++ b/static/style.css @@ -66,8 +66,9 @@ h1, h2, h3, h4, h5, h6 { width: 12.5rem; } -.tile h2 { +.tile .title { font-size: 1rem; + font-weight: 900; margin-bottom: 0.25rem; margin-top: 0; } |
