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;