/*
中共宁德市委党校网站 www.ndswdx.fj.cn 简介类版面控制
1. 表格形式进行简介性内容展示. 表格 id = _micro
2. 关键节点位置前加注圆点
3. 节点间以垂线连接
4. 首尾节点连线缩头截尾

last modified: 2025-07-07
Copyleft: micro
*/
:root {
    --micro-timeline-color: rgb(181, 5, 6);
    --micro-timeline-stop: 25px; /*  = 16px(字体基准) + 16 * 0.5em(padding) + 一点冗余 */
}
.TRS_Editor {
    font-size: 21px;
    padding-left: 3em;
    padding-right: 3em;
    line-height: 1.5em;
}
.TRS_Editor h2 {
    font-size: 21px;
    font-family: 黑体;
    font-weight: bold;
}
.TRS_Editor h3 {
    font-size: 21px;
    font-family: 黑体;
    font-weight: bold;
}
.TRS_Editor p {
    font-family: 仿宋;
    text-indent: 2em;
    padding-bottom: 1em;
}

table._micro {
    border-collapse: separate; /* 没有这一设定，则不会使用linear-gradient */
    border-spacing: 0; /* 使用了上一规则，则必须设置间距为 0 */
    font-family: 仿宋;
    text-indent: 2em;
    padding-bottom: 1em;
}
._micro p {
    margin: 0;
}
._micro ol {
    list-style-position: outside;
    margin: 0 0 0 2em;
}
._micro ol li {
    list-style-type: decimal;
    white-space: normal;
    background-image: none;
}
._micro td {
    vertical-align: top;
    padding: 0.5em;
}
._micro td img {
    width: 15em;
    display: block;
    margin-bottom: 1em;
    margin-top: -0.5em;
}
._micro td:first-child {
    min-width: 3em;
    text-align: right;
    font-weight: bold;
    font-family: 黑体;
}
._micro td:first-child p {
    font-weight: bold;
    font-family: 黑体;
    text-align: 0;
    line-height: 1.1em;
    font-size: 21px;
    padding-bottom: 0;
}
._micro td:nth-child(2) {
    border-left: 5px solid var(--micro-timeline-color);
}
._micro td:nth-child(2)::before {
    content: "●";
    color: var(--micro-timeline-color);
    position: relative;
    vertical-align: top;
    left: -3.1em;
    font-size: 21px;
}
._micro tr:first-child td:nth-child(2) {
    border-left-width: 5px;
    border-image-source: linear-gradient(to bottom, transparent var(--micro-timeline-stop), var(--micro-timeline-color) var(--micro-timeline-stop) 100%);
    border-image-slice: 0 0 0 100%;
}
._micro tr:last-child td:nth-child(2) {
    border-left-width: 5px;
    border-image-source: linear-gradient(to bottom, var(--micro-timeline-color) var(--micro-timeline-stop), transparent var(--micro-timeline-stop) 100%);
    border-image-slice: 0 0 0 100%;
}
