add: Шаблон для статьи + стили

This commit is contained in:
2026-08-08 20:49:05 +03:00
parent 74ce03b86e
commit fe7554a9f6
2 changed files with 14 additions and 10 deletions
+7 -6
View File
@@ -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;