From fe7554a9f62171913c5bc76e9e4d5a8efec3ed74 Mon Sep 17 00:00:00 2001 From: erjemin Date: Sat, 8 Aug 2026 20:49:05 +0300 Subject: [PATCH] =?UTF-8?q?add:=20=D0=A8=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=81=D1=82=D0=B0=D1=82=D1=8C=D0=B8=20+?= =?UTF-8?q?=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lpon_site/templates/content/article_detail.html | 11 +++++++---- lpon_site/templates/css/tailwind-custom.css | 13 +++++++------ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/lpon_site/templates/content/article_detail.html b/lpon_site/templates/content/article_detail.html index 0a5486a..89c1e35 100644 --- a/lpon_site/templates/content/article_detail.html +++ b/lpon_site/templates/content/article_detail.html @@ -8,12 +8,15 @@ КОНТЕНТ НАЧАЛО {% endcomment %}
- {# ПРАВАЯ КОЛОНКА / Обложка / Иллюстрация статьи, если есть #}{% if article.k_article_to_image %}
- {{ article.k_article_to_image.default_alt_text|default:article.s_article_title }} -
{% endif %} + {# ПРАВАЯ КОЛОНКА / Обложка / Иллюстрация статьи, если есть #}
+ {% if article.k_article_to_image %}{{ article.k_article_to_image.default_alt_text|default:article.s_article_title }}{% else%}{% endif %} +
{# ЛЕВАЯ КОЛОНКА / Основной текст статьи #}
-

{% if article.s_article_title_html %}{{ article.s_article_title_html|safe }}{% else %}{{ article.s_article_title }}{% endif %}

+

{% if article.s_article_title_html %}{{ article.s_article_title_html|safe }}{% else %}{{ article.s_article_title }}{% endif %}

diff --git a/lpon_site/templates/css/tailwind-custom.css b/lpon_site/templates/css/tailwind-custom.css index f8a04fd..d866716 100644 --- a/lpon_site/templates/css/tailwind-custom.css +++ b/lpon_site/templates/css/tailwind-custom.css @@ -97,10 +97,11 @@ h1, h2, h3, h4 { @apply font-bold text-slate-900 dark:text-slate-100 mt-8 mb-4 leading-snug; } - h1 { @apply text-3xl md:text-3xl border-b border-slate-200 dark:border-slate-800 pb-2; } - h2 { @apply text-xl md:text-2xl; } - h3 { @apply text-lg md:text-xl; } - h4 { @apply text-base md:text-lg text-slate-700 dark:text-slate-300; } + h1 { @apply text-3xl md:text-4xl border-b border-slate-200 dark:border-slate-800 pb-2; } + h2 { @apply text-2xl md:text-3xl; } + h3 { @apply text-xl md:text-2xl; } + h4 { @apply text-lg md:text-xl; } + h5 { @apply text-base md:text-lg text-slate-700 dark:text-slate-300; } /* Параграфы и текстовые блоки */ p { @@ -109,10 +110,10 @@ /* Списки (маркированные и нумерованные) */ ul { - @apply list-disc list-outside space-y-2 pl-4; + @apply list-disc list-outside space-y-2 pl-4 ml-4; } ol { - @apply list-decimal list-outside space-y-2 pl-4; + @apply list-decimal list-outside space-y-2 pl-4 ml-4; } li { @apply leading-normal;