From b10dd484bf2615f4acf6cee637ad0a5b662ab6dc Mon Sep 17 00:00:00 2001 From: Kirchik Date: Sat, 2 Aug 2025 18:13:19 +0200 Subject: [PATCH] Update design 7 --- TEMPLATE_NEW_POST.md | 17 ++++++++++++++-- content/post/Bogolubovo_20250419_0.md | 10 ++++++--- content/post/Dukyn_20250425_0.md | 10 ++++++--- content/post/Kanyon_20250510_0.md | 13 +++++++----- content/post/Petushki_20250517_0.md | 12 +++++++---- content/post/Rjev_20251005_0.md | 11 ++++++---- content/post/Snazin_20250423_0.md | 10 ++++++--- static/css/mobile-pagination.css | 29 ++++++++++++++++++++++++++- 8 files changed, 87 insertions(+), 25 deletions(-) diff --git a/TEMPLATE_NEW_POST.md b/TEMPLATE_NEW_POST.md index e78c341..8bf0c94 100644 --- a/TEMPLATE_NEW_POST.md +++ b/TEMPLATE_NEW_POST.md @@ -27,8 +27,18 @@ disqus_identifier = '999' +--- + 📍 Локация -{{< yandex-map id="ВАША_КАРТА_ID" title="Название локации" >}} +{{< rawhtml >}} +
+ +
+{{< /rawhtml >}} + +{{< rawhtml >}} +{{< back-to-top >}} +{{< /rawhtml >}} {{< load-photoswipe >}} @@ -48,5 +58,8 @@ disqus_identifier = '999' - 📍 Локация: ОБЯЗАТЕЛЬНОЕ ПОЛЕ - всегда добавляйте карту с местоположением - Карты: {{< yandex-map id="..." >}} -Примечание: кнопка "Вернуться наверх" добавляется автоматически +Примечание: +- Всегда добавляйте дивайдер (---) перед 📍 Локация +- Используйте {{< back-to-top >}} вместо ручной ссылки +- Размер карты: 800x400 для лучшего отображения --> \ No newline at end of file diff --git a/content/post/Bogolubovo_20250419_0.md b/content/post/Bogolubovo_20250419_0.md index 7768854..365898e 100644 --- a/content/post/Bogolubovo_20250419_0.md +++ b/content/post/Bogolubovo_20250419_0.md @@ -19,11 +19,15 @@ disqus_identifier = '128' ![Bogolubovo0425](/images/Bogolubovo_20250419_6.jpg) -Локация +--- + +📍 Локация {{< rawhtml >}} - +
+ +
{{< /rawhtml >}} {{< rawhtml >}} -Вернуться в начало страницы +{{< back-to-top >}} {{< /rawhtml >}} \ No newline at end of file diff --git a/content/post/Dukyn_20250425_0.md b/content/post/Dukyn_20250425_0.md index 4808f99..768504b 100644 --- a/content/post/Dukyn_20250425_0.md +++ b/content/post/Dukyn_20250425_0.md @@ -14,11 +14,15 @@ disqus_identifier = '129' {{< youtube id="jXGd3HZl3io" >}} -Локация +--- + +📍 Локация {{< rawhtml >}} - +
+ +
{{< /rawhtml >}} {{< rawhtml >}} -Вернуться в начало страницы +{{< back-to-top >}} {{< /rawhtml >}} \ No newline at end of file diff --git a/content/post/Kanyon_20250510_0.md b/content/post/Kanyon_20250510_0.md index a6619e4..8ff0ee8 100644 --- a/content/post/Kanyon_20250510_0.md +++ b/content/post/Kanyon_20250510_0.md @@ -21,14 +21,17 @@ disqus_identifier = '132' ![Kanyon2505](/images/Kanyon_20250510_6.jpg) -Видео: https://youtu.be/3dQxelsU6mg - {{< youtube id="3dQxelsU6mg" >}} -Локация +--- + +📍 Локация {{< rawhtml >}} -{{< /rawhtml >}} +
+ +
+{{< /rawhtml >}} {{< rawhtml >}} -Вернуться в начало страницы +{{< back-to-top >}} {{< /rawhtml >}} diff --git a/content/post/Petushki_20250517_0.md b/content/post/Petushki_20250517_0.md index d88df74..d3994a6 100644 --- a/content/post/Petushki_20250517_0.md +++ b/content/post/Petushki_20250517_0.md @@ -16,13 +16,17 @@ disqus_identifier = '131' ![Petushki2505](/images/Petushki_20250517_5.jpg) -Видео https://youtu.be/4EHtC6LAdc4 {{< youtube id="4EHtC6LAdc4" >}} -Локация +--- + +📍 Локация {{< rawhtml >}} -{{< /rawhtml >}} +
+ +
+{{< /rawhtml >}} {{< rawhtml >}} -Вернуться в начало страницы +{{< back-to-top >}} {{< /rawhtml >}} diff --git a/content/post/Rjev_20251005_0.md b/content/post/Rjev_20251005_0.md index 01f10eb..b71b02d 100644 --- a/content/post/Rjev_20251005_0.md +++ b/content/post/Rjev_20251005_0.md @@ -18,14 +18,17 @@ disqus_identifier = '133' ![Rjev2505](/images/Rjev_20251005_6.jpg) -Видео: https://youtu.be/Ro0iHYZnvW8 {{< youtube id="Ro0iHYZnvW8" >}} -Локация +--- + +📍 Локация {{< rawhtml >}} - +
+ +
{{< /rawhtml >}} {{< rawhtml >}} -Вернуться в начало страницы +{{< back-to-top >}} {{< /rawhtml >}} \ No newline at end of file diff --git a/content/post/Snazin_20250423_0.md b/content/post/Snazin_20250423_0.md index 752361f..c7a943a 100644 --- a/content/post/Snazin_20250423_0.md +++ b/content/post/Snazin_20250423_0.md @@ -29,11 +29,15 @@ disqus_identifier = '130' {{< youtube id="PZOuu1K0zy4" >}} -Локация +--- + +📍 Локация {{< rawhtml >}} - +
+ +
{{< /rawhtml >}} {{< rawhtml >}} -Вернуться в начало страницы +{{< back-to-top >}} {{< /rawhtml >}} \ No newline at end of file diff --git a/static/css/mobile-pagination.css b/static/css/mobile-pagination.css index dd12cd2..126a09d 100644 --- a/static/css/mobile-pagination.css +++ b/static/css/mobile-pagination.css @@ -39,7 +39,11 @@ min-width: 80px !important; text-align: center !important; border-radius: 4px !important; - display: inline-block !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + line-height: 1.2 !important; + white-space: nowrap !important; } /* Показываем только навигационные кнопки */ @@ -47,6 +51,24 @@ .pagination li:has(.next) { display: block !important; } + + /* Дополнительное выравнивание для li элементов */ + .pagination li { + display: flex !important; + align-items: center !important; + justify-content: center !important; + } + + /* Убираем возможные конфликты со стилями темы */ + .pagination .previous a, + .pagination .next a { + display: flex !important; + align-items: center !important; + justify-content: center !important; + text-align: center !important; + width: 100% !important; + height: 100% !important; + } } @media (max-width: 480px) { @@ -55,5 +77,10 @@ padding: 0.7rem 1rem !important; font-size: 0.8rem !important; min-width: 70px !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + text-align: center !important; + line-height: 1.2 !important; } } \ No newline at end of file