Изменения
первым элементом, у какового сбрасывается отступ, может оказываться плавающий, в результате отступ первого абзаца увеличен (t:line-height). лучше получать отступы средствами верхнего и нижнего элементов, а не средствами обёртки
.ts-doc-content {
.ts-doc-content {
padding: .714286em 1em;
padding: .214286em 1em;
}
}
.ts-doc-content > *:first-child,
.ts-doc-content > *:first-child,
.ts-doc-footer > *:first-child {
.ts-doc-footer > *:first-child {
margin-top: 0;
margin-top: .5em;
}
}
.ts-doc-content > *:last-child,
.ts-doc-content > *:last-child,
.ts-doc-footer > *:last-child {
.ts-doc-footer > *:last-child {
margin-bottom: 0;
margin-bottom: .5em;
}
}
background-color: #eaf3ff;
background-color: #eaf3ff;
border: 1px solid #a3caff;
border: 1px solid #a3caff;
padding: .714286em 1em;
padding: .214286em 1em;
margin-top: .214286em;
margin-top: .214286em;
font-style: italic;
font-style: italic;
}
}