diff options
| -rw-r--r-- | bin/serve.fnl | 4 | ||||
| -rw-r--r-- | static/style.css | 14 | ||||
| -rw-r--r-- | texts.fnl | 5 |
3 files changed, 20 insertions, 3 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index 27cfae5..4b8a991 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -396,7 +396,9 @@ spellfix-suggestion spellfix-suggestion)] [:NO-ESCAPE texts.no-results])) - [:footer {} paginator]]]]]]) + [:div {} paginator] + [:footer {} + [:p {:class "text"} [:NO-ESCAPE texts.footer-text]]]]]]]]) (fn root-handler [{: path : query}] (local cache-key (.. "page:" path "?" (serialize-query query))) diff --git a/static/style.css b/static/style.css index d4c0001..ed44a8d 100644 --- a/static/style.css +++ b/static/style.css @@ -165,10 +165,20 @@ h1, h2, h3, h4, h5, h6 { object-fit: contain; } -.description-text { +.text { max-width: 50rem; - margin-bottom: 2rem; line-height: 1.4; + margin: 0; +} + +.description-text { + margin-bottom: 2rem; +} + +footer { + padding-top: 1rem; + border-top: 1px solid #cfcfcf99; + margin-top: 1rem; } @media screen and (max-width: 44.9rem) { @@ -2,6 +2,11 @@ :no-results-with-suggestion "По вашему запросу нет результатов. Возможно, вы имели в виду <a href=\"?query=%s\">%s</a>?" :meta-title "everytea.ru — каталог китайского чая" :meta-description "Каталог китайского чая и связанных товаров, автоматически собирающий данные с сайтов чайных." + :footer-text "everytea.ru не является интернет-магазином. +Все права на изображения и названия товаров принадлежат +соответствующим авторам. Наличие товаров, актуальность цен, +условия доставки и прочие детали необходимо уточнять на сайтах продавцов. +E-mail для связи: <a href=\"mailto:contact@everytea.ru\">contact@everytea.ru</a>." :red-tea-description " <p>Красный китайский чай (хун ча, 红茶), известный за пределами Китая как черный чай.</p> |
