minor: стили заголовков
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{# ЛЕВАЯ КОЛОНКА / Основной текст статьи #}<div class="col-span-2">
|
{# ЛЕВАЯ КОЛОНКА / Основной текст статьи #}<div class="col-span-2">
|
||||||
<!-- Заголовл -->
|
<!-- Заголовл -->
|
||||||
<h1 class="mb-4 text-3xl md:text-4xl leading-tight font-bold text-slate-900 md:text-4xl dark:text-slate-100">{% if article.s_article_title_html %}{{ article.s_article_title_html|safe }}{% else %}{{ article.s_article_title }}{% endif %}</h1>
|
<h1 class="mb-4 text-4xl leading-tight font-light text-slate-900 md:text-5xl dark:text-slate-100">{% if article.s_article_title_html %}{{ article.s_article_title_html|safe }}{% else %}{{ article.s_article_title }}{% endif %}</h1>
|
||||||
<!-- /Заголовок -->
|
<!-- /Заголовок -->
|
||||||
<!-- Мета-данные -->
|
<!-- Мета-данные -->
|
||||||
<div class="mb-6 items-center gap-4 border-b border-slate-200 pb-4 text-sm text-slate-500 dark:border-slate-800 dark:text-slate-400">
|
<div class="mb-6 items-center gap-4 border-b border-slate-200 pb-4 text-sm text-slate-500 dark:border-slate-800 dark:text-slate-400">
|
||||||
|
|||||||
@@ -95,17 +95,17 @@
|
|||||||
|
|
||||||
/* Заголовки внутри контента статьи */
|
/* Заголовки внутри контента статьи */
|
||||||
h1, h2, h3, h4 {
|
h1, h2, h3, h4 {
|
||||||
@apply font-bold text-slate-900 dark:text-slate-100 mt-8 mb-4 leading-snug;
|
@apply font-light text-slate-900 dark:text-slate-100 mt-8 mb-4 leading-snug;
|
||||||
}
|
}
|
||||||
h1 { @apply text-3xl md:text-4xl border-b border-slate-200 dark:border-slate-800 pb-2; }
|
h1 { @apply text-4xl md:text-5xl border-b border-slate-200 dark:border-slate-800 pb-2; }
|
||||||
h2 { @apply text-2xl md:text-3xl; }
|
h2 { @apply text-3xl md:text-4xl; }
|
||||||
h3 { @apply text-xl md:text-2xl; }
|
h3 { @apply text-2xl md:text-3xl; }
|
||||||
h4 { @apply text-lg md:text-xl; }
|
h4 { @apply text-lg md:text-xl; }
|
||||||
h5 { @apply text-base md:text-lg text-slate-700 dark:text-slate-300; }
|
h5 { @apply text-base md:text-lg text-slate-700 dark:text-slate-300; }
|
||||||
|
|
||||||
/* Параграфы и текстовые блоки */
|
/* Параграфы и текстовые блоки */
|
||||||
p {
|
p {
|
||||||
@apply my-4 leading-relaxed;
|
@apply my-4 leading-8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Списки (маркированные и нумерованные) */
|
/* Списки (маркированные и нумерованные) */
|
||||||
@@ -116,7 +116,7 @@
|
|||||||
@apply list-decimal list-outside space-y-2 pl-4 ml-4;
|
@apply list-decimal list-outside space-y-2 pl-4 ml-4;
|
||||||
}
|
}
|
||||||
li {
|
li {
|
||||||
@apply leading-normal;
|
@apply leading-8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Цитаты и выделенные блоки */
|
/* Цитаты и выделенные блоки */
|
||||||
|
|||||||
Reference in New Issue
Block a user