complex text style changes

This commit is contained in:
Yuri Kuznetsov
2025-02-10 16:57:31 +02:00
parent f59122254d
commit 280accd9ad
2 changed files with 26 additions and 16 deletions
+25 -15
View File
@@ -2727,36 +2727,46 @@ table.table td.cell .html-container {
}
h1 {
font-weight: 600;
margin-top: var(--line-height-computed);
margin-bottom: calc(var(--line-height-computed) / 2);
font-size: calc(var(--font-size-base) * 1.4);
font-weight: 500;
margin-top: calc(var(--line-height-computed) * 1.5);
margin-bottom: calc(var(--line-height-computed) / 2 * 1.5);
padding-bottom: 0.4em;
border-bottom: var(--1px) solid var(--panel-default-border);
}
h2, h3 {
font-weight: 600;
margin-top: calc(var(--line-height-computed) / 2 * 1.2);
h2 {
font-size: calc(var(--font-size-base) * 1.2);
font-weight: 500;
margin-top: calc(var(--line-height-computed) * 1.24);
margin-bottom: calc(var(--line-height-computed) / 2 * 1.2);
}
h3 {
font-size: calc(var(--font-size-base) * 1.1);
font-weight: 500;
margin-top: calc(var(--line-height-computed) / 2 * 1.4);
margin-bottom: calc(var(--line-height-computed) / 2);
}
h4 {
font-weight: 500;
margin-top: calc(var(--line-height-computed) / 2 * 1.3);
margin-bottom: calc(var(--line-height-computed) / 2);
}
h4, h5, h6 {
h5, h6 {
font-weight: normal;
}
h5, h6 {
margin-top: calc(var(--line-height-computed) / 2);
margin-bottom: calc(var(--line-height-computed) / 2);
}
h1 {
font-size: calc(var(--font-size-base) * 1.2);
}
h2 {
font-size: calc(var(--font-size-base) * 1.1);
}
h3, h4, h5, h6 {
h4, h5, h6 {
font-size: var(--font-size-base);
}
+1 -1
View File
@@ -98,7 +98,7 @@ pre > code {
}
hr {
border-top: var(--1px) solid @panel-default-border;
border-top: var(--1px) solid var(--panel-default-border);
}
blockquote {